作者 wumengyu

修改打卡

@@ -3,6 +3,9 @@ @@ -3,6 +3,9 @@
3 <component name="ChangeListManager"> 3 <component name="ChangeListManager">
4 <list default="true" id="632eecf6-91e3-4185-aea4-06d243e51935" name="Default" comment="优化选择场次"> 4 <list default="true" id="632eecf6-91e3-4185-aea4-06d243e51935" name="Default" comment="优化选择场次">
5 <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> 5 <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
  6 + <change beforePath="$PROJECT_DIR$/pages/clock/clock.js" beforeDir="false" afterPath="$PROJECT_DIR$/pages/clock/clock.js" afterDir="false" />
  7 + <change beforePath="$PROJECT_DIR$/pages/index/activity-detail/activity-detail.wxss" beforeDir="false" afterPath="$PROJECT_DIR$/pages/index/activity-detail/activity-detail.wxss" afterDir="false" />
  8 + <change beforePath="$PROJECT_DIR$/pages/my/order-detail/order-detail.js" beforeDir="false" afterPath="$PROJECT_DIR$/pages/my/order-detail/order-detail.js" afterDir="false" />
6 </list> 9 </list>
7 <ignored path="$PROJECT_DIR$/.tmp/" /> 10 <ignored path="$PROJECT_DIR$/.tmp/" />
8 <ignored path="$PROJECT_DIR$/temp/" /> 11 <ignored path="$PROJECT_DIR$/temp/" />
@@ -17,32 +20,32 @@ @@ -17,32 +20,32 @@
17 <session id="-381596063"> 20 <session id="-381596063">
18 <usages-collector id="statistics.lifecycle.project"> 21 <usages-collector id="statistics.lifecycle.project">
19 <counts> 22 <counts>
20 - <entry key="project.closed" value="29" />  
21 - <entry key="project.open.time.0" value="6" /> 23 + <entry key="project.closed" value="31" />
  24 + <entry key="project.open.time.0" value="7" />
22 <entry key="project.open.time.1" value="11" /> 25 <entry key="project.open.time.1" value="11" />
23 - <entry key="project.open.time.10" value="1" /> 26 + <entry key="project.open.time.10" value="2" />
24 <entry key="project.open.time.13" value="1" /> 27 <entry key="project.open.time.13" value="1" />
25 <entry key="project.open.time.14" value="1" /> 28 <entry key="project.open.time.14" value="1" />
26 <entry key="project.open.time.2" value="3" /> 29 <entry key="project.open.time.2" value="3" />
27 <entry key="project.open.time.8" value="5" /> 30 <entry key="project.open.time.8" value="5" />
28 <entry key="project.open.time.9" value="3" /> 31 <entry key="project.open.time.9" value="3" />
29 - <entry key="project.opened" value="31" /> 32 + <entry key="project.opened" value="33" />
30 </counts> 33 </counts>
31 </usages-collector> 34 </usages-collector>
32 <usages-collector id="statistics.file.extensions.open"> 35 <usages-collector id="statistics.file.extensions.open">
33 <counts> 36 <counts>
34 - <entry key="js" value="178" /> 37 + <entry key="js" value="179" />
35 <entry key="json" value="33" /> 38 <entry key="json" value="33" />
36 <entry key="wxml" value="145" /> 39 <entry key="wxml" value="145" />
37 - <entry key="wxss" value="56" /> 40 + <entry key="wxss" value="57" />
38 </counts> 41 </counts>
39 </usages-collector> 42 </usages-collector>
40 <usages-collector id="statistics.file.types.open"> 43 <usages-collector id="statistics.file.types.open">
41 <counts> 44 <counts>
42 - <entry key="CSS" value="56" /> 45 + <entry key="CSS" value="57" />
43 <entry key="HTML" value="145" /> 46 <entry key="HTML" value="145" />
44 <entry key="JSON" value="33" /> 47 <entry key="JSON" value="33" />
45 - <entry key="JavaScript" value="178" /> 48 + <entry key="JavaScript" value="179" />
46 </counts> 49 </counts>
47 </usages-collector> 50 </usages-collector>
48 <usages-collector id="statistics.file.extensions.edit"> 51 <usages-collector id="statistics.file.extensions.edit">
@@ -73,30 +76,26 @@ @@ -73,30 +76,26 @@
73 <component name="FileEditorManager"> 76 <component name="FileEditorManager">
74 <leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> 77 <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
75 <file pinned="false" current-in-tab="false"> 78 <file pinned="false" current-in-tab="false">
76 - <entry file="file://$PROJECT_DIR$/templates/templates.wxml"> 79 + <entry file="file://$PROJECT_DIR$/app.json">
77 <provider selected="true" editor-type-id="text-editor"> 80 <provider selected="true" editor-type-id="text-editor">
78 - <state relative-caret-position="1276">  
79 - <caret line="58" column="44" selection-start-line="58" selection-start-column="35" selection-end-line="58" selection-end-column="44" /> 81 + <state relative-caret-position="396">
  82 + <caret line="18" column="47" lean-forward="true" selection-start-line="18" selection-start-column="47" selection-end-line="18" selection-end-column="47" />
