Commit 73212b01 authored by 熊成伟's avatar 熊成伟

debug

parent 9f9eddd0
...@@ -2,12 +2,19 @@ ...@@ -2,12 +2,19 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="a6d092de-b4f8-454d-99f5-4dac3ce112e5" name="Default Changelist" comment=""> <list default="true" id="a6d092de-b4f8-454d-99f5-4dac3ce112e5" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/public/img/tel.png" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/pages/Communicate/index.less" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/components/List/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/List/index.less" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/variable" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/components/StepCard/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/StepCard/index.jsx" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/variable.less" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/components/StepCard/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/StepCard/index.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/TodoCard/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/TodoCard/index.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/TodoCard/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/TodoCard/index.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/TopSearch/index.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/TopSearch/index.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/TopSearch/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/TopSearch/index.less" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/components/TopSearch/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/TopSearch/index.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/EventProcessing/index.less" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/EventProcessing/index.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/pages/Work/Work.jsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/pages/Work/Work.jsx" afterDir="false" />
</list> </list>
<ignored path="$PROJECT_DIR$/.tmp/" /> <ignored path="$PROJECT_DIR$/.tmp/" />
<ignored path="$PROJECT_DIR$/temp/" /> <ignored path="$PROJECT_DIR$/temp/" />
...@@ -23,8 +30,8 @@ ...@@ -23,8 +30,8 @@
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/components/WorkCard/index.jsx"> <entry file="file://$PROJECT_DIR$/src/components/WorkCard/index.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150"> <state relative-caret-position="100">
<caret line="8" selection-start-line="8" selection-end-line="9" /> <caret line="4" column="31" selection-start-line="4" selection-start-column="31" selection-end-line="4" selection-end-column="31" />
<folding> <folding>
<element signature="e#0#39#0" expanded="true" /> <element signature="e#0#39#0" expanded="true" />
</folding> </folding>
...@@ -32,56 +39,47 @@ ...@@ -32,56 +39,47 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"> <entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="375"> <state relative-caret-position="125">
<caret line="21" selection-start-line="21" selection-end-line="21" selection-end-column="7" /> <caret line="5" selection-start-line="5" selection-end-line="6" />
<folding> <folding>
<element signature="e#0#39#0" expanded="true" /> <element signature="e#0#26#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/components/StepCard/index.less"> <entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="92">
<caret line="69" column="44" selection-start-line="69" selection-start-column="44" selection-end-line="69" selection-end-column="44" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/components/StepCard/index.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150"> <state relative-caret-position="275">
<caret line="15" column="68" selection-start-line="15" selection-start-column="48" selection-end-line="15" selection-end-column="68" /> <caret line="103" column="83" selection-start-line="103" selection-start-column="71" selection-end-line="103" selection-end-column="83" />
<folding> <folding>
<element signature="e#0#26#0" expanded="true" /> <element signature="e#0#39#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/pages/Work/Work.jsx"> <entry file="file://$PROJECT_DIR$/src/components/TopSearch/index.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-250"> <state relative-caret-position="309">
<caret line="29" column="5" lean-forward="true" selection-start-line="29" selection-start-column="5" selection-end-line="29" selection-end-column="5" /> <caret line="14" column="15" lean-forward="true" selection-start-line="14" selection-start-column="15" selection-end-line="14" selection-end-column="15" />
<folding> <folding>
<element signature="e#0#39#0" expanded="true" /> <element signature="e#1#40#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/components/WorkCard/index.less"> <entry file="file://$PROJECT_DIR$/src/components/TopSearch/index.less">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="25"> <state relative-caret-position="325">
<caret line="46" column="35" selection-start-line="46" selection-start-column="35" selection-end-line="46" selection-end-column="35" /> <caret line="13" column="22" lean-forward="true" selection-start-line="13" selection-start-column="22" selection-end-line="13" selection-end-column="22" />
</state> </state>
</provider> </provider>
</entry> </entry>
...@@ -91,19 +89,13 @@ ...@@ -91,19 +89,13 @@
<component name="FileTemplateManagerImpl"> <component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES"> <option name="RECENT_TEMPLATES">
<list> <list>
<option value="React jsx" />
<option value="Less File" /> <option value="Less File" />
<option value="React jsx" />
</list> </list>
</option> </option>
</component> </component>
<component name="FindInProjectRecents"> <component name="FindInProjectRecents">
<findStrings> <findStrings>
<find>create-react-app</find>
<find>siz</find>
<find>favicon</find>
<find>card-box</find>
<find>autoprefixer</find>
<find>override</find>
<find>px</find> <find>px</find>
<find>fileLoaderMatcher</find> <find>fileLoaderMatcher</find>
<find>props</find> <find>props</find>
...@@ -123,7 +115,17 @@ ...@@ -123,7 +115,17 @@
<find>contract-operate_recodeMain</find> <find>contract-operate_recodeMain</find>
<find>auto-step-content-flow</find> <find>auto-step-content-flow</find>
<find>auto-step-content-head</find> <find>auto-step-content-head</find>
<find>auto-list-con</find>
<find>componentWillReceiveProps</find>
<find>step-content-wrapper</find> <find>step-content-wrapper</find>
<find>option-icon</find>
<find>pos</find>
<find>footButton</find>
<find>option</find>
<find>option-fast</find>
<find>&lt;TopSearch</find>
<find>option-text</find>
<find>process-edit</find>
</findStrings> </findStrings>
<replaceStrings> <replaceStrings>
<replace>this.props</replace> <replace>this.props</replace>
...@@ -145,43 +147,45 @@ ...@@ -145,43 +147,45 @@
<option value="$PROJECT_DIR$/src/Pages/Notice/Notice.jsx" /> <option value="$PROJECT_DIR$/src/Pages/Notice/Notice.jsx" />
<option value="$PROJECT_DIR$/src/components/TopTabs/index.less" /> <option value="$PROJECT_DIR$/src/components/TopTabs/index.less" />
<option value="$PROJECT_DIR$/public/index.html" /> <option value="$PROJECT_DIR$/public/index.html" />
<option value="$PROJECT_DIR$/src/components/TopSearch/index.less" />
<option value="$PROJECT_DIR$/src/index.js" /> <option value="$PROJECT_DIR$/src/index.js" />
<option value="$PROJECT_DIR$/config-overrides.js" /> <option value="$PROJECT_DIR$/config-overrides.js" />
<option value="$PROJECT_DIR$/src/components/TopNotice/index.less" /> <option value="$PROJECT_DIR$/src/components/TopNotice/index.less" />
<option value="$PROJECT_DIR$/src/components/TopNotice/index.jsx" /> <option value="$PROJECT_DIR$/src/components/TopNotice/index.jsx" />
<option value="$PROJECT_DIR$/src/components/ProcessTabs/index.jsx" /> <option value="$PROJECT_DIR$/src/components/ProcessTabs/index.jsx" />
<option value="$PROJECT_DIR$/src/components/TopSearch/index.jsx" />
<option value="$PROJECT_DIR$/src/layout/BlankLayout.jsx" /> <option value="$PROJECT_DIR$/src/layout/BlankLayout.jsx" />
<option value="$PROJECT_DIR$/src/components/List/index.jsx" /> <option value="$PROJECT_DIR$/src/components/List/index.jsx" />
<option value="$PROJECT_DIR$/src/Pages/EventProcessing/Adjunct.jsx" /> <option value="$PROJECT_DIR$/src/Pages/EventProcessing/Adjunct.jsx" />
<option value="$PROJECT_DIR$/src/components/List/index.less" />
<option value="$PROJECT_DIR$/src/components/TopTabs/index.jsx" /> <option value="$PROJECT_DIR$/src/components/TopTabs/index.jsx" />
<option value="$PROJECT_DIR$/src/Pages/EventProcessing/Option.jsx" /> <option value="$PROJECT_DIR$/src/Pages/EventProcessing/Option.jsx" />
<option value="$PROJECT_DIR$/src/Pages/EventProcessing/Flow.jsx" /> <option value="$PROJECT_DIR$/src/Pages/EventProcessing/Flow.jsx" />
<option value="$PROJECT_DIR$/src/Pages/Backlog/Backlog.jsx" /> <option value="$PROJECT_DIR$/src/Pages/Backlog/Backlog.jsx" />
<option value="$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx" /> <option value="$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx" />
<option value="$PROJECT_DIR$/src/components/WorkCard/index.less" /> <option value="$PROJECT_DIR$/src/components/WorkCard/index.less" />
<option value="$PROJECT_DIR$/src/components/TodoCard/index.less" />
<option value="$PROJECT_DIR$/src/components/TodoCard/index.jsx" />
<option value="$PROJECT_DIR$/src/layout/index.less" /> <option value="$PROJECT_DIR$/src/layout/index.less" />
<option value="$PROJECT_DIR$/src/layout/Footer.jsx" /> <option value="$PROJECT_DIR$/src/layout/Footer.jsx" />
<option value="$PROJECT_DIR$/src/components/WorkCard/index.jsx" />
<option value="$PROJECT_DIR$/src/Pages/Work/Work.jsx" /> <option value="$PROJECT_DIR$/src/Pages/Work/Work.jsx" />
<option value="$PROJECT_DIR$/src/Pages/EventProcessing/Process.jsx" /> <option value="$PROJECT_DIR$/src/Pages/EventProcessing/Process.jsx" />
<option value="$PROJECT_DIR$/src/Pages/EventProcessing/index.less" /> <option value="$PROJECT_DIR$/src/Pages/EventProcessing/index.less" />
<option value="$PROJECT_DIR$/src/Pages/EventProcessing/Basic.jsx" /> <option value="$PROJECT_DIR$/src/Pages/EventProcessing/Basic.jsx" />
<option value="$PROJECT_DIR$/src/Pages/Communicate/Communicate.jsx" /> <option value="$PROJECT_DIR$/src/Pages/Communicate/Communicate.jsx" />
<option value="$PROJECT_DIR$/src/router.js" /> <option value="$PROJECT_DIR$/src/router.js" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx" />
<option value="$PROJECT_DIR$/src/index.css" /> <option value="$PROJECT_DIR$/src/index.css" />
<option value="$PROJECT_DIR$/src/pages/Notice/Notice.jsx" /> <option value="$PROJECT_DIR$/src/pages/Notice/Notice.jsx" />
<option value="$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx" />
<option value="$PROJECT_DIR$/src/layout/CommonLayout.jsx" /> <option value="$PROJECT_DIR$/src/layout/CommonLayout.jsx" />
<option value="$PROJECT_DIR$/src/components/StepCard/index.jsx" /> <option value="$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx" />
<option value="$PROJECT_DIR$/src/components/List/index.less" />
<option value="$PROJECT_DIR$/src/components/StepCard/index.less" /> <option value="$PROJECT_DIR$/src/components/StepCard/index.less" />
<option value="$PROJECT_DIR$/src/components/StepCard/index.jsx" />
<option value="$PROJECT_DIR$/src/components/WorkCard/index.jsx" />
<option value="$PROJECT_DIR$/src/pages/Work/Work.jsx" /> <option value="$PROJECT_DIR$/src/pages/Work/Work.jsx" />
<option value="$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx" /> <option value="$PROJECT_DIR$/src/components/TodoCard/index.less" />
<option value="$PROJECT_DIR$/src/components/TodoCard/index.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/index.less" />
<option value="$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx" />
<option value="$PROJECT_DIR$/src/components/TopSearch/index.less" />
<option value="$PROJECT_DIR$/src/components/TopSearch/index.jsx" />
<option value="$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx" />
</list> </list>
</option> </option>
</component> </component>
...@@ -206,23 +210,41 @@ ...@@ -206,23 +210,41 @@
<item name="create-react-app" type="b2602c69:ProjectViewProjectNode" /> <item name="create-react-app" type="b2602c69:ProjectViewProjectNode" />
<item name="create-react-app" type="462c0819:PsiDirectoryNode" /> <item name="create-react-app" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path>
<item name="create-react-app" type="b2602c69:ProjectViewProjectNode" />
<item name="create-react-app" type="462c0819:PsiDirectoryNode" />
<item name="public" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="create-react-app" type="b2602c69:ProjectViewProjectNode" />
<item name="create-react-app" type="462c0819:PsiDirectoryNode" />
<item name="public" type="462c0819:PsiDirectoryNode" />
<item name="img" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="create-react-app" type="b2602c69:ProjectViewProjectNode" />
<item name="create-react-app" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
</path>
<path> <path>
<item name="create-react-app" type="b2602c69:ProjectViewProjectNode" /> <item name="create-react-app" type="b2602c69:ProjectViewProjectNode" />
<item name="create-react-app" type="462c0819:PsiDirectoryNode" /> <item name="create-react-app" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" /> <item name="src" type="462c0819:PsiDirectoryNode" />
<item name="components" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path> <path>
<item name="create-react-app" type="b2602c69:ProjectViewProjectNode" /> <item name="create-react-app" type="b2602c69:ProjectViewProjectNode" />
<item name="create-react-app" type="462c0819:PsiDirectoryNode" /> <item name="create-react-app" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" /> <item name="src" type="462c0819:PsiDirectoryNode" />
<item name="components" type="462c0819:PsiDirectoryNode" /> <item name="components" type="462c0819:PsiDirectoryNode" />
<item name="TopSearch" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path> <path>
<item name="create-react-app" type="b2602c69:ProjectViewProjectNode" /> <item name="create-react-app" type="b2602c69:ProjectViewProjectNode" />
<item name="create-react-app" type="462c0819:PsiDirectoryNode" /> <item name="create-react-app" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" /> <item name="src" type="462c0819:PsiDirectoryNode" />
<item name="components" type="462c0819:PsiDirectoryNode" /> <item name="components" type="462c0819:PsiDirectoryNode" />
<item name="WorkCard" type="462c0819:PsiDirectoryNode" /> <item name="TopTabs" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path> <path>
<item name="create-react-app" type="b2602c69:ProjectViewProjectNode" /> <item name="create-react-app" type="b2602c69:ProjectViewProjectNode" />
...@@ -235,14 +257,14 @@ ...@@ -235,14 +257,14 @@
<item name="create-react-app" type="462c0819:PsiDirectoryNode" /> <item name="create-react-app" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" /> <item name="src" type="462c0819:PsiDirectoryNode" />
<item name="pages" type="462c0819:PsiDirectoryNode" /> <item name="pages" type="462c0819:PsiDirectoryNode" />
<item name="Communicate" type="462c0819:PsiDirectoryNode" /> <item name="Backlog" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path> <path>
<item name="create-react-app" type="b2602c69:ProjectViewProjectNode" /> <item name="create-react-app" type="b2602c69:ProjectViewProjectNode" />
<item name="create-react-app" type="462c0819:PsiDirectoryNode" /> <item name="create-react-app" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" /> <item name="src" type="462c0819:PsiDirectoryNode" />
<item name="pages" type="462c0819:PsiDirectoryNode" /> <item name="pages" type="462c0819:PsiDirectoryNode" />
<item name="Work" type="462c0819:PsiDirectoryNode" /> <item name="EventProcessing" type="462c0819:PsiDirectoryNode" />
</path> </path>
</expand> </expand>
<select /> <select />
...@@ -261,9 +283,12 @@ ...@@ -261,9 +283,12 @@
<property name="settings.editor.selected.configurable" value="editor.preferences.import" /> <property name="settings.editor.selected.configurable" value="editor.preferences.import" />
</component> </component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS">
<recent name="F:\即时通讯\create-react-app\src\pages\WorkDetail" />
</key>
<key name="CopyFile.RECENT_KEYS"> <key name="CopyFile.RECENT_KEYS">
<recent name="F:\即时通讯\create-react-app\public\img\test" />
<recent name="F:\即时通讯\create-react-app\public\img" /> <recent name="F:\即时通讯\create-react-app\public\img" />
<recent name="F:\即时通讯\create-react-app\public\img\test" />
<recent name="F:\即时通讯\create-react-app\src\components\TopTabs" /> <recent name="F:\即时通讯\create-react-app\src\components\TopTabs" />
<recent name="F:\即时通讯\create-react-app\src\components\TopNotice" /> <recent name="F:\即时通讯\create-react-app\src\components\TopNotice" />
<recent name="F:\即时通讯\create-react-app\src" /> <recent name="F:\即时通讯\create-react-app\src" />
...@@ -299,7 +324,7 @@ ...@@ -299,7 +324,7 @@
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="78721000" /> <option name="totallyTimeSpent" value="88921000" />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="-8" y="-8" width="1382" height="784" extended-state="6" /> <frame x="-8" y="-8" width="1382" height="784" extended-state="6" />
...@@ -330,23 +355,6 @@ ...@@ -330,23 +355,6 @@
<option name="version" value="1" /> <option name="version" value="1" />
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/public/favicon.ico">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/src/components/TopTabs/index.less">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="200">
<caret line="8" selection-start-line="8" selection-end-line="10" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="399">
<caret line="47" column="19" lean-forward="true" selection-start-line="47" selection-start-column="19" selection-end-line="47" selection-end-column="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/build/static/css/main.653da357.css" /> <entry file="file://$PROJECT_DIR$/build/static/css/main.653da357.css" />
<entry file="file://$PROJECT_DIR$/src/index.js"> <entry file="file://$PROJECT_DIR$/src/index.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
...@@ -407,16 +415,6 @@ ...@@ -407,16 +415,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/components/TopTabs/index.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="375">
<caret line="15" column="27" lean-forward="true" selection-start-line="15" selection-start-column="27" selection-end-line="15" selection-end-column="27" />
<folding>
<element signature="e#0#26#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/components/List/index.jsx"> <entry file="file://$PROJECT_DIR$/src/components/List/index.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175"> <state relative-caret-position="175">
...@@ -427,40 +425,6 @@ ...@@ -427,40 +425,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/components/TopSearch/index.less">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="375">
<caret line="15" column="22" lean-forward="true" selection-start-line="11" selection-start-column="1" selection-end-line="15" selection-end-column="22" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/components/TopSearch/index.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="225">
<caret line="9" column="5" selection-start-line="9" selection-start-column="5" selection-end-line="9" selection-end-column="5" />
<folding>
<element signature="e#0#26#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/config-overrides.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="100">
<caret line="4" column="31" selection-start-line="4" selection-start-column="24" selection-end-line="4" selection-end-column="31" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="50">
<caret line="2" selection-start-line="2" selection-end-line="2" />
<folding>
<element signature="e#0#26#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public/img/footer-communicate-s.png"> <entry file="file://$PROJECT_DIR$/public/img/footer-communicate-s.png">
<provider selected="true" editor-type-id="images" /> <provider selected="true" editor-type-id="images" />
</entry> </entry>
...@@ -497,189 +461,246 @@ ...@@ -497,189 +461,246 @@
<entry file="file://$PROJECT_DIR$/public/img/common-a.png"> <entry file="file://$PROJECT_DIR$/public/img/common-a.png">
<provider selected="true" editor-type-id="images" /> <provider selected="true" editor-type-id="images" />
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/components/TodoCard/index.less"> <entry file="file://$PROJECT_DIR$/src/layout/index.less">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="350"> <state relative-caret-position="175">
<caret line="26" column="12" selection-start-line="26" selection-start-column="12" selection-end-line="26" selection-end-column="12" /> <caret line="7" column="17" selection-start-line="7" selection-start-column="17" selection-end-line="7" selection-end-column="17" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/layout/index.less"> <entry file="file://$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175"> <state relative-caret-position="1050">
<caret line="7" column="17" selection-start-line="7" selection-start-column="17" selection-end-line="7" selection-end-column="17" /> <caret line="43" column="47" selection-start-line="43" selection-start-column="43" selection-end-line="43" selection-end-column="47" />
<folding>
<element signature="e#0#39#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx"> <entry file="file://$PROJECT_DIR$/src/layout/Footer.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="250"> <state relative-caret-position="650">
<caret line="11" column="48" selection-start-line="11" selection-start-column="37" selection-end-line="11" selection-end-column="48" /> <caret line="28" column="36" selection-start-line="28" selection-start-column="36" selection-end-line="28" selection-end-column="36" />
<folding>
<element signature="e#0#39#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Basic.jsx">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="300">
<caret line="12" column="22" selection-start-line="12" selection-start-column="22" selection-end-line="12" selection-end-column="22" />
<folding> <folding>
<element signature="e#0#26#0" expanded="true" /> <element signature="e#0#26#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/index.less"> <entry file="file://$PROJECT_DIR$/src/index.css">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1650"> <state relative-caret-position="500">
<caret line="66" column="25" selection-start-line="66" selection-start-column="25" selection-end-line="66" selection-end-column="25" /> <caret line="20" lean-forward="true" selection-start-line="20" selection-end-line="20" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/components/TodoCard/index.jsx"> <entry file="file://$PROJECT_DIR$/src/layout/CommonLayout.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="925"> <state relative-caret-position="250">
<caret line="38" column="39" selection-start-line="38" selection-start-column="39" selection-end-line="38" selection-end-column="39" /> <caret line="10" column="36" selection-start-line="10" selection-start-column="36" selection-end-line="10" selection-end-column="36" />
<folding> <folding>
<element signature="e#0#26#0" expanded="true" /> <element signature="e#0#26#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/components/WorkCard/CardItem.jsx"> <entry file="file://$PROJECT_DIR$/src/layout/BlankLayout.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1050"> <state relative-caret-position="175">
<caret line="43" column="47" selection-start-line="43" selection-start-column="43" selection-end-line="43" selection-end-column="47" /> <caret line="7" column="27" selection-start-line="7" selection-start-column="19" selection-end-line="7" selection-end-column="27" />
<folding> <folding>
<element signature="e#0#39#0" expanded="true" /> <element signature="e#0#26#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/layout/Footer.jsx"> <entry file="file://$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="650"> <state relative-caret-position="550">
<caret line="28" column="36" selection-start-line="28" selection-start-column="36" selection-end-line="28" selection-end-column="36" /> <caret line="22" column="26" selection-start-line="22" selection-start-column="26" selection-end-line="22" selection-end-column="26" />
<folding> <folding>
<element signature="e#0#39#0" expanded="true" /> <element signature="e#0#39#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Basic.jsx"> <entry file="file://$PROJECT_DIR$/src/components/WorkCard/index.less">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="300"> <state relative-caret-position="25">
<caret line="12" column="22" selection-start-line="12" selection-start-column="22" selection-end-line="12" selection-end-column="22" /> <caret line="46" column="35" selection-start-line="46" selection-start-column="35" selection-end-line="46" selection-end-column="35" />
<folding> </state>
<element signature="e#0#26#0" expanded="true" /> </provider>
</folding> </entry>
<entry file="file://$PROJECT_DIR$/src/components/StepCard/index.less">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="217">
<caret line="89" column="21" lean-forward="true" selection-start-line="89" selection-start-column="21" selection-end-line="89" selection-end-column="21" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/config-overrides.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="25">
<caret line="1" selection-start-line="1" selection-end-line="2" selection-end-column="28" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/public/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1175">
<caret line="47" column="19" selection-start-line="47" selection-start-column="19" selection-end-line="47" selection-end-column="19" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/package.json"> <entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="100"> <state relative-caret-position="-102">
<caret line="5" column="28" lean-forward="true" selection-start-line="5" selection-start-column="28" selection-end-line="5" selection-end-column="28" /> <caret line="5" column="28" lean-forward="true" selection-start-line="5" selection-start-column="28" selection-end-line="5" selection-end-column="28" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/index.css"> <entry file="file://$PROJECT_DIR$/src/pages/Notice/Notice.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="500"> <state relative-caret-position="400">
<caret line="20" lean-forward="true" selection-start-line="20" selection-end-line="20" /> <caret line="16" column="22" lean-forward="true" selection-start-line="16" selection-start-column="22" selection-end-line="16" selection-end-column="22" />
<folding>
<element signature="e#0#26#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx"> <entry file="file://$PROJECT_DIR$/src/pages/WorkDetail/WorkDetail.jsx">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/src/components/TodoCard/index.less">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="420">
<caret line="54" column="15" selection-start-line="54" selection-start-column="1" selection-end-line="54" selection-end-column="15" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/components/TodoCard/index.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="498"> <state relative-caret-position="372">
<caret line="21" column="13" selection-start-line="21" selection-start-column="13" selection-end-line="21" selection-end-column="13" /> <caret line="33" column="57" selection-start-line="33" selection-start-column="57" selection-end-line="33" selection-end-column="57" />
<folding> <folding>
<element signature="e#0#26#0" expanded="true" /> <element signature="e#0#26#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/Notice/Notice.jsx"> <entry file="file://$PROJECT_DIR$/src/pages/Work/Work.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175"> <state relative-caret-position="325">
<caret line="7" column="18" selection-start-line="7" selection-start-column="18" selection-end-line="7" selection-end-column="18" /> <caret line="37" column="29" selection-start-line="37" selection-start-column="28" selection-end-line="37" selection-end-column="29" />
<folding> <folding>
<element signature="e#0#26#0" expanded="true" /> <element signature="e#0#39#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/layout/CommonLayout.jsx"> <entry file="file://$PROJECT_DIR$/src/components/StepCard/index.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="250"> <state relative-caret-position="250">
<caret line="10" column="36" selection-start-line="10" selection-start-column="36" selection-end-line="10" selection-end-column="36" /> <caret line="10" column="65" selection-start-line="10" selection-start-column="65" selection-end-line="10" selection-end-column="65" />
<folding> <folding>
<element signature="e#0#26#0" expanded="true" /> <element signature="e#0#26#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx"> <entry file="file://$PROJECT_DIR$/src/components/WorkCard/index.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="122"> <state relative-caret-position="100">
<caret line="60" column="59" selection-start-line="60" selection-start-column="57" selection-end-line="60" selection-end-column="59" /> <caret line="4" column="31" selection-start-line="4" selection-start-column="31" selection-end-line="4" selection-end-column="31" />
<folding> <folding>
<element signature="e#0#39#0" expanded="true" /> <element signature="e#0#39#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/layout/BlankLayout.jsx"> <entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Flow.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175"> <state relative-caret-position="50">
<caret line="7" column="27" selection-start-line="7" selection-start-column="19" selection-end-line="7" selection-end-column="27" /> <caret line="2" selection-start-line="2" selection-end-line="2" />
<folding> <folding>
<element signature="e#0#26#0" expanded="true" /> <element signature="e#0#26#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/components/StepCard/index.jsx"> <entry file="file://$PROJECT_DIR$/public/img/process-edit.png">
<provider selected="true" editor-type-id="images" />
</entry>
<entry file="file://$PROJECT_DIR$/src/components/TopTabs/index.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150"> <state relative-caret-position="325">
<caret line="15" column="68" selection-start-line="15" selection-start-column="48" selection-end-line="15" selection-end-column="68" /> <caret line="15" column="27" lean-forward="true" selection-start-line="15" selection-start-column="27" selection-end-line="15" selection-end-column="27" />
<folding> <folding>
<element signature="e#0#26#0" expanded="true" /> <element signature="e#0#26#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/components/StepCard/index.less"> <entry file="file://$PROJECT_DIR$/src/pages/Backlog/Backlog.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="92"> <state relative-caret-position="550">
<caret line="69" column="44" selection-start-line="69" selection-start-column="44" selection-end-line="69" selection-end-column="44" /> <caret line="22" lean-forward="true" selection-start-line="22" selection-end-line="22" />
<folding>
<element signature="e#0#26#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/Work/Work.jsx"> <entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/index.less">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="445">
<caret line="26" column="37" selection-start-line="26" selection-start-column="37" selection-end-line="26" selection-end-column="37" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Option.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-250"> <state relative-caret-position="125">
<caret line="29" column="5" lean-forward="true" selection-start-line="29" selection-start-column="5" selection-end-line="29" selection-end-column="5" /> <caret line="5" selection-start-line="5" selection-end-line="6" />
<folding> <folding>
<element signature="e#0#39#0" expanded="true" /> <element signature="e#0#26#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/components/WorkCard/index.less"> <entry file="file://$PROJECT_DIR$/src/components/TopSearch/index.less">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="25"> <state relative-caret-position="325">
<caret line="46" column="35" selection-start-line="46" selection-start-column="35" selection-end-line="46" selection-end-column="35" /> <caret line="13" column="22" lean-forward="true" selection-start-line="13" selection-start-column="22" selection-end-line="13" selection-end-column="22" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/components/WorkCard/index.jsx"> <entry file="file://$PROJECT_DIR$/src/components/TopSearch/index.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150"> <state relative-caret-position="309">
<caret line="8" selection-start-line="8" selection-end-line="9" /> <caret line="14" column="15" lean-forward="true" selection-start-line="14" selection-start-column="15" selection-end-line="14" selection-end-column="15" />
<folding> <folding>
<element signature="e#0#39#0" expanded="true" /> <element signature="e#1#40#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/pages/Communicate/Communicate.jsx"> <entry file="file://$PROJECT_DIR$/src/pages/EventProcessing/Process.jsx">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="375"> <state relative-caret-position="275">
<caret line="21" selection-start-line="21" selection-end-line="21" selection-end-column="7" /> <caret line="103" column="83" selection-start-line="103" selection-start-column="71" selection-end-line="103" selection-end-column="83" />
<folding> <folding>
<element signature="e#0#39#0" expanded="true" /> <element signature="e#0#39#0" expanded="true" />
</folding> </folding>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
min-width: 100px; min-width: 100px;
} }
.auto-list-content{ .auto-list-content{
padding: 10px 20px; padding: 10px 18px;
font-size: 14px; font-size: 14px;
line-height: 22px; line-height: 22px;
} }
...@@ -8,7 +8,7 @@ const Index = () => { ...@@ -8,7 +8,7 @@ const Index = () => {
<ul className="auto-step-card"> <ul className="auto-step-card">
{ {
data.map((item, index) => ( data.map((item, index) => (
<li className="auto-step-item"> <li className="auto-step-item" key={index}>
<div className={`auto-step-item-title ${item.s ? 'step-current' : 'step-success'}`}> <div className={`auto-step-item-title ${item.s ? 'step-current' : 'step-success'}`}>
<div className="auto-step-item-title-name">发起申请(拟稿)</div> <div className="auto-step-item-title-name">发起申请(拟稿)</div>
</div> </div>
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
margin-top: 15px; margin-top: 15px;
line-height: 41px; line-height: 41px;
border-radius: 7px; border-radius: 7px;
background: rgba(0, 0, 0, 0.12); background: rgba(0, 0, 0, 0.05);
padding: 0 15px; padding: 0 15px;
} }
......
...@@ -30,8 +30,8 @@ const Index = (props) => { ...@@ -30,8 +30,8 @@ const Index = (props) => {
</div> </div>
<div className="todo-footer"> <div className="todo-footer">
<div> <div>
<p>更新时间:2020-05-26 17:51</p> <p className="pos-aline"><img alt="" src="/img/time.png" className="footer-mes-img"/>更新时间:2020-05-26 17:51</p>
<p style={{marginTop: 15}}>停滞时间:24h</p> <p className="pos-aline footer-mes-sec"><img alt="" src="/img/time-2.png" className="footer-mes-img"/>停滞时间:24h</p>
</div> </div>
<img <img
alt="" alt=""
......
...@@ -47,3 +47,11 @@ ...@@ -47,3 +47,11 @@
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.footer-mes-img{
width: 12px;
height: 12px;
margin-right: 5px;
}
.footer-mes-sec{
margin-top: 15px;
}
import React from 'react'; import React, {Component} from 'react';
import {Icon} from 'antd-mobile' import {Icon} from 'antd-mobile'
import './index.less' import './index.less'
class Index extends Component {
const Index = (props) => { state={
const topSearch = () => { status: false
};
topSearch = () => {
const input = document.getElementsByClassName("top-single-search");
this.props.onSearch(input[0].value);
let inputValue = input[0].value
this.setState({status: (inputValue != null && inputValue != undefined && inputValue != '')})
};
clear = () => {
this.setState({status: false})
const input = document.getElementsByClassName("top-single-search"); const input = document.getElementsByClassName("top-single-search");
props.onSearch(input[0].value) input[0].value = null;
input[0].focus();
}
render() {
const {status} = this.state
return (
<div className="search-box">
<Icon type="search" size="xs" className="search-svg"/>
<input onChange={this.topSearch} className="top-single-search" placeholder="请输入关键字搜索" />
{status && (
<Icon type="cross-circle-o" color="rgba(35, 35, 35, 0.3)" size="xxs" className="clear-svg" onClick={this.clear}/>
)}
</div>
);
} }
return ( }
<div className="search-box">
<Icon type="search" size="xs" className="search-svg"/>
<input onChange={topSearch} className="top-single-search" placeholder="请输入关键字搜索" />
</div>
);
};
export default Index; export default Index;
...@@ -8,10 +8,15 @@ ...@@ -8,10 +8,15 @@
position: absolute; position: absolute;
padding-left: 10px; padding-left: 10px;
} }
.clear-svg{
position: absolute;
//float: right;
padding-left: 320px;
}
.top-single-search{ .top-single-search{
width: 100%; width: 100%;
height: 100%; height: 100%;
border:0 solid rgba(38, 104, 255, 0.2); border:0 solid rgba(38, 104, 255, 0.2);
border-radius:6px; border-radius:6px;
padding: 0 0 0 40px; padding: 0 40px;
} }
\ No newline at end of file
...@@ -10,7 +10,7 @@ const Backlog = (props) => { ...@@ -10,7 +10,7 @@ const Backlog = (props) => {
return ( return (
<WingBlank> <WingBlank>
<WhiteSpace/> <WhiteSpace/>
<TopSearch/> <TopSearch onSearch={val => console.log(val)}/>
{ {
[{},{},{},{},{},{}].map((item, index) => ( [{},{},{},{},{},{}].map((item, index) => (
<div key={index}> <div key={index}>
......
import React from 'react'; import React from 'react';
import './index.less' import './index.less'
const Option = () => { const Option = (props) => {
const topSearch = () => {
const input = document.getElementsByClassName("option-text");
props.onChange(input[0].value)
}
return ( return (
<div id="event-option"> <div id="event-option">
<div className="option-card"> <div className="option-card">
<div className="option-title"> <div className="option-title">
<div>流转意见:</div> <div>流转意见:</div>
<a className="option-fast">常用阅办意见</a> <a className="option-fast">常用阅办意见<img alt="" src="/img/option-icon.png" className="option-icon"/></a>
</div> </div>
<textarea className="option-text"/> <textarea className="option-text" onChange={topSearch}/>
</div> </div>
</div> </div>
); );
......
...@@ -7,7 +7,7 @@ import Adjunct from './Adjunct' ...@@ -7,7 +7,7 @@ import Adjunct from './Adjunct'
import Flow from './Flow'; import Flow from './Flow';
import Option from './Option'; import Option from './Option';
//Ipone antd-mobile ActionSheet
const isIPhone = new RegExp('\\biPhone\\b|\\biPod\\b', 'i').test(window.navigator.userAgent); const isIPhone = new RegExp('\\biPhone\\b|\\biPod\\b', 'i').test(window.navigator.userAgent);
let wrapProps; let wrapProps;
if (isIPhone) { if (isIPhone) {
...@@ -22,6 +22,8 @@ class Process extends Component { ...@@ -22,6 +22,8 @@ class Process extends Component {
this.optionBlur = this.optionBlur.bind(this) this.optionBlur = this.optionBlur.bind(this)
// this.handleScroll = this.handleScroll.bind(this) // this.handleScroll = this.handleScroll.bind(this)
this.state = { this.state = {
disabled: true,
footStatus: false,
footButton: '处理' footButton: '处理'
} }
}; };
...@@ -31,7 +33,7 @@ class Process extends Component { ...@@ -31,7 +33,7 @@ class Process extends Component {
// window.addEventListener('scroll', this.handleScroll, true); // window.addEventListener('scroll', this.handleScroll, true);
} }
optionBlur = () => { optionBlur = () => {
this.setState({footButton: '确认发送'}) this.setState({footButton: '确认发送', footStatus: true})
} }
componentWillUnmount() { componentWillUnmount() {
...@@ -56,6 +58,12 @@ class Process extends Component { ...@@ -56,6 +58,12 @@ class Process extends Component {
const top = document.getElementById(`event-${name}`).offsetTop; const top = document.getElementById(`event-${name}`).offsetTop;
document.getElementById("event").scrollTo(0,top - 9) document.getElementById("event").scrollTo(0,top - 9)
}; };
textClick = () => {
const top = document.getElementById(`event-option`).offsetTop;
document.getElementById("event").scrollTo(0,top - 9)
document.getElementsByClassName("option-text")[0].focus();
this.optionBlur()
}
showActionSheet = () => { showActionSheet = () => {
const BUTTONS = ['送部门领导审核', '送办公室分管主任审批', '办结', '取消']; const BUTTONS = ['送部门领导审核', '送办公室分管主任审批', '办结', '取消'];
...@@ -68,9 +76,14 @@ class Process extends Component { ...@@ -68,9 +76,14 @@ class Process extends Component {
(buttonIndex) => { (buttonIndex) => {
console.log(buttonIndex) console.log(buttonIndex)
}); });
};
optionChange = val => {
this.setState({disabled: !(val != null && val != undefined && val != '')})
} }
render() { render() {
console.log(this.props.match.params);
const {footButton, disabled, footStatus} = this.state
return ( return (
<div> <div>
<TopTabs onClick={this.tabClick}/> <TopTabs onClick={this.tabClick}/>
...@@ -83,11 +96,14 @@ class Process extends Component { ...@@ -83,11 +96,14 @@ class Process extends Component {
<WhiteSpace/> <WhiteSpace/>
<Flow/> <Flow/>
<WhiteSpace/> <WhiteSpace/>
<Option/> <Option onChange={this.optionChange}/>
</WingBlank> </WingBlank>
</div> </div>
<div className="event-footer"> <div className="event-footer">
<div className="event-footer-button" onClick={this.showActionSheet}> <div className={`event-footer-button ${(footStatus && disabled) ? 'button-disabled' : '' }`} onClick={footStatus && !disabled ? this.showActionSheet: this.textClick}>
{!footStatus && (
<img alt="" src="/img/process-edit.png" className="process-edit"/>
)}
{this.state.footButton} {this.state.footButton}
</div> </div>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
top: 44px; top: 44px;
left: 0;right: 0; bottom: 50px; left: 0;right: 0; bottom: 50px;
overflow: auto; overflow: auto;
padding-bottom: 300px; padding-bottom: 340px;
} }
.event-footer{ .event-footer{
height: 45px; height: 45px;
...@@ -23,6 +23,9 @@ ...@@ -23,6 +23,9 @@
.event-footer-button:active{ .event-footer-button:active{
background: rgba(54, 147, 239, 0.8); background: rgba(54, 147, 239, 0.8);
} }
.event-footer-button.button-disabled{
background: rgba(152, 152, 152, 1);
}
.option-card{ .option-card{
display: flex; display: flex;
justify-content: center; justify-content: center;
...@@ -37,6 +40,8 @@ ...@@ -37,6 +40,8 @@
justify-content: space-between; justify-content: space-between;
} }
.option-fast{ .option-fast{
display: flex;
align-items: center;
color: rgba(239, 154, 54, 1); color: rgba(239, 154, 54, 1);
} }
.option-text{ .option-text{
...@@ -78,3 +83,14 @@ ...@@ -78,3 +83,14 @@
height: 30px; height: 30px;
margin-right: 3px; margin-right: 3px;
} }
.option-icon{
margin-left: 10px;
width: 16px;
height: 16px;
}
.process-edit{
width: 15px;
height: 15px;
margin-right: 5px;
}
...@@ -3,16 +3,6 @@ import {WhiteSpace, WingBlank} from "antd-mobile"; ...@@ -3,16 +3,6 @@ import {WhiteSpace, WingBlank} from "antd-mobile";
import TopSearch from '../../components/TopSearch' import TopSearch from '../../components/TopSearch'
import WorkCard from '../../components/WorkCard' import WorkCard from '../../components/WorkCard'
const data = Array.from(new Array(7)).map((_val, i) => ({
id: `name${i}`,
icon: '/img/test/test.png',
text: `name${i}`,
}));
const data2 = Array.from(new Array(7)).map((_val, i) => ({
id: `name2${i}`,
icon: '/img/test/test-1.png',
text: `name${i}`,
}));
class Work extends Component { class Work extends Component {
state = { state = {
...@@ -25,16 +15,28 @@ class Work extends Component { ...@@ -25,16 +15,28 @@ class Work extends Component {
workSearch = (val) => { workSearch = (val) => {
console.log(val) console.log(val)
}; };
itemAdd = (id) => { itemAdd = (id, arr, arr2) => {
console.log('add') // const item = arr2.filter(item => item.id === id);
} // arr.splice(arr.length - 1, 0, item[0]);
itemSlice = (id) => { };
console.log('slice') itemSlice = (id, arr, arr2) => {
} // const index = arr.findIndex(item => item.id == id);
// index > -1 && arr.splice(index, 1);
};
render() { render() {
const {addStatus} = this.state; const {addStatus} = this.state;
//测试数据 //测试数据
const data222 = Array.from(new Array(7)).map((_val, i) => ({
id: `name${i}`,
icon: '/img/test/test.png',
text: `name${i}`,
}));
const data22222 = Array.from(new Array(7)).map((_val, i) => ({
id: `name2${i}`,
icon: '/img/test/test-1.png',
text: `name${i}`,
}));
return ( return (
<WingBlank> <WingBlank>
...@@ -46,7 +48,7 @@ class Work extends Component { ...@@ -46,7 +48,7 @@ class Work extends Component {
title="常用板块" title="常用板块"
addCommon={this.commonEdit} addCommon={this.commonEdit}
addStatus={addStatus} addStatus={addStatus}
data={data} data={data222}
iconAction={this.itemSlice} iconAction={this.itemSlice}
/> />
<WhiteSpace/> <WhiteSpace/>
...@@ -54,7 +56,7 @@ class Work extends Component { ...@@ -54,7 +56,7 @@ class Work extends Component {
title="事物管理" title="事物管理"
addCommon={this.commonEdit} addCommon={this.commonEdit}
addStatus={addStatus} addStatus={addStatus}
data={data2} data={data22222}
iconAction={this.itemAdd} iconAction={this.itemAdd}
/> />
</WingBlank> </WingBlank>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment