运营中心打开及调整个人中心展示

This commit is contained in:
2023-02-23 10:48:58 +08:00
parent 53b9929480
commit b332b5d1d0
5 changed files with 35 additions and 21 deletions

View File

@@ -10,7 +10,7 @@
<u-icon @click='yunyingShow = true,yunying_name = team_name' name="edit-pen-fill" class='pen'
color="#eee" size="34rpx" bold />
</view>
<view class="total-text nowrap">运营中心</view>
<view class="total-text nowrap">法务运营中心</view>
</view>
</view>
<view class="total-item-2">
@@ -69,13 +69,13 @@
<u-popup :show="yunyingShow" mode="center" @close="yunyingShow = false" :round="22">
<view class="yunying">
<view class="yunying_title">
<view class="title"> 修改运营中心 </view>
<view class="title"> 修改法务运营中心 </view>
<image class="yunying_bg" src="/static/icons/yunying_bg.png" mode="widthFix" />
</view>
<view class="rz-item">
<input type="text" maxlength="4" v-model='yunying_name' placeholder-class="inputP"
placeholder="请输入名称" />
<view class="btn">运营中心</view>
<view class="btn">法务运营中心</view>
</view>
<view class="button" @click="sureYunYing">确认修改名称</view>
</view>
@@ -541,12 +541,12 @@
.btn {
height: 60rpx;
background: #446EFE;
// background: #446EFE;
border-radius: 10rpx;
font-size: 24rpx;
// font-size: 24rpx;
font-family: PingFang SC;
font-weight: 400;
color: #FFFFFF;
// color: #FFFFFF;
line-height: 60rpx;
text-align: center;
padding: 0 20rpx;

View File

@@ -10,8 +10,14 @@
<view class="tags">
<view class="tags-item" v-if="certification">
<image class="tags-icon" src="@/static/icons/Identity_icon.png" mode="widthFix"></image>实名认证
</view>
<view class="tags-item">{{identity.name}}</view>
</view>
<block v-if="identity.id != '5'">
<view class="tags-item" >{{identity.name}}</view>
<view class="tags-item" v-if="team_name!=''">隶属{{team_name}}</view>
</block>
<block v-if="identity.id == '5'">
<view class="tags-item" v-if="team_name!=''">{{team_name}}</view>
</block>
</view>
<view class="state">
<view class="state-tag">
@@ -56,12 +62,12 @@
</view>
<u-icon name="arrow-right" color="#cacaca" size="34rpx" bold></u-icon>
</view>
<!-- <view class="nav-flex" @click="onNav('YunYing')" v-if="team_status != 0">
<view class="nav-flex" @click="onNav('YunYing')" v-if="team_status != 0">
<view class="nav-icon">
<image class="nav-icon-src" src="@/static/icons/yunying.png"></image> 运营中心
</view>
<u-icon name="arrow-right" color="#cacaca" size="34rpx" bold></u-icon>
</view> -->
</view>
<view class="nav-flex" @click="onNav('AccountBonus')">
<view class="nav-icon">
<image class="nav-icon-src" src="@/static/icons/user_nav_04.png"></image>奖金账户
@@ -133,12 +139,12 @@
<u-popup :show="yunyingShow" mode="center" @close="yunyingShow = false" :round="22">
<view class="yunying">
<view class="yunying_title">
<view class="title"> 完善运营中心 </view>
<view class="title"> 完善法务运营中心 </view>
<image class="yunying_bg" src="/static/icons/yunying_bg.png" mode="widthFix" />
</view>
<view class="rz-item">
<input type="text" maxlength="4" v-model='yunying_name' placeholder-class="inputP" placeholder="请输入名称" />
<view class="btn">运营中心</view>
<view class="btn">法务运营中心</view>
</view>
<view class="button" @click="sureYunYing">确认名称</view>
</view>
@@ -158,7 +164,8 @@
return {
isAuth: false,
nickname: '',
identity: '',
identity: '',
team_name:'',
avatar: '',
certification: '',
// 绑定关系
@@ -202,7 +209,7 @@
identity,
avatar,
certification,
parent,team_status
parent,team_status,team_name
} = res
this.nickname = nickname
this.identity = identity
@@ -210,6 +217,7 @@
this.certification = certification
this.parent = parent
this.team_status = team_status
this.team_name = team_name
if(team_status == 1){
this.yunyingShow = true
}
@@ -429,14 +437,19 @@
height: 40rpx;
color: #555;
font-weight: 400;
margin-left: $margin - 10;
margin-right: $margin - 10;
&::after {
&::after{
border-radius: 20rpx;
}
&:first-child {
&:first-child ,&:nth-child(3) {
margin-left: 0;
}
&:nth-child(3){
margin-top: 10rpx;
// background: #4674DA;
// color: #fff;
}
.tags-icon {
@@ -675,12 +688,12 @@
.btn {
height: 60rpx;
background: #4674DA;
// background: #4674DA;
border-radius: 10rpx;
font-size: 24rpx;
// font-size: 24rpx;
font-family: PingFang SC;
font-weight: 400;
color: #FFFFFF;
// color: #FFFFFF;
line-height: 60rpx;
text-align: center;
padding: 0 20rpx;