80 </state> 83 </state>
81 </provider> 84 </provider>
82 </entry> 85 </entry>
83 </file> 86 </file>
84 - <file pinned="false" current-in-tab="false">  
85 - <entry file="file://$PROJECT_DIR$/pages/my/myProfile/myProfile.js"> 87 + <file pinned="false" current-in-tab="true">
  88 + <entry file="file://$PROJECT_DIR$/pages/clock/clock.js">
86 <provider selected="true" editor-type-id="text-editor"> 89 <provider selected="true" editor-type-id="text-editor">
87 - <state relative-caret-position="1430">  
88 - <caret line="65" column="23" selection-start-line="65" selection-start-column="23" selection-end-line="65" selection-end-column="23" /> 90 + <state relative-caret-position="356">
  91 + <caret line="121" column="42" selection-start-line="121" selection-start-column="42" selection-end-line="121" selection-end-column="42" />
89 </state> 92 </state>
90 </provider> 93 </provider>
91 </entry> 94 </entry>
92 </file> 95 </file>
93 - <file pinned="false" current-in-tab="true">  
94 - <entry file="file://$PROJECT_DIR$/app.json">  
95 - <provider selected="true" editor-type-id="text-editor">  
96 - <state relative-caret-position="396">  
97 - <caret line="18" column="47" lean-forward="true" selection-start-line="18" selection-start-column="47" selection-end-line="18" selection-end-column="47" />  
98 - </state>  
99 - </provider> 96 + <file pinned="false" current-in-tab="false">
  97 + <entry file="file://$PROJECT_DIR$/pages/index/activity-detail/activity-detail.wxss">
  98 + <provider selected="true" editor-type-id="text-editor" />
100 </entry> 99 </entry>
101 </file> 100 </file>
102 <file pinned="false" current-in-tab="false"> 101 <file pinned="false" current-in-tab="false">
@@ -162,7 +161,6 @@ @@ -162,7 +161,6 @@
162 </component> 161 </component>
163 <component name="FindInProjectRecents"> 162 <component name="FindInProjectRecents">
164 <findStrings> 163 <findStrings>
165 - <find>swiper</find>  
166 <find>兑换</find> 164 <find>兑换</find>
167 <find>mode=&quot;date&quot;</find> 165 <find>mode=&quot;date&quot;</find>
168 <find>birth_date</find> 166 <find>birth_date</find>
@@ -192,6 +190,7 @@ @@ -192,6 +190,7 @@
192 <find>modal_data</find> 190 <find>modal_data</find>
193 <find>state-modal</find> 191 <find>state-modal</find>
194 <find>modal_box</find> 192 <find>modal_box</find>
  193 + <find>getExperiment</find>
