傅行帆 5 лет назад
Родитель
Сommit
7a513e2bd3

+ 88
- 107
package-lock.json Просмотреть файл

@@ -5776,8 +5776,7 @@
5776 5776
 				},
5777 5777
 				"ansi-regex": {
5778 5778
 					"version": "2.1.1",
5779
-					"bundled": true,
5780
-					"optional": true
5779
+					"bundled": true
5781 5780
 				},
5782 5781
 				"aproba": {
5783 5782
 					"version": "1.2.0",
@@ -5789,21 +5788,19 @@
5789 5788
 					"bundled": true,
5790 5789
 					"optional": true,
5791 5790
 					"requires": {
5792
-						"delegates": "^1.0.0",
5793
-						"readable-stream": "^2.0.6"
5791
+						"delegates": "1.0.0",
5792
+						"readable-stream": "2.3.6"
5794 5793
 					}
5795 5794
 				},
5796 5795
 				"balanced-match": {
5797 5796
 					"version": "1.0.0",
5798
-					"bundled": true,
5799
-					"optional": true
5797
+					"bundled": true
5800 5798
 				},
5801 5799
 				"brace-expansion": {
5802 5800
 					"version": "1.1.11",
5803 5801
 					"bundled": true,
5804
-					"optional": true,
5805 5802
 					"requires": {
5806
-						"balanced-match": "^1.0.0",
5803
+						"balanced-match": "1.0.0",
5807 5804
 						"concat-map": "0.0.1"
5808 5805
 					}
5809 5806
 				},
@@ -5814,18 +5811,15 @@
5814 5811
 				},
5815 5812
 				"code-point-at": {
5816 5813
 					"version": "1.1.0",
5817
-					"bundled": true,
5818
-					"optional": true
5814
+					"bundled": true
5819 5815
 				},
5820 5816
 				"concat-map": {
5821 5817
 					"version": "0.0.1",
5822
-					"bundled": true,
5823
-					"optional": true
5818
+					"bundled": true
5824 5819
 				},
5825 5820
 				"console-control-strings": {
5826 5821
 					"version": "1.1.0",
5827
-					"bundled": true,
5828
-					"optional": true
5822
+					"bundled": true
5829 5823
 				},
5830 5824
 				"core-util-is": {
5831 5825
 					"version": "1.0.2",
@@ -5837,7 +5831,7 @@
5837 5831
 					"bundled": true,
5838 5832
 					"optional": true,
5839 5833
 					"requires": {
5840
-						"ms": "^2.1.1"
5834
+						"ms": "2.1.1"
5841 5835
 					}
5842 5836
 				},
5843 5837
 				"deep-extend": {
@@ -5860,7 +5854,7 @@
5860 5854
 					"bundled": true,
5861 5855
 					"optional": true,
5862 5856
 					"requires": {
5863
-						"minipass": "^2.2.1"
5857
+						"minipass": "2.3.5"
5864 5858
 					}
5865 5859
 				},
5866 5860
 				"fs.realpath": {
@@ -5873,14 +5867,14 @@
5873 5867
 					"bundled": true,
5874 5868
 					"optional": true,
5875 5869
 					"requires": {
5876
-						"aproba": "^1.0.3",
5877
-						"console-control-strings": "^1.0.0",
5878
-						"has-unicode": "^2.0.0",
5879
-						"object-assign": "^4.1.0",
5880
-						"signal-exit": "^3.0.0",
5881
-						"string-width": "^1.0.1",
5882
-						"strip-ansi": "^3.0.1",
5883
-						"wide-align": "^1.1.0"
5870
+						"aproba": "1.2.0",
5871
+						"console-control-strings": "1.1.0",
5872
+						"has-unicode": "2.0.1",
5873
+						"object-assign": "4.1.1",
5874
+						"signal-exit": "3.0.2",
5875
+						"string-width": "1.0.2",
5876
+						"strip-ansi": "3.0.1",
5877
+						"wide-align": "1.1.3"
5884 5878
 					}
5885 5879
 				},
5886 5880
 				"glob": {
@@ -5888,12 +5882,12 @@
5888 5882
 					"bundled": true,
5889 5883
 					"optional": true,
5890 5884
 					"requires": {
5891
-						"fs.realpath": "^1.0.0",
5892
-						"inflight": "^1.0.4",
5893
-						"inherits": "2",
5894
-						"minimatch": "^3.0.4",
5895
-						"once": "^1.3.0",
5896
-						"path-is-absolute": "^1.0.0"
5885
+						"fs.realpath": "1.0.0",
5886
+						"inflight": "1.0.6",
5887
+						"inherits": "2.0.3",
5888
+						"minimatch": "3.0.4",
5889
+						"once": "1.4.0",
5890
+						"path-is-absolute": "1.0.1"
5897 5891
 					}
5898 5892
 				},
5899 5893
 				"has-unicode": {
@@ -5906,7 +5900,7 @@
5906 5900
 					"bundled": true,
5907 5901
 					"optional": true,
5908 5902
 					"requires": {
5909
-						"safer-buffer": ">= 2.1.2 < 3"
5903
+						"safer-buffer": "2.1.2"
5910 5904
 					}
5911 5905
 				},
5912 5906
 				"ignore-walk": {
@@ -5914,7 +5908,7 @@
5914 5908
 					"bundled": true,
5915 5909
 					"optional": true,
5916 5910
 					"requires": {
5917
-						"minimatch": "^3.0.4"
5911
+						"minimatch": "3.0.4"
5918 5912
 					}
5919 5913
 				},
5920 5914
 				"inflight": {
@@ -5922,14 +5916,13 @@
5922 5916
 					"bundled": true,
5923 5917
 					"optional": true,
5924 5918
 					"requires": {
5925
-						"once": "^1.3.0",
5926
-						"wrappy": "1"
5919
+						"once": "1.4.0",
5920
+						"wrappy": "1.0.2"
5927 5921
 					}
5928 5922
 				},
5929 5923
 				"inherits": {
5930 5924
 					"version": "2.0.3",
5931
-					"bundled": true,
5932
-					"optional": true
5925
+					"bundled": true
5933 5926
 				},
