修复:运营中心 - 身份过多,不能滑动的问题

This commit is contained in:
wuhui_zzw 2024-03-29 10:18:16 +08:00
parent bfdfabc6d1
commit 7761895178
4 changed files with 148 additions and 44 deletions

View File

@ -1400,6 +1400,12 @@
"style": { "style": {
"navigationBarTitleText": "订单管理" "navigationBarTitleText": "订单管理"
} }
},
{
"path": "invite/my_invite",
"style": {
"navigationBarTitleText": "我的邀请"
}
} }
] ]
}, },

View File

@ -151,6 +151,18 @@ export default {
icon: 'icon-dingdanguanli', icon: 'icon-dingdanguanli',
}); });
} }
//
if(['6'].includes(String(agentType))){
menuList.push({
title: '我的邀请',
type: 'link',
url: '/pages/agent/invite/my_invite',
icon: 'icon-yaoqing1',
});
}
// //
// staging_list:[ // staging_list:[

View File

@ -0,0 +1,84 @@
<template>
<view class="main-content">
我的邀请
<!-- 授权登录 -->
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authClose"></authorize>
</view>
</template>
<script>
import {mapGetters} from "vuex";
import authorize from '@/components/Authorize';
export default {
name: 'business',
components: {
authorize
},
computed: {
...mapGetters(['isLogin', 'uid', 'userInfo', 'viewColor'])
},
data() {
return {
//
isAuto: false, //
isShowAuth: false,//
}
},
onLoad(options) {
let _this = this;
//
if (!this.isLogin) {
//
this.isAuto = true;
this.isShowAuth = true
}else{
//
this.init();
}
},
methods: {
//
onLoadFun() {
if(this.isLogin){
this.isShowAuth = false;
this.init();
}
},
//
authClose(e) {
this.isShowAuth = e
},
//
init () {
},
}
}
</script>
<style scoped lang="scss">
.main-content{
width: 100vw!important;
min-height: 100vh!important;
background: orange;
}
</style>

View File

@ -278,6 +278,7 @@
<uni-popup ref="agentIdentitySelect" type="bottom" :is-mask-click="false"> <uni-popup ref="agentIdentitySelect" type="bottom" :is-mask-click="false">
<view class="agent-identity-list"> <view class="agent-identity-list">
<view class="_list"> <view class="_list">
<scroll-view :scroll-y="true" style="height: 100%; overflow: hidden;" >
<!--固定菜单--> <!--固定菜单-->
<template v-if="identityCurrentName == 'county'"> <template v-if="identityCurrentName == 'county'">
<view class="_list-item" v-if="userInfo.service" @click="toService(0)"> <view class="_list-item" v-if="userInfo.service" @click="toService(0)">
@ -326,6 +327,7 @@
</view> </view>
</template> </template>
</view> </view>
</scroll-view>
</view> </view>
<view class='close-btn' @click="closeAgentIdentitySelect">取消</view> <view class='close-btn' @click="closeAgentIdentitySelect">取消</view>
</view> </view>
@ -934,12 +936,12 @@
position: relative; position: relative;
._list{ ._list{
height: calc(100% - 160rpx); height: calc(80vh - 160rpx);
width: calc(100% - (var(--list-padding-) * 2)); width: calc(100% - (var(--list-padding-) * 2));
position: fixed; position: fixed;
top: var(--list-padding-); top: var(--list-padding-);
left: var(--list-padding-); left: var(--list-padding-);
overflow-y: auto; overflow: auto;
._list-item{ ._list-item{
width: 100%; width: 100%;
background: #FFFFFF; background: #FFFFFF;