195 </findStrings> 194 </findStrings>
196 <dirStrings> 195 <dirStrings>
197 <dir>D:\小程序\scienceCaptain\ScienceCaptain\pages\index\confirm-appointment-info</dir> 196 <dir>D:\小程序\scienceCaptain\ScienceCaptain\pages\index\confirm-appointment-info</dir>
@@ -278,10 +277,10 @@ @@ -278,10 +277,10 @@
278 <sorting>DEFINITION_ORDER</sorting> 277 <sorting>DEFINITION_ORDER</sorting>
279 </component> 278 </component>
280 <component name="ProjectFrameBounds" extendedState="6"> 279 <component name="ProjectFrameBounds" extendedState="6">
281 - <option name="x" value="523" />  
282 - <option name="y" value="105" /> 280 + <option name="x" value="-129" />
  281 + <option name="y" value="109" />
283 <option name="width" value="1936" /> 282 <option name="width" value="1936" />
284 - <option name="height" value="1056" /> 283 + <option name="height" value="929" />
285 </component> 284 </component>
286 <component name="ProjectView"> 285 <component name="ProjectView">
287 <navigator proportions="" version="1"> 286 <navigator proportions="" version="1">
@@ -487,6 +486,8 @@ @@ -487,6 +486,8 @@
487 <workItem from="1550623390588" duration="5445000" /> 486 <workItem from="1550623390588" duration="5445000" />
488 <workItem from="1550709960596" duration="2176000" /> 487 <workItem from="1550709960596" duration="2176000" />
489 <workItem from="1550796004174" duration="244000" /> 488 <workItem from="1550796004174" duration="244000" />
  489 + <workItem from="1550905359680" duration="1308000" />
  490 + <workItem from="1551141819511" duration="118000" />
490 </task> 491 </task>
491 <task id="LOCAL-00001" summary="modal 模板"> 492 <task id="LOCAL-00001" summary="modal 模板">
492 <created>1542274356914</created> 493 <created>1542274356914</created>
@@ -611,10 +612,11 @@ @@ -611,10 +612,11 @@
611 <servers /> 612 <servers />
612 </component> 613 </component>
613 <component name="TimeTrackingManager"> 614 <component name="TimeTrackingManager">
614 - <option name="totallyTimeSpent" value="277425000" /> 615 + <option name="totallyTimeSpent" value="278851000" />
615 </component> 616 </component>
616 <component name="ToolWindowManager"> 617 <component name="ToolWindowManager">
617 <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> 618 <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
  619 + <editor active="true" />
618 <layout> 620 <layout>
619 <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.13382508" /> 621 <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.13382508" />
620 <window_info id="Structure" order="1" side_tool="true" weight="0.25" /> 622 <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
@@ -688,13 +690,6 @@ @@ -688,13 +690,6 @@
688 <option name="LAST_COMMIT_MESSAGE" value="优化选择场次" /> 690 <option name="LAST_COMMIT_MESSAGE" value="优化选择场次" />
689 </component> 691 </component>
690 <component name="editorHistoryManager"> 692 <component name="editorHistoryManager">
691 - <entry file="file://$PROJECT_DIR$/pages/my/my.wxss">  
692 - <provider selected="true" editor-type-id="text-editor">  
693 - <state relative-caret-position="550">  
694 - <caret line="25" column="14" selection-start-line="25" selection-start-column="14" selection-end-line="25" selection-end-column="14" />  
695 - </state>  
696 - </provider>  
697 - </entry>  
698 <entry file="file://$PROJECT_DIR$/pages/clock/clock.wxml"> 693 <entry file="file://$PROJECT_DIR$/pages/clock/clock.wxml">
699 <provider selected="true" editor-type-id="text-editor"> 694 <provider selected="true" editor-type-id="text-editor">
700 <state relative-caret-position="374"> 695 <state relative-caret-position="374">
@@ -936,13 +931,6 @@ @@ -936,13 +931,6 @@
936 </state> 931 </state>
937 </provider> 932 </provider>
938 </entry> 933 </entry>
939 - <entry file="file://$PROJECT_DIR$/pages/clock/clock.js">  
940 - <provider selected="true" editor-type-id="text-editor">  
941 - <state relative-caret-position="3586">  
942 - <caret line="163" column="19" selection-start-line="163" selection-start-column="19" selection-end-line="163" selection-end-column="19" />  
943 - </state>  
944 - </provider>  
945 - </entry>  
946 <entry file="file://$PROJECT_DIR$/pages/clock/punchAppeal/punchAppeal.js"> 934 <entry file="file://$PROJECT_DIR$/pages/clock/punchAppeal/punchAppeal.js">
947 <provider selected="true" editor-type-id="text-editor"> 935 <provider selected="true" editor-type-id="text-editor">
948 <state relative-caret-position="1056"> 936 <state relative-caret-position="1056">
@@ -985,6 +973,13 @@ @@ -985,6 +973,13 @@
985 </state> 973 </state>
986 </provider> 974 </provider>
987 </entry> 975 </entry>
  976 + <entry file="file://$PROJECT_DIR$/app.json">
  977 + <provider selected="true" editor-type-id="text-editor">
  978 + <state relative-caret-position="396">
  979 + <caret line="18" column="47" lean-forward="true" selection-start-line="18" selection-start-column="47" selection-end-line="18" selection-end-column="47" />
  980 + </state>
  981 + </provider>
  982 + </entry>
