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