chengjie 7 years ago
parent
commit
3736c12855

+ 1 - 1
app.js

@@ -25,7 +25,7 @@ App({
25 25
     serverUrl: "https://www.kylx365.com/apiData/",
26 26
     serverUrlServer: "https://www.kylx365.com/apiData/",
27 27
     serverUrlLocalhost: "http://localhost:3020/apiData/",
28
-    audioUrlBaidu: "https://tsn.baidu.com/text2audio?lan=zh&ctp=1&cuid=abcdxxx&tok=[token]&tex=[word]&vol=9&per=1&spd=8&pit=5",
28
+    audioUrlBaidu: "https://tsn.baidu.com/text2audio?lan=zh&ctp=1&cuid=abcdxxx&tok=[token]&tex=[word]&vol=9&per=1&spd=6&pit=5",
29 29
     Key: "kylx365_chengjie",
30 30
     IV: "kylx365hongliren",
31 31
     

BIN
images/pause_white_size01.png


+ 6 - 0
pages/index/index.js

@@ -153,6 +153,12 @@ Page({
153 153
         callback();
154 154
       }
155 155
     });
156
+
157
+    server.getData('GetBaiduToken', function (data) {
158
+      if (data) {
159
+        app.globalData.BaiduToken=data;
160
+      }
161
+    });
156 162
   },
