我的 优化
This commit is contained in:
parent
02c8760497
commit
6cc1c3c754
|
|
@ -1,7 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<!-- 顶部头像栏 -->
|
<!-- 顶部头像栏 -->
|
||||||
<view class="padding bg-gradual-color" :style="'padding-top: ' + pageContentTop + 'px; padding-bottom: 100rpx;'">
|
<view class="padding bg-gradual-color"
|
||||||
|
:style="'padding-top: ' + pageContentTop + 'px; padding-bottom: 100rpx;'">
|
||||||
<view class="flex justify-start padding-bottom-xl">
|
<view class="flex justify-start padding-bottom-xl">
|
||||||
<view class="cu-avatar round"
|
<view class="cu-avatar round"
|
||||||
:style="'width: 120rpx; height: 120rpx; background-image:url(' + curUserInfo.customerLogoUrl + ');'"
|
:style="'width: 120rpx; height: 120rpx; background-image:url(' + curUserInfo.customerLogoUrl + ');'"
|
||||||
|
|
@ -259,7 +260,7 @@
|
||||||
</view> -->
|
</view> -->
|
||||||
<view class="cu-item" @click="showApplyOperator">
|
<view class="cu-item" @click="showApplyOperator">
|
||||||
<view class="cuIcon-wenzi text-pink"></view>
|
<view class="cuIcon-wenzi text-pink"></view>
|
||||||
<text>运营商申请</text>
|
<text>{{curUserInfo.placeStatus == 0 ? '运营商申请' : '运营商登录'}}</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="cu-item">
|
<!-- <view class="cu-item">
|
||||||
<view class="cuIcon-searchlist text-brown"></view>
|
<view class="cuIcon-searchlist text-brown"></view>
|
||||||
|
|
@ -279,7 +280,8 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="padding-tb-sm">
|
<view class="padding-tb-sm">
|
||||||
<image :src="'data:image/png;base64,' + appQrcode" mode="aspectFit"></image>
|
<image :src="'data:image/png;base64,' + appQrcode" mode="aspectFit" @click="viewImage('data:image/png;base64,' + appQrcode)">
|
||||||
|
</image>
|
||||||
</view>
|
</view>
|
||||||
<view class="text-center padding">
|
<view class="text-center padding">
|
||||||
<view class="padding-bottom-sm text-lg">请通过扫码或分享链接给好友进行邀请</view>
|
<view class="padding-bottom-sm text-lg">请通过扫码或分享链接给好友进行邀请</view>
|
||||||
|
|
@ -337,7 +339,8 @@
|
||||||
}, {
|
}, {
|
||||||
type: 5,
|
type: 5,
|
||||||
name: '已完成'
|
name: '已完成'
|
||||||
}],
|
}
|
||||||
|
],
|
||||||
servOrderType: 0,
|
servOrderType: 0,
|
||||||
productOrderTabList: [{
|
productOrderTabList: [{
|
||||||
// type: -1,
|
// type: -1,
|
||||||
|
|
@ -378,6 +381,12 @@
|
||||||
url: '/pages/my/edit-user-basic-info'
|
url: '/pages/my/edit-user-basic-info'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
viewImage(url) {
|
||||||
|
uni.previewImage({
|
||||||
|
urls: [url],
|
||||||
|
current: url
|
||||||
|
});
|
||||||
|
},
|
||||||
showMyOrders(tabHeaderList, tabCur, orderType) {
|
showMyOrders(tabHeaderList, tabCur, orderType) {
|
||||||
let tabInfo = {
|
let tabInfo = {
|
||||||
orderType: orderType,
|
orderType: orderType,
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<!-- 顶部操作条 -->
|
<!-- 顶部操作条 -->
|
||||||
<cu-custom :bgColor="'bg-main-color'" :isBack="true">
|
<cu-custom :bgColor="'bg-main-color'" :isBack="true">
|
||||||
<block slot="backText">返回</block>
|
<block slot="backText">返回</block>
|
||||||
<block slot="content">查看团队({{totalMembers}})</block>
|
<block slot="content">查看{{placeStatus == '2' ? '团队' : '客户'}}({{totalMembers}})</block>
|
||||||
</cu-custom>
|
</cu-custom>
|
||||||
<!-- 团队成员信息 -->
|
<!-- 团队成员信息 -->
|
||||||
<view class="margin-top-sm margin-lr-sm padding bg-white name-card shadow-warp"
|
<view class="margin-top-sm margin-lr-sm padding bg-white name-card shadow-warp"
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
<view class="margin-left-sm flex-column-around">
|
<view class="margin-left-sm flex-column-around">
|
||||||
<view class="text-black text-xl">{{member.name}}</view>
|
<view class="text-black text-xl">{{member.name}}</view>
|
||||||
<view class="">
|
<view class="">
|
||||||
<text class="margin-right-xs">角色:合伙人</text>
|
<text class="margin-right-xs">角色:{{placeStatus == '2' ? '合伙人' : '消费者'}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -79,7 +79,7 @@
|
||||||
methods: {
|
methods: {
|
||||||
async loadData(option) {
|
async loadData(option) {
|
||||||
if (option && option.placeStatus != undefined) {
|
if (option && option.placeStatus != undefined) {
|
||||||
this.placeStatus = this.option.placeStatus
|
this.placeStatus = option.placeStatus
|
||||||
}
|
}
|
||||||
this.curUserInfo = this.$request.getCurUserInfo();
|
this.curUserInfo = this.$request.getCurUserInfo();
|
||||||
this.resetData();
|
this.resetData();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue