chengjie 7 anni fa
parent
commit
3c8b31b9c4
5 ha cambiato i file con 4 aggiunte e 34 eliminazioni
  1. 1 1
      app.js
  2. BIN
      images/04010.png
  3. 2 2
      pages/main/index.wxml
  4. 1 1
      pages/main/list.wxss
  5. 0 30
      utils/util.js

+ 1 - 1
app.js

@@ -11,7 +11,7 @@ App({
11 11
     this.globalData.systemInfo = wx.getSystemInfoSync();
12 12
   },
13 13
   globalData: {
14
-    Version: "1.1.8",
14
+    Version: "1.1.9",
15 15
     IsProduction: true,
16 16
     ProgramID: 106,
17 17
     AppID: "wx313a8f2c0741efe1",

BIN
images/04010.png


+ 2 - 2
pages/main/index.wxml

@@ -122,9 +122,9 @@
122 122
           <view class="ReviewCount">{{ReviewCount}}</view>
123 123
         </view>
124 124
       </view>
125
-      <view class="btn8 btn6 btn" wx:if="{{FinishedCount>0}}" bindtap="gotoTest">
125
+      <!-- <view class="btn8 btn6 btn" wx:if="{{FinishedCount>0}}" bindtap="gotoTest">
126 126
         <view class="btn7 btn1">测试</view>
127
-      </view>
127
+      </view> -->
128 128
 
129 129
       <button class="Circle FlexColumn" open-type="share">
130 130
         <image src='../../images/02015.png' class="Share" />

+ 1 - 1
pages/main/list.wxss

@@ -222,7 +222,7 @@
222 222
 }
223 223
 .PayInfo .img {
224 224
   width: 518rpx;
225
-  height: 167rpx;
225
+  height: 175rpx;
226 226
 }
227 227
 .PayInfo .panel2 {
228 228
   width: 100%;

+ 0 - 30
utils/util.js

@@ -1,19 +1,6 @@
1 1
 var Crypto = require('cryptojs.js').Crypto;
2 2
 var app = getApp();
3 3
 
4
-function formatTime(date) {
5
-  var year = date.getFullYear();
6
-  var month = date.getMonth() + 1;
7
-  var day = date.getDate();
8
-
9
-  var hour = date.getHours();
10
-  var minute = date.getMinutes();
11
-  var second = date.getSeconds();
12
-
13
-
14
-  return [year, month, day].map(formatNumber).join('.') + ' ' + [hour, minute, second].map(formatNumber).join(':')
15
-}
16
-
17 4
 function formatDateCHS(date) {
18 5
   date = date.toString();
19 6
   var year = date.substr(0, 4);
@@ -24,21 +11,6 @@ function formatDateCHS(date) {
24 11
 }
25 12
 
26 13
 
27
-function getTimeFormat(duration) {
28
-  //console.log("duration:" + duration);
29
-  var arr = ['', '', '']
30
-  if (duration.indexOf("'") > 0)
31
-    arr[0] = duration.substring(0, duration.indexOf("'"));
32
-  if (duration.indexOf(".") > 0) {
33
-    arr[1] = duration.substring(duration.indexOf("'") + 1, duration.indexOf(".") + 1);
34
-    arr[2] = duration.substring(duration.indexOf(".") + 1, duration.indexOf('"'));
35
-  }
36
-  else {
37
-    arr[1] = duration.substring(duration.indexOf("'") + 1, duration.indexOf('"'));
38
-  }
39
-  return arr;
40
-}
41
-
42 14
 function formatNumber(n) {
43 15
   n = n.toString()
44 16
   return n[1] ? n : '0' + n
@@ -390,7 +362,6 @@ function isChinese(temp) {
390 362
 }
391 363
 
392 364
 module.exports = {
393
-  formatTime: formatTime,
394 365
   formatDateCHS: formatDateCHS,
395 366
   getMinuteSecond: getMinuteSecond,
396 367
   random: Random,
@@ -407,7 +378,6 @@ module.exports = {
407 378
   isExistStr: isExistStr,
408 379
   getSystemHeight: getSystemHeight,
409 380
   getStorageValue: getStorageValue,
410
-  getTimeFormat: getTimeFormat,
411 381
   getWordArray: getWordArray,
412 382
   sortArrayByStringLength: sortArrayByStringLength,
413 383
   ReplaceAllString: ReplaceAllString,