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

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

@@ -47,6 +47,7 @@ const request = (parameter, hideLoding = true) => {
data : parameter.data || {}, data : parameter.data || {},
method : parameter.method || 'GET', method : parameter.method || 'GET',
success : res => { success : res => {
console.log(config.apiUrl + parameter.url,res)
if (res.header.Authorization){ if (res.header.Authorization){
updateToken('token', res.header.Authorization) updateToken('token', res.header.Authorization)
} }

View File

@@ -225,7 +225,7 @@
"auth": true, "auth": true,
"name": "YunYing", "name": "YunYing",
"style": { "style": {
"navigationBarTitleText": "运营中心", "navigationBarTitleText": "法务运营中心",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#446EFE", "navigationBarBackgroundColor": "#446EFE",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"

View File

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

View File

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

BIN
static/imgs/lishu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB