|
|
@@ -83,6 +83,10 @@
|
|
|
<image class="img" src="/static/other/collect.png" mode="" />
|
|
|
<view class="val">收藏 <text>{{ collectNum }}</text> 人</view>
|
|
|
</view>
|
|
|
+ <view class="item" @click="goPoints">
|
|
|
+ <image class="img" src="/static/other/collect.png" mode="" />
|
|
|
+ <view class="val">积分 <text>{{ collectNum }}</text> 分</view>
|
|
|
+ </view>
|
|
|
<view class="item" @click="goCoupon">
|
|
|
<image class="img" src="/static/other/coupon.png" mode="" />
|
|
|
<view class="val">优惠券 <text>{{ couponNum }}</text> 张</view>
|
|
|
@@ -295,6 +299,13 @@ export default {
|
|
|
url: '/pages/my/collect'
|
|
|
});
|
|
|
},
|
|
|
+ //跳转至我的积分
|
|
|
+ goPoints(){
|
|
|
+ if (!this.$utils.checkLogin({ type: 'modal' })) return;
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/points/home/index'
|
|
|
+ });
|
|
|
+ },
|
|
|
onLogin() {
|
|
|
if (this.$utils.checkLogin()) return;
|
|
|
uni.navigateTo({
|