Authored by lea guo

yohood抽奖原价购

... ... @@ -230,22 +230,6 @@ Page(
this._loadGroupList(page);
},
goToGroupMiniApp(e) {
yasReport(YB_LUCK_DT_GDS_C, {
ACTIVITY_ID: this.data.actPrizeId,
PRD_SKN: e.detail.product_skn,
TAB_ID: this.data.tabIdx,
});
wx.navigateToMiniProgram({
appId: 'wx207f18be42db9028',
path: `pages/group/detail?productSkn=${
e.detail.product_skn
}&activityId=${e.detail.activity_id}&page_param=${
e.detail.activity_id
}`,
});
},
_getMineCode() {
if (this.data.uid) {
this.service
... ... @@ -254,7 +238,7 @@ Page(
actPrizeId: this.data.actPrizeId,
})
.then(res => {
let len = res.data.length > 3 ? 3 : res.data.length;
let len = res.data.length;
if (len) {
res.data.map(value => {
value.user_thumb = formatImageUrl(value.user_thumb, 60, 60);
... ... @@ -542,10 +526,6 @@ Page(
};
}
},
goList(e) {
let tab = e.target.dataset.index;
router.go('index', { tabIndex: tab || 0, reload: 0 });
},
reportSuccess({ detail }) {
yasReport(YB_LUCK_DT_JOIN_C, { ACTIVITY_ID: detail });
},
... ...
... ... @@ -15,7 +15,7 @@
<view class="code-list-item">
<view class="content"></view>
</view>
<view class="code-list-item" wx:for="{{codeList}}" wx:if="{{index < 3}}" wx:key="{{index}}">
<view class="code-list-item" wx:for="{{codeList}}" wx:key="{{index}}">
<view class="content">
<image class="thumb" mode="widthFix" src="{{item.user_thumb}}"></image>
<view class="text">
... ... @@ -26,7 +26,6 @@
</view>
<image class="shadow" src="https://img11.static.yhbimg.com/yhb-img01/2018/12/27/19/0140fa3243af949068d2aabeedb0ea0666.png" mode="widthFix" wx:if="{{index == 2 && codeList.length>3 }}"></image>
</view>
<image src="./images/down.png" bindtap="goList" data-index="3" mode="widthFix" class="down" wx:if="{{codeList.length>3}}"></image>
</view>
</view>
</view>
... ...