我的 优化

This commit is contained in:
donqi 2022-12-12 01:22:47 +08:00
parent 02c8760497
commit 6cc1c3c754
2 changed files with 389 additions and 380 deletions

View File

@ -1,7 +1,8 @@
<template>
<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="cu-avatar round"
:style="'width: 120rpx; height: 120rpx; background-image:url(' + curUserInfo.customerLogoUrl + ');'"
@ -259,7 +260,7 @@
</view> -->
<view class="cu-item" @click="showApplyOperator">
<view class="cuIcon-wenzi text-pink"></view>
<text>运营商申请</text>
<text>{{curUserInfo.placeStatus == 0 ? '运营商申请' : '运营商登录'}}</text>
</view>
<!-- <view class="cu-item">
<view class="cuIcon-searchlist text-brown"></view>
@ -279,7 +280,8 @@
</view>
</view>
<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 class="text-center padding">
<view class="padding-bottom-sm text-lg">请通过扫码或分享链接给好友进行邀请</view>
@ -337,7 +339,8 @@
}, {
type: 5,
name: '已完成'
}],
}
],
servOrderType: 0,
productOrderTabList: [{
// type: -1,
@ -378,6 +381,12 @@
url: '/pages/my/edit-user-basic-info'
})
},
viewImage(url) {
uni.previewImage({
urls: [url],
current: url
});
},
showMyOrders(tabHeaderList, tabCur, orderType) {
let tabInfo = {
orderType: orderType,

View File

@ -3,7 +3,7 @@
<!-- 顶部操作条 -->
<cu-custom :bgColor="'bg-main-color'" :isBack="true">
<block slot="backText">返回</block>
<block slot="content">查看团队{{totalMembers}}</block>
<block slot="content">查看{{placeStatus == '2' ? '团队' : '客户'}}{{totalMembers}}</block>
</cu-custom>
<!-- 团队成员信息 -->
<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="text-black text-xl">{{member.name}}</view>
<view class="">
<text class="margin-right-xs">角色合伙人</text>
<text class="margin-right-xs">角色{{placeStatus == '2' ? '合伙人' : '消费者'}}</text>
</view>
</view>
</view>
@ -79,7 +79,7 @@
methods: {
async loadData(option) {
if (option && option.placeStatus != undefined) {
this.placeStatus = this.option.placeStatus
this.placeStatus = option.placeStatus
}
this.curUserInfo = this.$request.getCurUserInfo();
this.resetData();