5934 5927
 				"ini": {
5935 5928
 					"version": "1.3.5",
@@ -5939,9 +5932,8 @@
5939 5932
 				"is-fullwidth-code-point": {
5940 5933
 					"version": "1.0.0",
5941 5934
 					"bundled": true,
5942
-					"optional": true,
5943 5935
 					"requires": {
5944
-						"number-is-nan": "^1.0.0"
5936
+						"number-is-nan": "1.0.1"
5945 5937
 					}
5946 5938
 				},
5947 5939
 				"isarray": {
@@ -5952,23 +5944,20 @@
5952 5944
 				"minimatch": {
5953 5945
 					"version": "3.0.4",
5954 5946
 					"bundled": true,
5955
-					"optional": true,
5956 5947
 					"requires": {
5957
-						"brace-expansion": "^1.1.7"
5948
+						"brace-expansion": "1.1.11"
5958 5949
 					}
5959 5950
 				},
5960 5951
 				"minimist": {
5961 5952
 					"version": "0.0.8",
5962
-					"bundled": true,
5963
-					"optional": true
5953
+					"bundled": true
5964 5954
 				},
5965 5955
 				"minipass": {
5966 5956
 					"version": "2.3.5",
5967 5957
 					"bundled": true,
5968
-					"optional": true,
5969 5958
 					"requires": {
5970
-						"safe-buffer": "^5.1.2",
5971
-						"yallist": "^3.0.0"
5959
+						"safe-buffer": "5.1.2",
5960
+						"yallist": "3.0.3"
5972 5961
 					}
5973 5962
 				},
5974 5963
 				"minizlib": {
@@ -5976,13 +5965,12 @@
5976 5965
 					"bundled": true,
5977 5966
 					"optional": true,
5978 5967
 					"requires": {
5979
-						"minipass": "^2.2.1"
5968
+						"minipass": "2.3.5"
5980 5969
 					}
5981 5970
 				},
5982 5971
 				"mkdirp": {
5983 5972
 					"version": "0.5.1",
5984 5973
 					"bundled": true,
5985
-					"optional": true,
5986 5974
 					"requires": {
5987 5975
 						"minimist": "0.0.8"
5988 5976
 					}
@@ -5997,9 +5985,9 @@
5997 5985
 					"bundled": true,
5998 5986
 					"optional": true,
5999 5987
 					"requires": {
6000
-						"debug": "^4.1.0",
6001
-						"iconv-lite": "^0.4.4",
6002
-						"sax": "^1.2.4"
5988
+						"debug": "4.1.1",
5989
+						"iconv-lite": "0.4.24",
5990
+						"sax": "1.2.4"
6003 5991
 					}
6004 5992
 				},
6005 5993
 				"node-pre-gyp": {
@@ -6007,16 +5995,16 @@
6007 5995
 					"bundled": true,
6008 5996
 					"optional": true,
6009 5997
 					"requires": {
6010
-						"detect-libc": "^1.0.2",
6011
-						"mkdirp": "^0.5.1",
6012
-						"needle": "^2.2.1",
6013
-						"nopt": "^4.0.1",
6014
-						"npm-packlist": "^1.1.6",
6015
-						"npmlog": "^4.0.2",
6016
-						"rc": "^1.2.7",
6017
-						"rimraf": "^2.6.1",
6018
-						"semver": "^5.3.0",
6019
-						"tar": "^4"
5998
+						"detect-libc": "1.0.3",
5999
+						"mkdirp": "0.5.1",
6000
+						"needle": "2.3.0",
6001
+						"nopt": "4.0.1",
6002
+						"npm-packlist": "1.4.1",
6003
+						"npmlog": "4.1.2",
6004
+						"rc": "1.2.8",
6005
+						"rimraf": "2.6.3",
6006
+						"semver": "5.7.0",
6007
+						"tar": "4.4.8"
6020 6008
 					}
6021 6009
 				},
6022 6010
 				"nopt": {
@@ -6024,8 +6012,8 @@
6024 6012
 					"bundled": true,
6025 6013
 					"optional": true,
6026 6014
 					"requires": {
6027
-						"abbrev": "1",
6028
-						"osenv": "^0.1.4"
6015
+						"abbrev": "1.1.1",
6016
+						"osenv": "0.1.5"
6029 6017
 					}
6030 6018
 				},
6031 6019
 				"npm-bundled": {
@@ -6038,8 +6026,8 @@
6038 6026
 					"bundled": true,
6039 6027
 					"optional": true,
6040 6028
 					"requires": {
6041
-						"ignore-walk": "^3.0.1",
6042
-						"npm-bundled": "^1.0.1"
6029
+						"ignore-walk": "3.0.1",
6030
+						"npm-bundled": "1.0.6"
6043 6031
 					}
6044 6032
 				},
6045 6033
 				"npmlog": {
@@ -6047,16 +6035,15 @@
6047 6035
 					"bundled": true,
6048 6036
 					"optional": true,
6049 6037
 					"requires": {
6050
-						"are-we-there-yet": "~1.1.2",
6051
-						"console-control-strings": "~1.1.0",
6052
-						"gauge": "~2.7.3",
6053
-						"set-blocking": "~2.0.0"
6038
+						"are-we-there-yet": "1.1.5",
6039
+						"console-control-strings": "1.1.0",
6040
+						"gauge": "2.7.4",
6041
+						"set-blocking": "2.0.0"
6054 6042
 					}
6055 6043
 				},
6056 6044
 				"number-is-nan": {
6057 6045
 					"version": "1.0.1",
6058
-					"bundled": true,
6059
-					"optional": true
6046
+					"bundled": true
6060 6047
 				},
6061 6048
 				"object-assign": {
6062 6049
 					"version": "4.1.1",
@@ -6066,9 +6053,8 @@
6066 6053
 				"once": {
6067 6054
 					"version": "1.4.0",
6068 6055
 					"bundled": true,
6069
-					"optional": true,
6070 6056
 					"requires": {
6071
-						"wrappy": "1"
6057
+						"wrappy": "1.0.2"
6072 6058
 					}
6073 6059
 				},
6074 6060
 				"os-homedir": {
@@ -6086,8 +6072,8 @@
6086 6072
 					"bundled": true,
6087 6073
 					"optional": true,
6088 6074
 					"requires": {
6089
-						"os-homedir": "^1.0.0",
6090
-						"os-tmpdir": "^1.0.0"
6075
+						"os-homedir": "1.0.2",
6076
+						"os-tmpdir": "1.0.2"
6091 6077
 					}
6092 6078
 				},
6093 6079
 				"path-is-absolute": {
@@ -6105,10 +6091,10 @@
6105 6091
 					"bundled": true,
6106 6092
 					"optional": true,
6107 6093
 					"requires": {
6108
-						"deep-extend": "^0.6.0",
6109
-						"ini": "~1.3.0",
6110
-						"minimist": "^1.2.0",
6111
-						"strip-json-comments": "~2.0.1"
6094
+						"deep-extend": "0.6.0",
6095
+						"ini": "1.3.5",
6096
+						"minimist": "1.2.0",
6097
+						"strip-json-comments": "2.0.1"
6112 6098
 					},
6113 6099
 					"dependencies": {
6114 6100
 						"minimist": {
@@ -6123,13 +6109,13 @@
6123 6109
 					"bundled": true,
6124 6110
 					"optional": true,
6125 6111
 					"requires": {
6126
-						"core-util-is": "~1.0.0",
6127
-						"inherits": "~2.0.3",
6128
-						"isarray": "~1.0.0",
6129
-						"process-nextick-args": "~2.0.0",
6130
-						"safe-buffer": "~5.1.1",
6131
-						"string_decoder": "~1.1.1",
6132
-						"util-deprecate": "~1.0.1"
6112
+						"core-util-is": "1.0.2",
6113
+						"inherits": "2.0.3",
6114
+						"isarray": "1.0.0",
6115
+						"process-nextick-args": "2.0.0",
6116
+						"safe-buffer": "5.1.2",
6117
+						"string_decoder": "1.1.1",
6118
+						"util-deprecate": "1.0.2"
6133 6119
 					}
6134 6120
 				},
6135 6121
 				"rimraf": {
@@ -6137,13 +6123,12 @@
6137 6123
 					"bundled": true,
6138 6124
 					"optional": true,
6139 6125
 					"requires": {
6140
-						"glob": "^7.1.3"
6126
+						"glob": "7.1.3"
6141 6127
 					}
6142 6128
 				},
6143 6129
 				"safe-buffer": {
6144 6130
 					"version": "5.1.2",
6145
-					"bundled": true,
6146
-					"optional": true
6131
+					"bundled": true
6147 6132
 				},
6148 6133
 				"safer-buffer": {
6149 6134
 					"version": "2.1.2",
@@ -6173,11 +6158,10 @@
6173 6158
 				"string-width": {
6174 6159
 					"version": "1.0.2",
6175 6160
 					"bundled": true,
6176
-					"optional": true,
6177 6161
 					"requires": {
6178
-						"code-point-at": "^1.0.0",
6179
-						"is-fullwidth-code-point": "^1.0.0",
6180
-						"strip-ansi": "^3.0.0"
6162
+						"code-point-at": "1.1.0",
6163
+						"is-fullwidth-code-point": "1.0.0",
6164
+						"strip-ansi": "3.0.1"
6181 6165
 					}
6182 6166
 				},
6183 6167
 				"string_decoder": {
@@ -6185,15 +6169,14 @@
6185 6169
 					"bundled": true,
6186 6170
 					"optional": true,
6187 6171
 					"requires": {
6188
-						"safe-buffer": "~5.1.0"
6172
+						"safe-buffer": "5.1.2"
6189 6173
 					}
6190 6174
 				},
6191 6175
 				"strip-ansi": {
6192 6176
 					"version": "3.0.1",
6193 6177
 					"bundled": true,
6194
-					"optional": true,
6195 6178
 					"requires": {
6196
-						"ansi-regex": "^2.0.0"
6179
+						"ansi-regex": "2.1.1"
6197 6180
 					}
6198 6181
 				},
6199 6182
 				"strip-json-comments": {
@@ -6206,13 +6189,13 @@
6206 6189
 					"bundled": true,
6207 6190
 					"optional": true,
6208 6191
 					"requires": {
6209
-						"chownr": "^1.1.1",
6210
-						"fs-minipass": "^1.2.5",
6211
-						"minipass": "^2.3.4",
6212
-						"minizlib": "^1.1.1",
6213
-						"mkdirp": "^0.5.0",
6214
-						"safe-buffer": "^5.1.2",
6215
-						"yallist": "^3.0.2"
6192
+						"chownr": "1.1.1",
6193
+						"fs-minipass": "1.2.5",
6194
+						"minipass": "2.3.5",
6195
+						"minizlib": "1.2.1",
6196
+						"mkdirp": "0.5.1",
6197
+						"safe-buffer": "5.1.2",
6198
+						"yallist": "3.0.3"
6216 6199
 					}
6217 6200
 				},
6218 6201
 				"util-deprecate": {
@@ -6225,18 +6208,16 @@
6225 6208
 					"bundled": true,
6226 6209
 					"optional": true,
6227 6210
 					"requires": {
6228
-						"string-width": "^1.0.2 || 2"
6211
+						"string-width": "1.0.2"
6229 6212
 					}
6230 6213
 				},
6231 6214
 				"wrappy": {
6232 6215
 					"version": "1.0.2",
6233
-					"bundled": true,
6234
-					"optional": true
6216
+					"bundled": true
6235 6217
 				},
6236 6218
 				"yallist": {
6237 6219
 					"version": "3.0.3",
6238
-					"bundled": true,
6239
-					"optional": true
6220
+					"bundled": true
6240 6221
 				}
6241 6222
 			}
6242 6223
 		},

+ 2
- 2
src/pages/activity/assembleItem/index.js Просмотреть файл

@@ -73,7 +73,7 @@ export default class Item extends Component {
73 73
         <Image className="pic" src={data.mainImg} ></Image>
74 74
         <View className="title">{data.activityName}</View>
75 75
         {(!data.verificationCode && data.status == 1) &&
76
-          <View className="time">参与截止时间: <Text className="count-time">{`${dayjs(data.endDate).format('YYYY-MM-DD hh:mm:ss')}`}</Text></View>
76
+          <View className="time">参与截止时间: <Text className="count-time">{`${dayjs(data.endDate).format('YYYY-MM-DD HH:mm:ss')}`}</Text></View>
77 77
         }
78 78
         {(!data.verificationCode && data.status != 1) &&
79 79
           <View className="time"><Text className="count-time">活动已结束</Text></View>
@@ -84,7 +84,7 @@ export default class Item extends Component {
84 84
             <View className="hexiaoma">核销码:{data.verificationCode}</View>
85 85
           </Block>
86 86
         }
87
-        <View className="start-date">{`${dayjs(data.createTime).format('YYYY-MM-DD hh:mm:ss')}`}</View>
87
+        <View className="start-date">{`${dayjs(data.createTime).format('YYYY-MM-DD HH:mm:ss')}`}</View>
88 88
         {data.status == 0 &&
89 89
           <Image className="status-icon" src={groupSuccess} ></Image>
90 90
         }

+ 2
- 2
src/pages/activity/assistanceItem/index.js Просмотреть файл

@@ -72,7 +72,7 @@ export default class Item extends Component {
72 72
         <Image className="pic" src={data.img} ></Image>
73 73
         <View className="title">{data.title}</View>
74 74
         {(!data.verification &&data.status == 1 )&&
75
-          <View className="time">参与截止时间: <Text className="count-time">{`${dayjs(data.endDate).format('YYYY-MM-DD hh:mm:ss')}`}</Text></View>
75
+          <View className="time">参与截止时间: <Text className="count-time">{`${dayjs(data.endDate).format('YYYY-MM-DD HH:mm:ss')}`}</Text></View>
76 76
         }
77 77
         {(!data.verification &&data.status != 1)&&
78 78
           <View className="time"><Text className="count-time">活动已结束</Text></View>
@@ -83,7 +83,7 @@ export default class Item extends Component {
83 83
             <View className="hexiaoma">核销码:{data.verification}</View>
84 84
           </Block>
85 85
         }
86
-        <View className="start-date">{`${dayjs(data.createDate).format('YYYY-MM-DD hh:mm:ss')}`}</View>
86
+        <View className="start-date">{`${dayjs(data.createDate).format('YYYY-MM-DD HH:mm:ss')}`}</View>
87 87
         {data.status == 0 &&
88 88
           <Image className="status-icon" src={helpSuccess} ></Image>
89 89
         }

+ 1
- 1
src/pages/shop/integralDetail/index.js Просмотреть файл

@@ -124,7 +124,7 @@ export default class Index extends Component {
124 124
                 <View className="list-item" key={item.recId}>
125 125
                   <View className="top">
126 126
                     <View className="title-state">{item.recordName}</View>
127
-                    <View className="title-time">{dayjs(item.createDate).format('YYYY-MM-DD hh:mm:ss')}</View>
127
+                    <View className="title-time">{dayjs(item.createDate).format('YYYY-MM-DD HH:mm:ss')}</View>
128 128
                   </View>
129 129
                   <View className="bottom">
130 130
                     <View className={item.pointsAmount>0?'coin1':'coin2'}>{item.pointsAmount>0?'+'+item.pointsAmount:item.pointsAmount}</View>

+ 1
- 1
src/pages/shop/record/index.js Просмотреть файл

@@ -67,7 +67,7 @@ export default class Index extends Component {
67 67
               <View className="list-item" key={item.recId} onClick={this.onViewDetail.bind(this, item)}>
68 68
 								<Image className="cardBg"  src={item.status==0?require('@assets/person/card2.png'):require('@assets/person/card1.png')}/>
69 69
 								<View className="top">
70
-									<View className="title-time">兑换时间:{dayjs(item.createDate).format('YYYY-MM-DD hh:mm:ss')}</View>
70
+									<View className="title-time">兑换时间:{dayjs(item.createDate).format('YYYY-MM-DD HH:mm:ss')}</View>
71 71
 									<View className="title-state">{item.status==0?"未领取":"已领取"}</View>
72 72
 								</View>
73 73
 								<View className="bottom">

+ 1
- 1
src/pages/shop/rule/index.js Просмотреть файл

@@ -56,7 +56,7 @@ export default class Shop extends Component {
56 56
                    <View className='rule_item'  key={item.ruleId}>
57 57
                      <Text>{item.ruleName}</Text>
58 58
                      <Text>+{item.pointsAmount}</Text>
59
-                     <Text>{dayjs(item.updateDate).format('YYYY-MM-DD hh:mm:ss')}</Text>
59
+                     <Text>{dayjs(item.updateDate).format('YYYY-MM-DD HH:mm:ss')}</Text>
60 60
                    </View>
61 61
                 ))
62 62
             )