Authored by 肖亚东

UI变更以及验收问题修改

<view wx:if="{{label}}" class="comp-count-dow-by-now">
<text class="tips">{{label}}</text>
<!-- <text class="number">{{days}}</text>
<text class="number">{{hours}}:</text>
<text class="number">{{minutes}}:</text>
<text class="number">{{seconds}}</text> -->
<text class="time">{{days}}</text>
<text class="text">天</text>
<text class="time">{{hours}}</text>
<text class="text">时</text>
<text class="time">{{minutes}}</text>
<text class="text">分</text>
<text class="time">{{seconds}}</text>
<text class="text">秒</text>
<text class="time">{{fullContent}}</text>
<!-- <text class="time">{{fullContent}}</text> -->
</view>
... ...
... ... @@ -22,9 +22,20 @@
.comp-count-dow-by-now .time {
display: inline-block;
font-size: 72rpx;
font-size: 60rpx;
font-family: PingFang-SC-Heavy;
font-weight: bold;
color: #222222;
letter-spacing: -0.31px;
}
.comp-count-dow-by-now .text {
font-family: PingFang-SC-Heavy;
font-weight: bold;
font-size: 20rpx;
color: #222222;
letter-spacing: -0.31px;
margin-top: 28rpx;
margin-left: 6rpx;
margin-right: 6rpx;
}
\ No newline at end of file
... ...
... ... @@ -403,6 +403,7 @@ Page(Object.assign({
isNew: res.data.isNew ? res.data.isNew : '',
currentTime: res.data.currentTime ? res.data.currentTime : '',
oldSaleTime: res.data.oldSaleTime ? res.data.oldSaleTime : '',
isApp: res.data.isApp=='Y' ? true : false,
});
} else {
return Promise.reject();
... ... @@ -512,6 +513,15 @@ Page(Object.assign({
}
},
assistShare(e) {
if (this.data.isApp) {
wx.showModal({
title: '',
content: '请打开有货APP参与活动',
showCancel: false
})
return;
}
if (!app.getUid()) {
this.goLogin();
return;
... ... @@ -667,19 +677,17 @@ Page(Object.assign({
3、限定球鞋每周免费送',
confirmText: '去关注',
showCancel: false,
success(res) {
if (res.confirm) {
wx.setClipboardData({
data: 'YOHOBUY有货',
success(res) {
wx.showToast({
icon: 'none',
title: '公众号“YOHOBUY有货”,已复制成功,打开微信去搜索关注吧!',
duration: 3000
});
}
})
}
complete() {
wx.setClipboardData({
data: 'YOHOBUY有货',
complete() {
wx.showToast({
icon: 'none',
title: '公众号“YOHOBUY有货”,已复制成功,打开微信去搜索关注吧!',
duration: 3000
});
}
})
}
})
},
... ...