|
| xqd
@@ -29,7 +29,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="lMember" v-if="token&&role=='hdhy'" @click="toPage('info')">
|
|
|
+ <view class="lMember" v-if="token&&role=='hdyh'" @click="toPage('info')">
|
|
|
<text class="btn1">{{userInfo.nickname?userInfo.nickname:'默认用户(活动会员)'}}</text>
|
|
|
<view class="botDes" v-if="userInfo.phone">
|
|
|
{{userInfo.phone}}
|
|
| xqd
@@ -159,11 +159,11 @@
|
|
|
name: '小程序使用指南',
|
|
|
url: '/pages/my/useLead/index'
|
|
|
},
|
|
|
- {
|
|
|
- icon: this.$picUrl + '/static/other/aboutMe.png',
|
|
|
- name: '关于我们',
|
|
|
- url: '/pages/my/aboutMe/index',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // icon: this.$picUrl + '/static/other/aboutMe.png',
|
|
|
+ // name: '关于我们',
|
|
|
+ // url: '/pages/my/aboutMe/index',
|
|
|
+ // },
|
|
|
{
|
|
|
icon: this.$picUrl + '/static/my/qt.png',
|
|
|
name: '其他信息',
|
|
| xqd
@@ -222,7 +222,7 @@
|
|
|
}
|
|
|
|
|
|
|
|
|
- // this.role = 'lhy'
|
|
|
+ // this.role = 'hdyh'
|
|
|
// this.checkRole()
|
|
|
// return
|
|
|
if (res.data.status) {
|
|
| xqd
@@ -423,11 +423,11 @@
|
|
|
name: '小程序使用指南',
|
|
|
url: '/pages/my/useLead/index'
|
|
|
},
|
|
|
- {
|
|
|
- icon: this.picUrl + '/static/other/aboutMe.png',
|
|
|
- name: '关于我们',
|
|
|
- url: '/pages/my/aboutMe/index'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // icon: this.picUrl + '/static/other/aboutMe.png',
|
|
|
+ // name: '关于我们',
|
|
|
+ // url: '/pages/my/aboutMe/index'
|
|
|
+ // },
|
|
|
{
|
|
|
icon: this.$picUrl + '/static/my/qt.png',
|
|
|
name: '其他信息',
|
|
| xqd
@@ -465,11 +465,11 @@
|
|
|
name: '小程序使用指南',
|
|
|
url: '/pages/my/useLead/index'
|
|
|
},
|
|
|
- {
|
|
|
- icon: this.picUrl + '/static/other/aboutMe.png',
|
|
|
- name: '关于我们',
|
|
|
- url: '/pages/my/aboutMe/index'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // icon: this.picUrl + '/static/other/aboutMe.png',
|
|
|
+ // name: '关于我们',
|
|
|
+ // url: '/pages/my/aboutMe/index'
|
|
|
+ // },
|
|
|
{
|
|
|
icon: this.$picUrl + '/static/my/qt.png',
|
|
|
name: '其他信息',
|
|
| xqd
@@ -508,11 +508,11 @@
|
|
|
name: '小程序使用指南',
|
|
|
url: '/pages/my/useLead/index'
|
|
|
},
|
|
|
- {
|
|
|
- icon: this.picUrl + '/static/other/aboutMe.png',
|
|
|
- name: '关于我们',
|
|
|
- url: '/pages/my/aboutMe/index'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // icon: this.picUrl + '/static/other/aboutMe.png',
|
|
|
+ // name: '关于我们',
|
|
|
+ // url: '/pages/my/aboutMe/index'
|
|
|
+ // },
|
|
|
{
|
|
|
icon: this.$picUrl + '/static/my/qt.png',
|
|
|
name: '其他信息',
|
|
| xqd
@@ -548,11 +548,11 @@
|
|
|
name: '小程序使用指南',
|
|
|
url: '/pages/my/useLead/index'
|
|
|
},
|
|
|
- {
|
|
|
- icon: this.picUrl + '/static/other/aboutMe.png',
|
|
|
- name: '关于我们',
|
|
|
- url: '/pages/my/aboutMe/index'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // icon: this.picUrl + '/static/other/aboutMe.png',
|
|
|
+ // name: '关于我们',
|
|
|
+ // url: '/pages/my/aboutMe/index'
|
|
|
+ // },
|
|
|
{
|
|
|
icon: this.$picUrl + '/static/my/qt.png',
|
|
|
name: '其他信息',
|
|
| xqd
@@ -588,11 +588,11 @@
|
|
|
name: '小程序使用指南',
|
|
|
url: '/pages/my/useLead/index'
|
|
|
},
|
|
|
- {
|
|
|
- icon: this.picUrl + '/static/other/aboutMe.png',
|
|
|
- name: '关于我们',
|
|
|
- url: '/pages/my/aboutMe/index'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // icon: this.picUrl + '/static/other/aboutMe.png',
|
|
|
+ // name: '关于我们',
|
|
|
+ // url: '/pages/my/aboutMe/index'
|
|
|
+ // },
|
|
|
{
|
|
|
icon: this.$picUrl + '/static/my/qt.png',
|
|
|
name: '其他信息',
|
|
| xqd
@@ -633,11 +633,11 @@
|
|
|
name: '小程序使用指南',
|
|
|
url: '/pages/my/useLead/index'
|
|
|
},
|
|
|
- {
|
|
|
- icon: this.picUrl + '/static/other/aboutMe.png',
|
|
|
- name: '关于我们',
|
|
|
- url: '/pages/my/aboutMe/index'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // icon: this.picUrl + '/static/other/aboutMe.png',
|
|
|
+ // name: '关于我们',
|
|
|
+ // url: '/pages/my/aboutMe/index'
|
|
|
+ // },
|
|
|
{
|
|
|
icon: this.$picUrl + '/static/my/qt.png',
|
|
|
name: '其他信息',
|
|
| xqd
@@ -657,7 +657,22 @@
|
|
|
url: '/pages/my/sellAfter/index'
|
|
|
})
|
|
|
}
|
|
|
- } else if (this.role == 'hdhy') {
|
|
|
+ // 活动用户附加于其他用户角色之上,不是一种角色,而是一种查看功能
|
|
|
+ } else if (this.role == 'hdyh') {
|
|
|
+ if (this.userInfo.role == 1) {
|
|
|
+ this.serList.push({
|
|
|
+ icon: this.picUrl + '/static/my/tg.png',
|
|
|
+ name: '团购商品',
|
|
|
+ url: '/pages/my/actGoods/index'
|
|
|
+ })
|
|
|
+ } else if (this.userInfo.role == 2) {
|
|
|
+ this.serList.push({
|
|
|
+ icon: this.picUrl + '/static/my/sh.png',
|
|
|
+ name: '售后',
|
|
|
+ url: '/pages/my/sellAfter/index'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ return
|
|
|
this.serList = [
|
|
|
// {
|
|
|
// icon: this.picUrl + '/static/my/set.png',
|