157 163
   onShareAppMessage: function () {
158 164
     return {

+ 1 - 1
pages/main/answer.js

@@ -18,6 +18,7 @@ Page({
18 18
     this.getList();
19 19
   },
20 20
   getList: function () {
21
+    
21 22
     var that = this;
22 23
     var list = wx.getStorageSync("AnswerList");
23 24
     if (list && list.length > 0) {
@@ -34,7 +35,6 @@ Page({
34 35
         ListHeight = 1320 + (arr.length - 10) * 130;
35 36
         ListHeight2 = 1490 + (arr.length - 10) * 130;
36 37
       }
37
-
38 38
       that.setData({
39 39
         AnswerList: arr,
40 40
         ListHeight: ListHeight,

+ 13 - 0
pages/main/default.js

@@ -47,6 +47,19 @@ Page({
47 47
     
48 48
     this.updateProgram();
49 49
   },
50
+  onShow:function(){
51
+    var list = wx.getStorageSync("AnswerList");
52
+    var answerLength = 0;
53
+    var answerNewDate = "";
54
+    if (list && list.length > 0) {
55
+      answerLength = list.length;
56
+      answerNewDate = list[0].CreateTime.substr(0, 11);
57
+    }
58
+    this.setData({
59
+      AnswerLength: answerLength,
60
+      AnswerNewDate: answerNewDate,
61
+    });
62
+  },
50 63
   gotoList:function(e){
51 64
     var id=e.currentTarget.dataset.id;
52 65
     var categoryArray = [{}, { Num: 1, Name: "一年级", Array: [1, 2] }, { Num: 2, Name: "二年级", Array: [3, 4] }, { Num: 3, Name: "三年级", Array: [5, 6] }, { Num: 4,Name: "四年级及以上", Array: [7] }];

+ 3 - 3
pages/main/default.wxml

@@ -27,13 +27,13 @@
27 27
               <view class="text0">批改</view>
28 28
               <view class="line"></view>
29 29
               <view class="panel002000 FlexRow">
30
-                <view class="text1">制题次数</view>
31
-                <view class="text2">232</view>
30
+                <view class="text1">试卷张数</view>
31
+                <view class="text2">{{AnswerLength}}</view>
32 32
               </view>
33 33
               <view class="line2 line"></view>
34 34
               <view class="panel002000 FlexRow">
35 35
                 <view class="text1">制题日期</view>
36
-                <view class="text">2018年1月13日</view>
36
+                <view class="text">{{AnswerNewDate}}</view>
37 37
               </view>
38 38
               <view class="line2 line"></view>
39 39
               <view class="panel002000 FlexRow">

+ 32 - 8
pages/main/detail.js

@@ -41,6 +41,9 @@ Page({
41 41
       isAndroid = true;
42 42
 
43 43
   },
44
+  onUnload:function(){
45
+    wx.hideLoading();
46
+  },
44 47
   getDetail: function (id) {
45 48
     var item;
46 49
     var data = wx.getStorageSync('QuestionTypeList');
@@ -64,7 +67,9 @@ Page({
64 67
     });
65 68
   },
66 69
   getFinish: function () {
70
+    wx.hideLoading();
67 71
     arrAnswerID = [];
72
+    tempAnswerList=[];
68 73
     this.getAnswerID();
69 74
     this.getList(this.data.ID);
70 75
   },
@@ -118,7 +123,7 @@ Page({
118 123
     var id=1;
119 124
     if (list && list.length > 0) {
120 125
       list.sort(function (a, b) {
121
-          return b.AnswerID - b.AnswerID;
126
+          return b.AnswerID - a.AnswerID;
122 127
       });
123 128
       id = list[0].AnswerID + 1;
124 129
     }
@@ -128,7 +133,7 @@ Page({
128 133
   saveImage: function () {
129 134
     var that = this;
130 135
     var item = QuestionItem;
131
-    item.AnswerID = arrAnswerID.pop();
136
+    item.AnswerID = arrAnswerID.shift();
132 137
 
133 138
     var ctx = wx.createCanvasContext("Canvas", that);
134 139
     ctx.setFillStyle('white');
@@ -331,8 +336,8 @@ Page({
331 336
         success: function (res2) {
332 337
           console.log(res2.tempFilePath);
333 338
           that.data.arrPage.push(res2.tempFilePath);
334
-
335
-          tempAnswerList.push(item);
339
+          item.TempImagePath=res2.tempFilePath;
340
+          tempAnswerList.push(JSON.parse(JSON.stringify(item)));
336 341
 
337 342
           that.setData({
338 343
             arrPage: that.data.arrPage,
@@ -341,7 +346,9 @@ Page({
341 346
           if (that.data.arrPage.length < that.data.PageNumber) {
342 347
             pageIndex++;
343 348
             that.saveImage();
344
-          } else {
349
+          } 
350
+          else {
351
+            //生成图片完成
345 352
             that.setData({
346 353
               ShowLoading: false,
347 354
             });
@@ -355,6 +362,25 @@ Page({
355 362
               current: that.data.arrPage[0], // 当前显示图片的http链接
356 363
               urls: that.data.arrPage // 需要预览的图片http链接列表
357 364
             });
365
+
366
+            //存列表
367
+            var tempList = wx.getStorageSync("AnswerList");
368
+            if (!tempList)
369
+              tempList=[];
370
+            for(var x=0;x<tempAnswerList.length;x++){
371
+              var tempItem = tempAnswerList[x];
372
+              var id=x*tempItem.PageCount;
373
+              var arr=[];
374
+              for(var y=0;y<tempItem.QuestionList.length;y++){
375
+                if (y >= id && y < id + tempItem.PageCount){
376
+                  arr.push(tempItem.QuestionList[y]);
377
+                }
378
+              }
379
+              tempItem.QuestionList=arr;
380
+              tempList.unshift(tempItem);
381
+            }
382
+            wx.setStorageSync("AnswerList", tempList);
383
+
358 384
           }
359 385
         }
360 386
       })
@@ -391,9 +417,7 @@ Page({
391 417
         wx.saveImageToPhotosAlbum({
392 418
           filePath: that.data.arrPage[i],
393 419
           success(res3) {
394
-            //存列表
395
-            wx.setStorageSync("AnswerList", tempAnswerList);
396
-
420
+            
397 421
             console.log("save:" + res3.savedFilePath);
398 422
             count++
399 423
             if (count == that.data.arrPage.length) {

+ 2 - 2
pages/main/detail.wxml

@@ -95,11 +95,11 @@
95 95
           </view>
96 96
           <text class="text9">1. 请到手机相册打印图片或转存到PC</text>
97 97
         </view>
98
-        <view class="panel220 FlexColumn">
98
+        <view class="panel220 FlexColumn" bindtap="gotoAnswer">
99 99
           <view class="panel2200 FlexColumn">
100 100
             <image class="universalpic_write_gray_size01" src="../../images/universalpic_write_gray_size01.png" />
101 101
           </view>
102
-          <view class="text9" bindtap="gotoAnswer">2. 题目做完后,在首页 的批改栏目中
102
+          <view class="text9">2. 题目做完后,在首页 的批改栏目中
103 103
             <text class="text10">对答案</text>
104 104
           </view>
105 105
         </view>

+ 98 - 10
pages/main/item.js

@@ -1,19 +1,31 @@
1 1
 import common from '../../utils/util';
2 2
 import server from '../../utils/main';
3 3
 
4
-const app = getApp()
4
+const app = getApp();
5
+
6
+var currentIndex = 0, tempCurrentIndex = -1;
7
+var audioArray = [];
8
+
5 9
 Page({
6 10
   data: {
7 11
     version: app.globalData.version,
8 12
     FileUrl: app.globalData.fileUrl,
13
+    IsPlaying: true,
9 14
   },
10 15
   onLoad: function (options) {
16
+    this.audioCtx = wx.createAudioContext('myAudio');
17
+
11 18
     this.setData({
12 19
       Containnerheight: server.getWindowHeight(),
13 20
     });
14
-
21
+    audioArray = [];
15 22
     var id = options.id;
16 23
     this.getItem(id);
24
+
25
+    wx.setNavigationBarTitle({
26
+      title: "试卷答案 "+id,
27
+    });
28
+
17 29
   },
18 30
   scrollTop: function (e) {
19 31
     var id = Number(e.currentTarget.dataset.id);
@@ -23,8 +35,7 @@ Page({
23 35
     query.select('#panelRowTop' + id).boundingClientRect();
24 36
     query.selectViewport().scrollOffset();
25 37
     query.exec(function (res) {
26
-      top = res[0].top       // #the-id节点的上边界坐标
27
-      //res[1].scrollTop // 显示区域的竖直滚动位置
38
+      top = res[0].top + res[1].scrollTop
28 39
 
29 40
       wx.pageScrollTo({
30 41
         scrollTop: top,
@@ -44,15 +55,15 @@ Page({
44 55
           break;
45 56
         }
46 57
       }
47
-      
58
+
48 59
       var list = item.QuestionList;
49 60
       for (var i = 0; i < list.length; i++) {
50
-        if (i==0 && list[i].Vertical) {
61
+        if (i == 0 && list[i].Vertical) {
51 62
           list[i].IsShowVertical = true;
52 63
           break;
53 64
         }
54 65
       }
55
-      
66
+
56 67
       that.setData({
57 68
         AnswerItem: item,
58 69
       });
@@ -64,17 +75,94 @@ Page({
64 75
     for (var i = 0; i < list.length; i++) {
65 76
       if (id == list[i].ID) {
66 77
         list[i].IsShowVertical = !list[i].IsShowVertical;
67
-      }
68
-      else {
78
+      } else {
69 79
         list[i].IsShowVertical = false;
70 80
       }
71 81
     }
72
-    this.data.AnswerItem.QuestionList=list;
82
+    this.data.AnswerItem.QuestionList = list;
73 83
     this.setData({
74 84
       AnswerItem: this.data.AnswerItem,
75 85
     });
76 86
 
77 87
   },
88
+  showImage: function (e) {
89
+    var that = this;
90
+    wx.previewImage({
91
+      current: that.data.AnswerItem.TempImagePath, // 当前显示图片的http链接
92
+      urls: [that.data.AnswerItem.TempImagePath] // 需要预览的图片http链接列表
93
+    });
94
+  },
95
+  playAudioStart: function () {
96
+    this.setData({
97
+      IsPlaying: !this.data.IsPlaying,
98
+    });
99
+
100
+    if (this.data.IsPlaying) {
101
+      this.audioCtx.pause();
102
+    }
103
+    else {
104
+      var arr = [];
105
+      var item = this.data.AnswerItem;
106
+      var list = item.QuestionList;
107
+      for (var i = 0; i < list.length; i++) {
108
+        if ((i % (list.length / 3)) == 0) {
109
+          if (i > 0) {
110
+            arr.push("");
111
+            audioArray.push(arr);
112
+            arr = [];
113
+          }
114
+          arr.push("第" + (1 + i / (list.length / 3)) + "列");
115
+
116
+        }
117
+        var str = list[i].Result;
118
+        if (str.toString().indexOf("......") > 0) {
119
+          str = str.toString().replace("......", "”余数");
120
+          str = "商“" + str;
121
+        }
122
+        arr.push(str);
123
+      }
124
+      arr.push("");
125
+      audioArray.push(arr);
126
+
127
+      this.playAudioAll();
128
+    }
129
+
130
+  },
131
+  playAudioAll: function () {
132
+    if (currentIndex >= 3) {
133
+      currentIndex = 0;
134
+      this.setData({
135
+        IsPlaying: true,
136
+      });
137
+      return;
138
+    } else {
139
+      var url = app.globalData.audioUrlBaidu;
140
+      url = url.replace("[token]", app.globalData.BaiduToken);
141
+      url = url.replace("[word]", audioArray[currentIndex].join(","));
142
+      console.log(url);
143
+      this.audioCtx.setSrc(url);
144
+      this.audioCtx.play();
145
+      this.scrollTop({
146
+        currentTarget: {
147
+          dataset: {
148
+            id: currentIndex
149
+          }
150
+        }
151
+      });
152
+    }
153
+  },
154
+  onPlayEnded: function (e) {
155
+    currentIndex++;
156
+    this.playAudioAll();
157
+  },
158
+  playPrev: function () {
159
+    if (currentIndex > 0 && tempCurrentIndex == currentIndex)
160
+      currentIndex--;
161
+    else {
162
+      tempCurrentIndex = currentIndex;
163
+    }
164
+    this.playAudioAll();
165
+  },
78 166
   onShareAppMessage: function () {
79 167
     return {
80 168
       title: '',

+ 1 - 1
pages/main/item.json

@@ -1,7 +1,7 @@
1 1
 {
2 2
   "navigationBarBackgroundColor": "#fff",
3 3
   "navigationBarTextStyle": "black",
4
-  "navigationBarTitleText": "四则运算",
4
+  "navigationBarTitleText": "试卷答案",
5 5
   "backgroundColor": "#fff",
6 6
   "backgroundTextStyle": "light",
7 7
   "enablePullDownRefresh": false

+ 26 - 99
pages/main/item.wxml

@@ -1,38 +1,46 @@
1 1
 <view class="container FlexColumn" style="min-height:{{Containnerheight}}rpx;">
2
-  <view class="panel0 FlexRow">
3
-    <view class="panelLeft">快翻</view>
4
-    <view class="panelRight FlexRow">
5
-      <view class="btn1 btn" bindtap="scrollTop" data-id="0">1</view>
6
-      <view class="btn" bindtap="scrollTop" data-id="1">{{AnswerItem.QuestionList.length/3+1}}</view>
7
-      <view class="btn" bindtap="scrollTop" data-id="2">{{AnswerItem.QuestionList.length*2/3+1}}</view>
2
+  <view class="panel3 panel0 FlexRow" bindtap='showImage'>
3
+    <view class="panelLeft">试卷预览</view>
4
+    <view>
5
+      <image class="universalpic_indicator_pink" src="../../images/universalpic_indicator_pink.png" />
8 6
     </view>
9 7
   </view>
10
-  <view class="panel1 panel0 FlexRow">
8
+  <view class="panel4 panel0 FlexRow">
11 9
     <view class="panelLeft">听答案</view>
12 10
     <view class="panelRight FlexRow">
13 11
 
14
-      <view class="btn4 btn2">
12
+      <view class="btn4 btn2" bindtap='playPrev'>
15 13
         <view class="btn3 FlexRow">
16 14
           <image class="universalpic_rewind_white_size01" src="../../images/universalpic_rewind_white_size01.png" />
17 15
         </view>
18 16
       </view>
19
-      <view class="btn2">
17
+      <view class="btn2" bindtap='playAudioStart'>
20 18
         <view class="btn3 FlexRow">
21
-          <image class="universalpic_play_white_size01" src="../../images/universalpic_play_white_size01.png" />
19
+          <image class="universalpic_play_white_size01" src="../../images/universalpic_play_white_size01.png" wx:if="{{IsPlaying}}" />
20
+          <image class="pause_white_size01" src="../../images/pause_white_size01.png" wx:if="{{!IsPlaying}}" />
22 21
         </view>
23 22
       </view>
24 23
     </view>
25 24
   </view>
25
+
26
+
26 27
   <view class="panel2 panel1 panel0 FlexRow">
27
-    <view class="panelLeft">答案</view>
28
+    <view class="panelLeft2">答案</view>
28 29
     <view>
29 30
     </view>
30 31
   </view>
31
-
32
+  <view class="panel0 FlexRow">
33
+    <view class="panelLeft">题号快翻</view>
34
+    <view class="panelRight FlexRow">
35
+      <view class="btn1 btn" bindtap="scrollTop" data-id="0">1</view>
36
+      <view class="btn" bindtap="scrollTop" data-id="1">{{AnswerItem.QuestionList.length/3+1}}</view>
37
+      <view class="btn" bindtap="scrollTop" data-id="2">{{AnswerItem.QuestionList.length*2/3+1}}</view>
38
+    </view>
39
+  </view>
32 40
 
33 41
   <block wx:for="{{AnswerItem.QuestionList}}" wx:key="index">
34 42
     <block wx:if="{{(index % (AnswerItem.QuestionList.length/3))==0 }}">
35
-      <view id="panelRowTop{{index / (AnswerItem.QuestionList.length/3)}}" class="panelRowTop panel0 FlexRow">
43
+      <view id="panelRowTop{{index / (AnswerItem.QuestionList.length/3)}}" class="panelRowTop FlexRow">
36 44
         <view class="panelLeft1 panelLeft">第
37 45
           <block wx:if="{{index / (AnswerItem.QuestionList.length/3)==0}}">一</block>
38 46
           <block wx:if="{{index / (AnswerItem.QuestionList.length/3)==1}}">二</block>
@@ -60,7 +68,7 @@
60 68
         </view>
61 69
         <image class="formula_btn_show" src="../../images/formula_btn_show.png" wx:if="{{item.Vertical && !item.IsShowVertical}}" />
62 70
         <image class="formula_btn_show" src="../../images/formula_btn_hide.png" wx:if="{{item.Vertical && item.IsShowVertical}}" />
63
-    </view>
71
+      </view>
64 72
     </view>
65 73
     <!-- 算式(加减乘) -->
66 74
     <view class="panelRowBody panel0 FlexColumn" wx:if="{{item.Vertical && item.OperateAB!='÷' && item.IsShowVertical}}">
@@ -97,88 +105,7 @@
97 105
     </view>
98 106
 
99 107
   </block>
100
-
101
-  <!-- <view class="panelRowBody panel0 FlexRow">
102
-    <view class="panelLeft FlexRow">
103
-      <view class="number">1</view>
104
-      <view class="answer">7</view>
105
-    </view>
106
-    <view class="panelRight FlexRow">
107
-      <view class="equation">1 + 6 =</view>
108
-      <image class="formula_btn_show" src="../../images/formula_btn_show.png" />
109
-    </view>
110
-  </view>
111
-  <view class="line FlexRow">
112
-    <view class="line1"></view>
113
-  </view>
114
-  <view class="panelRowBody panel0 FlexRow">
115
-    <view class="panelLeft FlexRow">
116
-      <view class="number">2</view>
117
-      <view class="answer">28</view>
118
-    </view>
119
-    <view class="panelRight FlexRow">
120
-      <view class="equation">159 -131 =</view>
121
-      <image class="formula_btn_show" src="../../images/formula_btn_show.png" />
122
-    </view>
123
-  </view>
124
-  <view class="line FlexRow">
125
-    <view class="line1"></view>
126
-  </view>
127
-  <view class="panelRowBody panel0 FlexRow">
128
-    <view class="panelLeft FlexRow">
129
-      <view class="number">3</view>
130
-      <view class="answer">553500</view>
131
-    </view>
132
-    <view class="panelRight FlexRow">
133
-      <view class="equation">123 × 4500 =</view>
134
-      <image class="formula_btn_show" src="../../images/formula_btn_hide.png" />
135
-    </view>
136
-  </view>
137
-
138
-  <view class="panelRowBody panel0 FlexColumn">
139
-    <view class="panelAnswer FlexColumn">
140
-      <view class="panelAnswerRow FlexRow" wx:for='{{TestDivEquation1}}' wx:key="index">
141
-        <view class="panelAnswerCol FlexRow" wx:for='{{item.Array}}' wx:key="i" wx:for-item="col" wx:for-index="i">
142
-          <view class="colNumber" wx:if="{{item.Type=='number' && col!='√' && col!='.'}}">{{col}}</view>
143
-          <view class="colDot" wx:if="{{item.Type=='number' && col=='.'}}">{{col}}</view>
144
-          <image wx:if="{{item.Type=='number' && col=='√'}}" class="formula_division_size01" src="../../images/formula_division_size01.png" />
145
-          <view class="colLine" wx:if="{{item.Type=='line' && col=='1'}}"></view>
146
-          <view class="colLineHalf" wx:if="{{item.Type=='line' && col=='0.5'}}"></view>
147
-          <view class="colLineNull" wx:if="{{item.Type=='line' && col==''}}"></view>
148
-        </view>
149
-      </view>
150
-    </view>
151
-  </view>
152
-  <view class="line FlexRow">
153
-    <view class="line1"></view>
154
-  </view>
155
-  <view class="panelRowBody panel0 FlexRow">
156
-    <view class="panelLeft FlexRow">
157
-      <view class="number">4</view>
158
-      <view class="answer">0.625</view>
159
-    </view>
160
-    <view class="panelRight FlexRow">
161
-      <view class="equation">35 ÷ 56 =</view>
162
-      <image class="formula_btn_show" src="../../images/formula_btn_hide.png" />
163
-    </view>
164
-  </view> 
165
-  <view class="panelRowBody panel0 FlexColumn">
166
-    <view class="panelAnswer FlexColumn">
167
-      <view class="panelAnswerRow FlexRow" wx:for='{{TestDivEquation2}}' wx:key="index">
168
-        <view class="panelAnswerCol FlexRow" wx:for='{{item.Array}}' wx:key="i" wx:for-item="col" wx:for-index="i">
169
-          <view class="colNumber" wx:if="{{item.Type=='number' && col!='√' && col!='.'}}">{{col}}</view>
170
-          <view class="colDot" wx:if="{{item.Type=='number' && col=='.'}}">{{col}}</view>
171
-          <image wx:if="{{item.Type=='number' && col=='√'}}" class="formula_division_size01" src="../../images/formula_division_size01.png" />
172
-          <view class="colLine" wx:if="{{item.Type=='line' && col=='1'}}"></view>
173
-          <view class="colLineHalf" wx:if="{{item.Type=='line' && col=='0.5'}}"></view>
174
-          <view class="colLineNull" wx:if="{{item.Type=='line' && col==''}}"></view>
175
-        </view>
176
-      </view>
177
-    </view>
178
-  </view>
179
-  -->
180
-
181
-
182
-
183
-
184
-</view>
108
+  <view wx:if="{{AnswerItem.PageCount<60}}" class="panelRowBody panel0 FlexRow" wx:for="{{[1,2,3]}}" wx:key="i"></view>
109
+  
110
+</view>
111
+<audio hidden='true' id="myAudio" bindended='onPlayEnded'></audio>

+ 35 - 3
pages/main/item.wxss

@@ -14,6 +14,10 @@
14 14
   margin-left: 30rpx;
15 15
   font-size: 28rpx;
16 16
 }
17
+.panelLeft2{
18
+  margin-left: 30rpx;
19
+  font-size: 32rpx;
20
+}
17 21
 
18 22
 .panelRight{
19 23
   margin-right: 30rpx;
@@ -69,13 +73,30 @@
69 73
   height: 30rpx;
70 74
 }
71 75
 
76
+.pause_white_size01{
77
+  width: 30rpx;
78
+  height: 30rpx;
79
+}
72 80
 .panel2 {
73 81
   background-color: #F0F0F0;
74 82
 }
75 83
 
84
+.panel3 {
85
+  margin:20rpx 0 20rpx 0;
86
+  border-bottom: 1rpx solid #D2D2D2;
87
+}
88
+
89
+
90
+.panel4 {
91
+  height:120rpx;
92
+  border-bottom: 1rpx solid #D2D2D2;
93
+}
94
+
76 95
 .panelRowTop{
77 96
   background-color: #D2D2D2;
78 97
   height:50rpx;
98
+  width:100%;
99
+  justify-content: space-between;
79 100
 }
80 101
 
81 102
 .panelRowTop .panelLeft1{
@@ -137,9 +158,6 @@
137 158
   align-items: flex-start;
138 159
 }
139 160
 
140
-.panelAnswer .panelAnswerRow{
141
-}
142
-
143 161
 .panelAnswer .panelAnswerCol{
144 162
   justify-content: flex-start;
145 163
 }
@@ -182,4 +200,18 @@
182 200
   height:2rpx;
183 201
   margin: 0rpx 0 0 28rpx;
184 202
   background-color: #000;
203
+}
204
+
205
+.imageShow{
206
+  width: 65rpx;
207
+  height:92rpx;
208
+  border-radius: 2rpx;
209
+  background-color: #dddddd;
210
+  margin: 10rpx 60rpx 0 0;
211
+}
212
+
213
+.universalpic_indicator_pink{
214
+  width: 16rpx;
215
+  height:26rpx;
216
+  margin-right: 30rpx;
185 217
 }

+ 7 - 1
project.config.json

@@ -30,7 +30,7 @@
30 30
 			"list": []
31 31
 		},
32 32
 		"miniprogram": {
33
-			"current": 1,
33
+			"current": 3,
34 34
 			"list": [
35 35
 				{
36 36
 					"id": 0,
@@ -49,6 +49,12 @@
49 49
 					"name": "print",
50 50
 					"pathName": "pages/main/print",
51 51
 					"query": "id=172"
52
+				},
53
+				{
54
+					"id": -1,
55
+					"name": "item",
56
+					"pathName": "pages/main/item",
57
+					"query": "id=46"
52 58
 				}
53 59
 			]
54 60
 		}