|
|
|
@ -16,8 +16,8 @@ |
|
|
|
|
<view class="right"> |
|
|
|
|
<view class="username" v-if="!user.name">请授权登录</view> |
|
|
|
|
<view class="username" v-else>{{user.name}}</view> |
|
|
|
|
<view class="font14 fcorfff" v-if="!user.gold">积分: 0</view> |
|
|
|
|
<view class="font14 fcorfff" v-else>积分: {{user.gold}} 个</view> |
|
|
|
|
<!-- <view class="font14 fcorfff" v-if="!user.gold">积分: 0</view> --> |
|
|
|
|
<!-- <view class="font14 fcorfff" v-else>积分: {{user.gold}} 个</view> --> |
|
|
|
|
<!-- <view class="signature" @tap="toSetting">{{user.signature}}</view> --> |
|
|
|
|
</view> |
|
|
|
|
<!-- 二维码按钮 --> |
|
|
|
@ -77,9 +77,9 @@ |
|
|
|
|
<uni-badge text="1" type="error" /> |
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
<uni-badge style="width: 20px;position: absolute; right: 53%;" v-if="row.text == '我的卡券' && textnum " |
|
|
|
|
<uni-badge style="width: 20px;position: absolute; right: 76%;" v-if="row.text == '我的卡券' && textnum " |
|
|
|
|
:text="textnum" type="error" size="normal"></uni-badge> |
|
|
|
|
<uni-badge style="width: 20px;position: absolute; right: 30%;" |
|
|
|
|
<uni-badge style="width: 20px;position: absolute; right: 53%;" |
|
|
|
|
v-if="row.text == '我的优惠券' && textSend " :text="textSend" type="error" size="normal"></uni-badge> |
|
|
|
|
<view class="img"> |
|
|
|
|
<image :src="imagewxUrl+row.img"></image> |
|
|
|
@ -115,7 +115,8 @@ |
|
|
|
|
<view class="list"> |
|
|
|
|
<view class="box" v-for="(row,index) in czList" :key="index" @tap="toPage(row.url,row.text)"> |
|
|
|
|
<view class="img"> |
|
|
|
|
<image :src="row.img"></image> |
|
|
|
|
<image :src="row.img" v-if="row.type != 1"></image> |
|
|
|
|
<image :src="imagewxUrl+row.img" v-else></image> |
|
|
|
|
</view> |
|
|
|
|
<view class="text">{{row.text}}</view> |
|
|
|
|
</view> |
|
|
|
@ -200,11 +201,11 @@ |
|
|
|
|
// text: '充值记录', |
|
|
|
|
// img: 'user/mingxi.png' |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
url: '/pages/goods/recording/recording?id=2', |
|
|
|
|
text: '消费记录', |
|
|
|
|
img: 'user/quan.png' |
|
|
|
|
}, |
|
|
|
|
// { |
|
|
|
|
// url: '/pages/goods/recording/recording?id=2', |
|
|
|
|
// text: '消费记录', |
|
|
|
|
// img: 'user/quan.png' |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
url: '/pages/user/mineCoupons/mineCoupons', |
|
|
|
|
text: '我的卡券', |
|
|
|
@ -218,21 +219,22 @@ |
|
|
|
|
], |
|
|
|
|
// 推广列表 |
|
|
|
|
mytgbarList: [ |
|
|
|
|
// { |
|
|
|
|
// url: '', |
|
|
|
|
// text: '客服', |
|
|
|
|
// img: 'user/kefu.png' |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
url: '../../login/login?id=1', |
|
|
|
|
text: '商户入口', |
|
|
|
|
img: 'user/point.png' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
url: '../../login/login?id=2', |
|
|
|
|
text: '我的推广', |
|
|
|
|
img: 'user/renw.png' |
|
|
|
|
url: '', |
|
|
|
|
text: '客服', |
|
|
|
|
img: 'user/kefu.png' |
|
|
|
|
} |
|
|
|
|
// , |
|
|
|
|
// { |
|
|
|
|
// url: '../../login/login?id=1', |
|
|
|
|
// text: '商户入口', |
|
|
|
|
// img: 'user/point.png' |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// url: '../../login/login?id=2', |
|
|
|
|
// text: '我的推广', |
|
|
|
|
// img: 'user/renw.png' |
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
// , |
|
|
|
|
// { |
|
|
|
@ -280,11 +282,11 @@ |
|
|
|
|
|
|
|
|
|
if (!app.globalData.userInfo.isSetPayPwd) { |
|
|
|
|
this.czList = [ |
|
|
|
|
// { |
|
|
|
|
// url: '../../user/cardDes/cardDes', |
|
|
|
|
// text: '工会卡', |
|
|
|
|
// img: '../../../static/img/ghkpay.png' |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
url: '', |
|
|
|
|
text: '客服', |
|
|
|
|
img: 'user/kefu.png' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
url: '../../login/updatePas/updatePas', |
|
|
|
|
text: '设置密码', |
|
|
|
@ -295,15 +297,17 @@ |
|
|
|
|
} |
|
|
|
|
// '../../user/unionCard/unionCard' |
|
|
|
|
this.czList = [ |
|
|
|
|
// { |
|
|
|
|
// url: '../../user/cardDes/cardDes', |
|
|
|
|
// text: '工会卡', |
|
|
|
|
// img: '../../../static/img/ghkpay.png' |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
url: '', |
|
|
|
|
text: '客服', |
|
|
|
|
img: 'user/kefu.png', |
|
|
|
|
type:1 |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
url: '../../login/updatePas/resetPas', |
|
|
|
|
text: '修改密码', |
|
|
|
|
img: '../../../static/img/pas.png' |
|
|
|
|
img: '../../../static/img/pas.png', |
|
|
|
|
type:2 |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
@ -416,6 +420,11 @@ |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: url |
|
|
|
|
}) |
|
|
|
|
}else{ |
|
|
|
|
uni.showModal({ |
|
|
|
|
title: '客服', |
|
|
|
|
content: '4006780738' |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|