|
@@ -7,7 +7,8 @@
|
|
|
<view class="flex-col justify-evenly useMsg">
|
|
<view class="flex-col justify-evenly useMsg">
|
|
|
<view class="flex-row">
|
|
<view class="flex-row">
|
|
|
<text class="name">{{userInfo.name}}</text>
|
|
<text class="name">{{userInfo.name}}</text>
|
|
|
- <view class="tag">{{userInfo.isManager === 1? '拓客经理': userInfo.roleTag == '0' ? '拓客专员':'合作伙伴'}}</view>
|
|
|
|
|
|
|
+ <view class="tag">{{userInfo.isManager === 1? '拓客经理': userInfo.roleTag == '0' ? '拓客专员':'合作伙伴'}}
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
<view>
|
|
<view>
|
|
|
<text class="phone">电话:{{userInfo.phone}}</text>
|
|
<text class="phone">电话:{{userInfo.phone}}</text>
|
|
@@ -18,12 +19,13 @@
|
|
|
<view class="statistics flex-col">
|
|
<view class="statistics flex-col">
|
|
|
<view class="flex-row justify-around" v-if="userInfo.isManager == '1'">
|
|
<view class="flex-row justify-around" v-if="userInfo.isManager == '1'">
|
|
|
<view class="flex-row justify-center out ">
|
|
<view class="flex-row justify-center out ">
|
|
|
- <view class="flex-col statisticsItem " @click="navigateTo('/pages/specialistsList/specialistsList')">
|
|
|
|
|
|
|
+ <view class="flex-col statisticsItem "
|
|
|
|
|
+ @click="navigateTo('/pages/specialistsList/specialistsList')">
|
|
|
<view>
|
|
<view>
|
|
|
<image src="/static/my/fuwuNmber.png" class="statisticsImg"></image>
|
|
<image src="/static/my/fuwuNmber.png" class="statisticsImg"></image>
|
|
|
</view>
|
|
</view>
|
|
|
<text class="statisticsKey">我的专员(人)</text>
|
|
<text class="statisticsKey">我的专员(人)</text>
|
|
|
- <text class="statisticsValue">300</text>
|
|
|
|
|
|
|
+ <text class="statisticsValue">0</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="flex-row justify-center out leftBorder">
|
|
<view class="flex-row justify-center out leftBorder">
|
|
@@ -32,19 +34,20 @@
|
|
|
<image src="/static/my/hezuohuoban.png" class="statisticsImg"></image>
|
|
<image src="/static/my/hezuohuoban.png" class="statisticsImg"></image>
|
|
|
</view>
|
|
</view>
|
|
|
<text class="statisticsKey">合作伙伴(人)</text>
|
|
<text class="statisticsKey">合作伙伴(人)</text>
|
|
|
- <text class="statisticsValue">300</text>
|
|
|
|
|
|
|
+ <text class="statisticsValue">0</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view class="flex-row justify-around " v-else>
|
|
<view class="flex-row justify-around " v-else>
|
|
|
<view class="flex-row justify-center out ">
|
|
<view class="flex-row justify-center out ">
|
|
|
- <view class="flex-col statisticsItem " @click="navigateTo('/pages/directPromotionList/directPromotionList')">
|
|
|
|
|
|
|
+ <view class="flex-col statisticsItem "
|
|
|
|
|
+ @click="navigateTo('/pages/directPromotionList/directPromotionList')">
|
|
|
<view>
|
|
<view>
|
|
|
<image src="/static/my/fuwuTimeLong.png" class="statisticsImg"></image>
|
|
<image src="/static/my/fuwuTimeLong.png" class="statisticsImg"></image>
|
|
|
</view>
|
|
</view>
|
|
|
<text class="statisticsKey">我的直推(人)</text>
|
|
<text class="statisticsKey">我的直推(人)</text>
|
|
|
- <text class="statisticsValue">300</text>
|
|
|
|
|
|
|
+ <text class="statisticsValue">0</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="flex-row justify-center out leftBorder">
|
|
<view class="flex-row justify-center out leftBorder">
|
|
@@ -53,7 +56,7 @@
|
|
|
<image src="/static/my/benyuerenwu.png" class="statisticsImg"></image>
|
|
<image src="/static/my/benyuerenwu.png" class="statisticsImg"></image>
|
|
|
</view>
|
|
</view>
|
|
|
<text class="statisticsKey">推广收益(人)</text>
|
|
<text class="statisticsKey">推广收益(人)</text>
|
|
|
- <text class="statisticsValue">300</text>
|
|
|
|
|
|
|
+ <text class="statisticsValue">0</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -61,8 +64,11 @@
|
|
|
|
|
|
|
|
<view class="flex-col justify-start list">
|
|
<view class="flex-col justify-start list">
|
|
|
<uni-list :border="false">
|
|
<uni-list :border="false">
|
|
|
- <uni-list-item v-if="userInfo.isManager == 1" :clickable="true" title="我的分组" to="/pages/myGroup/myGroup" showArrow thumb="/static/my/fenzu.png" thumb-size="sm" rightText=""/>
|
|
|
|
|
- <uni-list-item v-if="userInfo.roleTag == 1" :clickable="true" title="购买优惠券" to="/pages/purchaseCoupon/purchaseCoupon" showArrow thumb="/static/my/coupon.png" thumb-size="sm" rightText=""/>
|
|
|
|
|
|
|
+ <uni-list-item v-if="userInfo.isManager == 1" :clickable="true" title="我的分组" to="/pages/myGroup/myGroup"
|
|
|
|
|
+ showArrow thumb="/static/my/fenzu.png" thumb-size="sm" rightText="" />
|
|
|
|
|
+ <uni-list-item v-if="userInfo.roleTag == 1" :clickable="true" title="购买优惠券"
|
|
|
|
|
+ to="/pages/purchaseCoupon/purchaseCoupon" showArrow thumb="/static/my/coupon.png" thumb-size="sm"
|
|
|
|
|
+ rightText="" />
|
|
|
</uni-list>
|
|
</uni-list>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -72,9 +78,9 @@
|
|
|
export default {
|
|
export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
- staticsData:{},
|
|
|
|
|
- userInfo:{},
|
|
|
|
|
- height:''
|
|
|
|
|
|
|
+ staticsData: {},
|
|
|
|
|
+ userInfo: {},
|
|
|
|
|
+ height: ''
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onLoad() {
|
|
onLoad() {
|
|
@@ -82,16 +88,16 @@
|
|
|
this.height = sysInfo.windowHeight + 'px'
|
|
this.height = sysInfo.windowHeight + 'px'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- onShow(){
|
|
|
|
|
|
|
+ onShow() {
|
|
|
this.userInfo = uni.getStorageSync('spreadUserInfo')
|
|
this.userInfo = uni.getStorageSync('spreadUserInfo')
|
|
|
this.getImgUrlByOssId(this.userInfo.img)
|
|
this.getImgUrlByOssId(this.userInfo.img)
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
|
|
|
- navigateTo(url){
|
|
|
|
|
|
|
+ navigateTo(url) {
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
|
- url:url
|
|
|
|
|
|
|
+ url: url
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -104,13 +110,13 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- navigateTo(url){
|
|
|
|
|
|
|
+ navigateTo(url) {
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
|
url: url
|
|
url: url
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- goUserInfo(){
|
|
|
|
|
|
|
+ goUserInfo() {
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
|
url: '/pages/userInfo/userInfo'
|
|
url: '/pages/userInfo/userInfo'
|
|
|
})
|
|
})
|