988 <entry file="file://$PROJECT_DIR$/pages/my/myProfile/myProfile.wxml"> 983 <entry file="file://$PROJECT_DIR$/pages/my/myProfile/myProfile.wxml">
989 <provider selected="true" editor-type-id="text-editor"> 984 <provider selected="true" editor-type-id="text-editor">
990 <state relative-caret-position="946"> 985 <state relative-caret-position="946">
@@ -1030,10 +1025,13 @@ @@ -1030,10 +1025,13 @@
1030 </state> 1025 </state>
1031 </provider> 1026 </provider>
1032 </entry> 1027 </entry>
1033 - <entry file="file://$PROJECT_DIR$/app.json"> 1028 + <entry file="file://$PROJECT_DIR$/pages/index/activity-detail/activity-detail.wxss">
  1029 + <provider selected="true" editor-type-id="text-editor" />
  1030 + </entry>
  1031 + <entry file="file://$PROJECT_DIR$/pages/clock/clock.js">
1034 <provider selected="true" editor-type-id="text-editor"> 1032 <provider selected="true" editor-type-id="text-editor">
1035 - <state relative-caret-position="396">  
1036 - <caret line="18" column="47" lean-forward="true" selection-start-line="18" selection-start-column="47" selection-end-line="18" selection-end-column="47" /> 1033 + <state relative-caret-position="356">
  1034 + <caret line="121" column="42" selection-start-line="121" selection-start-column="42" selection-end-line="121" selection-end-column="42" />
1037 </state> 1035 </state>
1038 </provider> 1036 </provider>
1039 </entry> 1037 </entry>
@@ -116,7 +116,7 @@ Page({ @@ -116,7 +116,7 @@ Page({
116 }; 116 };
117 app.post(url, params, header).then((res) => { 117 app.post(url, params, header).then((res) => {
118 // console.log('打卡结果', res); 118 // console.log('打卡结果', res);
119 - if (+res.is_success) { 119 + if (res.data.is_success) {
120 this.setData({ 120 this.setData({
121 punchState: false, 121 punchState: false,
122 'state_data.is_showSuccessModal': true, 122 'state_data.is_showSuccessModal': true,
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 } 18 }
19 .img_box { 19 .img_box {
20 width: 100%; 20 width: 100%;
21 - height: 400rpx; 21 + height: 300rpx;
22 } 22 }
23 .activity_img { 23 .activity_img {
24 width: 100%; 24 width: 100%;
@@ -41,6 +41,7 @@ Page({ @@ -41,6 +41,7 @@ Page({
41 "XX-token": wx.getStorageSync('token') 41 "XX-token": wx.getStorageSync('token')
42 }; 42 };
43 let params = { 43 let params = {
  44 + is_order_detail: 1,
44 page: this.data.page_number, 45 page: this.data.page_number,
45 }; 46 };
46 app.post(url,params,header).then((res) => { 47 app.post(url,params,header).then((res) => {