4b83c618 by simon

默认提交

1 parent 82f3a7a6
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
3 <view class="tit">{{productInfo.productName}}</view> 3 <view class="tit">{{productInfo.productName}}</view>
4 <view class="img-wrap"> 4 <view class="img-wrap">
5 <swiper class="swiper" indicator-color="rgba(0,0,0,.3)" indicator-active-color="rgba(255,255,255,1)" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{5000}}" duration="{{500}}"> 5 <swiper class="swiper" indicator-color="rgba(0,0,0,.3)" indicator-active-color="rgba(255,255,255,1)" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{5000}}" duration="{{500}}">
6 <block wx:for="{{productInfo.productImages}}" wx:key="{{index}}"> 6 <block wx:for="{{productInfo.productImages}}" wx:key="index">
7 <swiper-item> 7 <swiper-item>
8 <image class="swiper-image" src="{{item}}" mode="aspectFill" /> 8 <image class="swiper-image" src="{{item}}" mode="aspectFill" />
9 </swiper-item> 9 </swiper-item>
......
...@@ -2,7 +2,7 @@ let ENV_CONFIG = require('./env/index'); ...@@ -2,7 +2,7 @@ let ENV_CONFIG = require('./env/index');
2 2
3 const APPID = '' 3 const APPID = ''
4 /** ====每次发布版本记得修改此环境配置==== */ 4 /** ====每次发布版本记得修改此环境配置==== */
5 const ENV = 'Prod'; // Dev Prod 5 const ENV = 'Dev'; // Dev Prod
6 const NET_CONFIG = ENV_CONFIG[ENV]; 6 const NET_CONFIG = ENV_CONFIG[ENV];
7 const MOCKAPI = ENV_CONFIG.mockApi; 7 const MOCKAPI = ENV_CONFIG.mockApi;
8 8
......
...@@ -52,6 +52,9 @@ module.exports = { ...@@ -52,6 +52,9 @@ module.exports = {
52 seckillSubmit: '/seckill/submit', // post 提交秒杀订单 52 seckillSubmit: '/seckill/submit', // post 提交秒杀订单
53 seckillMine: '/seckill/order', // post 我的秒杀产品 53 seckillMine: '/seckill/order', // post 我的秒杀产品
54 54
55 // 提现
56 pointsWithDraw: '/points/withdraw',
57
55 areaQuery: 'https://api.k.wxpai.cn/bizproxy/kdapi/area', // post 区域查询 58 areaQuery: 'https://api.k.wxpai.cn/bizproxy/kdapi/area', // post 区域查询
56 59
57 uploadFile: '/kdapi/file/upload' //上传图片通用接口 60 uploadFile: '/kdapi/file/upload' //上传图片通用接口
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
6 <view class="content"> 6 <view class="content">
7 <!-- 地址 item --> 7 <!-- 地址 item -->
8 <view class="manage-wrap"> 8 <view class="manage-wrap">
9 <view wx:for="{{receiverList}}" wx:key="{{index}}" class="cont-wrap form"> 9 <view wx:for="{{receiverList}}" wx:key="index" class="cont-wrap form">
10 <view bindtap="onSetDefaultHandler" data-data="{{item}}" class="ebg"></view> 10 <view bindtap="onSetDefaultHandler" data-data="{{item}}" class="ebg"></view>
11 <view class="form-tit"> 11 <view class="form-tit">
12 <view class="address-message"> 12 <view class="address-message">
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <!-- 产品图 --> 9 <!-- 产品图 -->
10 <view class="img-wrap"> 10 <view class="img-wrap">
11 <swiper class="swiper" indicator-color="rgba(0,0,0,.3)" indicator-active-color="rgba(255,255,255,1)" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{5000}}" duration="{{500}}"> 11 <swiper class="swiper" indicator-color="rgba(0,0,0,.3)" indicator-active-color="rgba(255,255,255,1)" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{5000}}" duration="{{500}}">
12 <block wx:for="{{productInfo.auctionImages}}" wx:key="{{index}}"> 12 <block wx:for="{{productInfo.auctionImages}}" wx:key="index">
13 <swiper-item> 13 <swiper-item>
14 <image class="swiper-image" src="{{item}}" mode="aspectFit" /> 14 <image class="swiper-image" src="{{item}}" mode="aspectFit" />
15 </swiper-item> 15 </swiper-item>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
10 <view bindtap="onShowAuctionMineHandler" class="btn">我的竞价</view> 10 <view bindtap="onShowAuctionMineHandler" class="btn">我的竞价</view>
11 </view> 11 </view>
12 <view class="list"> 12 <view class="list">
13 <view bindtap="onDetailHandler" data-data="{{item}}" data-index="{{index}}" wx:for="{{dataList}}" wx:key="{{index}}" class="border list-item"> 13 <view bindtap="onDetailHandler" data-data="{{item}}" data-index="{{index}}" wx:for="{{dataList}}" wx:key="index" class="border list-item">
14 <view class="prize"> 14 <view class="prize">
15 <image class="image" mode="aspectFill" src="{{item.auctionImages && item.auctionImages[0] || ''}}" /> 15 <image class="image" mode="aspectFill" src="{{item.auctionImages && item.auctionImages[0] || ''}}" />
16 </view> 16 </view>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <view class="top-space"></view> 7 <view class="top-space"></view>
8 <view class="content"> 8 <view class="content">
9 <view class="list"> 9 <view class="list">
10 <view wx:for="{{dataList}}" wx:key="{{index}}" class="border list-item"> 10 <view wx:for="{{dataList}}" wx:key="index" class="border list-item">
11 <view class="prize"> 11 <view class="prize">
12 <image class="image" mode="aspectFill" src="{{item.auctionImages && item.auctionImages[0] || ''}}" /> 12 <image class="image" mode="aspectFill" src="{{item.auctionImages && item.auctionImages[0] || ''}}" />
13 </view> 13 </view>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
19 <view class="upload"> 19 <view class="upload">
20 <view class="tips">上传照片</view> 20 <view class="tips">上传照片</view>
21 <view class="upload-file"> 21 <view class="upload-file">
22 <view class="upload-file-item" wx:for="{{files}}" wx:key="{{index}}"> 22 <view class="upload-file-item" wx:for="{{files}}" wx:key="index">
23 <image class="thumb" src="{{item.path}}" mode="aspectFill" /> 23 <image class="thumb" src="{{item.path}}" mode="aspectFill" />
24 <span class="iconfont iconclose1 remove" data-index="{{index}}" bindtap="remove"></span> 24 <span class="iconfont iconclose1 remove" data-index="{{index}}" bindtap="remove"></span>
25 </view> 25 </view>
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 </view> 58 </view>
59 <view class="content"> 59 <view class="content">
60 <view class="product"> 60 <view class="product">
61 <view class="product-item" wx:for="{{productList}}" wx:key="{{index}}"> 61 <view class="product-item" wx:for="{{productList}}" wx:key="index">
62 <view class="image-wrap"> 62 <view class="image-wrap">
63 <image class="image" mode="aspectFit" src="{{item.commodityThumbnail}}" /> 63 <image class="image" mode="aspectFit" src="{{item.commodityThumbnail}}" />
64 </view> 64 </view>
......
1 import { 1 import {
2 getBindtapData, 2 getBindtapData,
3 getQueryByUrl 3 getQueryByUrl,
4 Fen2Yuan
4 } from '../../utils/util'; 5 } from '../../utils/util';
5 6
6 let app = getApp(); 7 let app = getApp();
...@@ -8,6 +9,7 @@ Page({ ...@@ -8,6 +9,7 @@ Page({
8 data: { 9 data: {
9 authorizeVisible: false, 10 authorizeVisible: false,
10 productDetailVisible: false, 11 productDetailVisible: false,
12 signTipsCompVisible: false,
11 bannerList: [], // 轮播图列表 13 bannerList: [], // 轮播图列表
12 total: 0, 14 total: 0,
13 page: 1, 15 page: 1,
...@@ -219,6 +221,65 @@ Page({ ...@@ -219,6 +221,65 @@ Page({
219 }, 221 },
220 222
221 /** 223 /**
224 * 奖金详情
225 */
226 onIntegralDetailHandler(evt) {
227 app.router.push({
228 path: "integralDetail"
229 })
230 },
231
232 /**
233 * 奖金兑换
234 */
235 onCashExchangeHanler(evt) {
236 let _this = this;
237 // let {
238 // userInfo
239 // } = this.data;
240 // let memberPoints = userInfo.memberPoints || 0;
241 let minPoints = Fen2Yuan(500);
242
243 wx.showModal({
244 title: '提示',
245 content: `确认兑换所有奖金?\r\n(余额满${minPoints}元才能提现)`,
246 success(res) {
247 if (res.confirm) {
248 _this.queryPointsWithDraw();
249 } else {}
250 }
251 });
252 },
253
254 // 提现
255 queryPointsWithDraw() {
256 console.log("queryPointsWithDraw");
257 let _this = this;
258 app.post({
259 toast: false,
260 url: app.api.pointsWithDraw,
261 data: {}
262 }).then((result) => {
263 console.log("result:", result);
264 wx.showModal({
265 content: '兑换成功',
266 success(res) {}
267 })
268 }).catch((err) => {
269 if (err.code == 1002) {
270 _this.setData({
271 signTipsCompVisible: true,
272 })
273 } else {
274 wx.showToast({
275 title: res.errMsg || "您未达到兑换条件",
276 icon: 'none'
277 })
278 }
279 });
280 },
281
282 /**
222 * 请求产品 283 * 请求产品
223 */ 284 */
224 queryProduct() { 285 queryProduct() {
...@@ -421,7 +482,6 @@ Page({ ...@@ -421,7 +482,6 @@ Page({
421 } 482 }
422 }, 483 },
423 484
424
425 /** 485 /**
426 * 绑定手输code 486 * 绑定手输code
427 * @param {*} e 487 * @param {*} e
...@@ -436,6 +496,7 @@ Page({ ...@@ -436,6 +496,7 @@ Page({
436 this.setData({ 496 this.setData({
437 authorizeVisible: false, 497 authorizeVisible: false,
438 productDetailVisible: false, 498 productDetailVisible: false,
499 signTipsCompVisible:false,
439 }) 500 })
440 }, 501 },
441 // 子组件事件 502 // 子组件事件
...@@ -460,6 +521,17 @@ Page({ ...@@ -460,6 +521,17 @@ Page({
460 this.hideMask(); 521 this.hideMask();
461 break; 522 break;
462 523
524 // 去验证
525 case "_evt_to_verify":
526 this.hideMask();
527 this.toVipLoginHandler();
528 break;
529
530 // 暂不验证
531 case "_evt_not_verify":
532 this.hideMask();
533 break;
534
463 default: 535 default:
464 break; 536 break;
465 } 537 }
......
...@@ -12,13 +12,13 @@ ...@@ -12,13 +12,13 @@
12 <view class="icon-t1">点击扫码</view> 12 <view class="icon-t1">点击扫码</view>
13 </view> 13 </view>
14 <view class="data"> 14 <view class="data">
15 <view class="data-item"> 15 <view class="data-item" bindtap="onCashExchangeHanler">
16 <view class="data-item-t1"> 16 <view class="data-item-t1">
17 {{userInfo&&userInfo.memberPoints ? filter.Fen2Yuan(userInfo.memberPoints) + '元' : '-' }} 17 {{userInfo&&userInfo.memberPoints ? filter.Fen2Yuan(userInfo.memberPoints) + '元' : '-' }}
18 </view> 18 </view>
19 <view class="data-item-t2">我的奖金</view> 19 <view class="data-item-t2">奖金兑换</view>
20 </view> 20 </view>
21 <view class="data-item"> 21 <view class="data-item" bindtap="onIntegralDetailHandler">
22 <view class="data-item-t1">{{userInfo ? userInfo.promotionNum + '人' : '-' }}</view> 22 <view class="data-item-t1">{{userInfo ? userInfo.promotionNum + '人' : '-' }}</view>
23 <view class="data-item-t2">推广人数</view> 23 <view class="data-item-t2">推广人数</view>
24 </view> 24 </view>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
63 <!-- 轮播 banner --> 63 <!-- 轮播 banner -->
64 <view class="banner"> 64 <view class="banner">
65 <swiper class="swiper" indicator-color="rgba(0,0,0,.3)" indicator-active-color="rgba(255,255,255,1)" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{5000}}" duration="{{500}}"> 65 <swiper class="swiper" indicator-color="rgba(0,0,0,.3)" indicator-active-color="rgba(255,255,255,1)" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{5000}}" duration="{{500}}">
66 <block wx:for="{{bannerList}}" wx:key="{{index}}"> 66 <block wx:for="{{bannerList}}" wx:key="index">
67 <swiper-item> 67 <swiper-item>
68 <image class="swiper-image" src="{{item}}" mode="aspectFill" /> 68 <image class="swiper-image" src="{{item}}" mode="aspectFill" />
69 </swiper-item> 69 </swiper-item>
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
76 <view class="product-title">产品推荐{{codeStr}}</view> 76 <view class="product-title">产品推荐{{codeStr}}</view>
77 <view class="product-list"> 77 <view class="product-list">
78 <!-- for循环 --> 78 <!-- for循环 -->
79 <view bindtap="onProductItemHandler" data-data="{{item}}" wx:for="{{productList}}" wx:key="{{index}}" class="item"> 79 <view bindtap="onProductItemHandler" data-data="{{item}}" wx:for="{{productList}}" wx:key="index" class="item">
80 <image class="image" mode="aspectFill" src="{{item.productImages[0]}}" /> 80 <image class="image" mode="aspectFill" src="{{item.productImages[0]}}" />
81 <view class="desc">{{item.productInfo}}</view> 81 <view class="desc">{{item.productInfo}}</view>
82 </view> 82 </view>
...@@ -91,3 +91,6 @@ ...@@ -91,3 +91,6 @@
91 <van-popup show="{{ authorizeVisible }}"> 91 <van-popup show="{{ authorizeVisible }}">
92 <authorize-comp bind:evtcomp="evtcomp"></authorize-comp> 92 <authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
93 </van-popup> 93 </van-popup>
94 <van-popup show="{{ signTipsCompVisible }}">
95 <sign-tips-comp bind:evtcomp="evtcomp"></sign-tips-comp>
96 </van-popup>
......
...@@ -61,6 +61,13 @@ Page({ ...@@ -61,6 +61,13 @@ Page({
61 pointsType: "exchange", 61 pointsType: "exchange",
62 type: "exchangeNum", 62 type: "exchangeNum",
63 }, 63 },
64 {
65 t1: "",
66 t2: "提现奖金",
67 index: "6",
68 pointsType: "withdraw",
69 type: "withdrawNum",
70 },
64 ], 71 ],
65 }, 72 },
66 onShareAppMessage() {}, 73 onShareAppMessage() {},
...@@ -257,6 +264,11 @@ Page({ ...@@ -257,6 +264,11 @@ Page({
257 status = "exchange"; 264 status = "exchange";
258 break; 265 break;
259 266
267 // 提现
268 case "6":
269 status = "withdraw";
270 break;
271
260 default: 272 default:
261 break; 273 break;
262 } 274 }
......
...@@ -154,9 +154,11 @@ $contentWidth:690px; ...@@ -154,9 +154,11 @@ $contentWidth:690px;
154 flex-wrap: wrap; 154 flex-wrap: wrap;
155 155
156 .t1 { 156 .t1 {
157 font-size: 28px; 157 // font-size: 28px;
158 font-size: 22px;
158 width: 100%; 159 width: 100%;
159 text-align: center; 160 text-align: center;
161 font-weight: bold;
160 } 162 }
161 163
162 .t2 { 164 .t2 {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
26 </view> 26 </view>
27 <!-- 标签 --> 27 <!-- 标签 -->
28 <view class="tag"> 28 <view class="tag">
29 <view bindtap="onNavSelectHandler" data-data="{{item}}" data-index="{{index}}" wx:for="{{navList}}" wx:key="{{index}}" class="tag-item"> 29 <view bindtap="onNavSelectHandler" data-data="{{item}}" data-index="{{index}}" wx:for="{{navList}}" wx:key="index" class="tag-item">
30 <image wx:if="{{navIndex==index}}" class="ebg" mode="aspectFit" src="../../image/icon/icon-integral-tag.png" /> 30 <image wx:if="{{navIndex==index}}" class="ebg" mode="aspectFit" src="../../image/icon/icon-integral-tag.png" />
31 <view class="desc {{navIndex == index ? 'act' : ''}}"> 31 <view class="desc {{navIndex == index ? 'act' : ''}}">
32 <view class="t1">{{index == 5 ? '-' : ''}}{{ index == 0 ? item.t1 : filter.Fen2Yuan(item.t1) }}</view> 32 <view class="t1">{{index == 5 ? '-' : ''}}{{ index == 0 ? item.t1 : filter.Fen2Yuan(item.t1) }}</view>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
43 </view> 43 </view>
44 <!-- 奖金 --> 44 <!-- 奖金 -->
45 <view class="integral"> 45 <view class="integral">
46 <view wx:for="{{dataList}}" wx:key="{{item}}" class="integral-item"> 46 <view wx:for="{{dataList}}" wx:key="item" class="integral-item">
47 <view class="tt t1">{{item.time}}</view> 47 <view class="tt t1">{{item.time}}</view>
48 <view class="tt t2">{{item.words}}</view> 48 <view class="tt t2">{{item.words}}</view>
49 <view class="tt t3">{{item.subTitle}}</view> 49 <view class="tt t3">{{item.subTitle}}</view>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <view bindtap="deleteAll" class="func-item func-item2">删除已读消息</view> 9 <view bindtap="deleteAll" class="func-item func-item2">删除已读消息</view>
10 </view> 10 </view>
11 <view class="news"> 11 <view class="news">
12 <view wx:for="{{dataList}}" wx:key="{{index}}" class="border news-item"> 12 <view wx:for="{{dataList}}" wx:key="index" class="border news-item">
13 <view class="tit"> 13 <view class="tit">
14 <view class="tit-item"> 14 <view class="tit-item">
15 {{item.announcementTitle}} 15 {{item.announcementTitle}}
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
30 </view> 30 </view>
31 <!-- 卡片 --> 31 <!-- 卡片 -->
32 <view class="card"> 32 <view class="card">
33 <view wx:for="{{dataList}}" wx:key="{{index}}" class="border card-item"> 33 <view wx:for="{{dataList}}" wx:key="index" class="border card-item">
34 <view class="no">订单编号:{{item.orderCode}}</view> 34 <view class="no">订单编号:{{item.orderCode}}</view>
35 <view class="line"></view> 35 <view class="line"></view>
36 <view class="cont"> 36 <view class="cont">
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 <view class="top-space"></view> 5 <view class="top-space"></view>
6 <view class="content"> 6 <view class="content">
7 <view class="gift"> 7 <view class="gift">
8 <view wx:for="{{dataList}}" wx:key="{{index}}" class="border gift-item"> 8 <view wx:for="{{dataList}}" wx:key="index" class="border gift-item">
9 <view class="prize"> 9 <view class="prize">
10 <image wx:if="{{item.prizeType == 'packet'}}" class="image" mode="aspectFit" src="../../image/icon/icon-gift-red-package.png" /> 10 <image wx:if="{{item.prizeType == 'packet'}}" class="image" mode="aspectFit" src="../../image/icon/icon-gift-red-package.png" />
11 <image wx:else class="image" mode="aspectFit" src="../../image/icon/icon-gift-integral.png" /> 11 <image wx:else class="image" mode="aspectFit" src="../../image/icon/icon-gift-integral.png" />
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
68 </view> 68 </view>
69 <!-- 排行item --> 69 <!-- 排行item -->
70 <scroll-view bindscrolltolower="onRankScrolltolower" scroll-y="{{true}}" class="item-wrap"> 70 <scroll-view bindscrolltolower="onRankScrolltolower" scroll-y="{{true}}" class="item-wrap">
71 <view wx:for="{{rankInfo.memberList}}" wx:key="{{index}}" class="rank-item {{item.rank == '1' ? 'rank-item-first':''}}"> 71 <view wx:for="{{rankInfo.memberList}}" wx:key="index" class="rank-item {{item.rank == '1' ? 'rank-item-first':''}}">
72 <view class="no"> 72 <view class="no">
73 <image wx:if="{{item.rank == '1'}}" class="medal" mode="aspectFit" src="../../image/icon/icon-medal.png" /> 73 <image wx:if="{{item.rank == '1'}}" class="medal" mode="aspectFit" src="../../image/icon/icon-medal.png" />
74 <span wx:else>{{item.rank}}</span> 74 <span wx:else>{{item.rank}}</span>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <!-- 产品图 --> 9 <!-- 产品图 -->
10 <view class="img-wrap"> 10 <view class="img-wrap">
11 <swiper class="swiper" indicator-color="rgba(0,0,0,.3)" indicator-active-color="rgba(255,255,255,1)" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{5000}}" duration="{{500}}"> 11 <swiper class="swiper" indicator-color="rgba(0,0,0,.3)" indicator-active-color="rgba(255,255,255,1)" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{5000}}" duration="{{500}}">
12 <block wx:for="{{productInfo.seckillImages}}" wx:key="{{index}}"> 12 <block wx:for="{{productInfo.seckillImages}}" wx:key="index">
13 <swiper-item> 13 <swiper-item>
14 <image class="swiper-image" src="{{item}}" mode="aspectFit" /> 14 <image class="swiper-image" src="{{item}}" mode="aspectFit" />
15 </swiper-item> 15 </swiper-item>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
10 <view bindtap="onShowSeckillMineHandler" class="btn">我的秒杀</view> 10 <view bindtap="onShowSeckillMineHandler" class="btn">我的秒杀</view>
11 </view> 11 </view>
12 <view class="list"> 12 <view class="list">
13 <view bindtap="onDetailHandler" data-data="{{item}}" data-index="{{index}}" wx:for="{{dataList}}" wx:key="{{index}}" class="border list-item"> 13 <view bindtap="onDetailHandler" data-data="{{item}}" data-index="{{index}}" wx:for="{{dataList}}" wx:key="index" class="border list-item">
14 <view class="prize"> 14 <view class="prize">
15 <image class="image" mode="aspectFill" src="{{item.seckillImages && item.seckillImages[0] || ''}}" /> 15 <image class="image" mode="aspectFill" src="{{item.seckillImages && item.seckillImages[0] || ''}}" />
16 </view> 16 </view>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <view class="top-space"></view> 7 <view class="top-space"></view>
8 <view class="content"> 8 <view class="content">
9 <view class="list"> 9 <view class="list">
10 <view wx:for="{{dataList}}" wx:key="{{index}}" class="border list-item"> 10 <view wx:for="{{dataList}}" wx:key="index" class="border list-item">
11 <view class="prize"> 11 <view class="prize">
12 <image class="image" mode="aspectFill" src="{{item.seckillImages && item.seckillImages[0] || ''}}" /> 12 <image class="image" mode="aspectFill" src="{{item.seckillImages && item.seckillImages[0] || ''}}" />
13 </view> 13 </view>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
25 </picker> 25 </picker>
26 </view> 26 </view>
27 <view class="sign"> 27 <view class="sign">
28 <view wx:for="{{dataList}}" wx:key="{{index}}" class="sign-item"> 28 <view wx:for="{{dataList}}" wx:key="index" class="sign-item">
29 <view class="date">{{item.signTime}}</view> 29 <view class="date">{{item.signTime}}</view>
30 <view class="desc"> 30 <view class="desc">
31 签到成功,获得 31 签到成功,获得
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
48 </view> 48 </view>
49 <!-- 7天签到 --> 49 <!-- 7天签到 -->
50 <view class="check"> 50 <view class="check">
51 <view wx:for="{{signInfo}}" wx:key="{{index}}" class="check-item {{item ? 'check-item-act' :''}}"> 51 <view wx:for="{{signInfo}}" wx:key="index" class="check-item {{item ? 'check-item-act' :''}}">
52 <view wx:if="{{index != 0}}" class="line"></view> 52 <view wx:if="{{index != 0}}" class="line"></view>
53 <view class="day"> 53 <view class="day">
54 <view class="circle">{{index+1}}</view> 54 <view class="circle">{{index+1}}</view>
......