修改入驻审核之后页面的返回逻辑

This commit is contained in:
赵毅 2025-11-04 10:20:18 +08:00
parent 4b8d27d912
commit 3ed1cbed6d
3 changed files with 62 additions and 16 deletions

View File

@ -4,6 +4,35 @@ page {
padding-bottom: 0; padding-bottom: 0;
} }
.container {
display: flex;
flex-direction: column;
min-height: calc(100vh - 120rpx);
width: 100%;
}
.searchBox {
display: flex;
align-items: center;
padding: 0 20rpx;
/* margin-top: 35rpx; */
justify-content: space-between;
background-color: #fff;
}
.searchBox_add {
display: flex;
align-items: center;
font-weight: 400;
font-size: 30rpx;
color: #000000;
}
.searchBox_add image {
width: 30rpx;
height: 30rpx;
margin-right: 16rpx;
}
image { image {
width: 100%; width: 100%;
@ -31,7 +60,7 @@ image {
margin-top: 43rpx; margin-top: 43rpx;
} }
.Msg2 div { .Msg2 view {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -39,6 +68,7 @@ image {
color: #222222; color: #222222;
margin-top: 10rpx; margin-top: 10rpx;
} }
.Msg2 div span{
.Msg2 view span {
color: #FF370B; color: #FF370B;
} }

View File

@ -1,17 +1,24 @@
<template> <template>
<div class="container"> <view class="container">
<div class="sucessImg"> <view class="searchBox" :style="{ height: localHeight + 'px', paddingTop: top + 'px' }">
<view class="searchBox_add">
<view class="searchBox_left">
<u-icon bold color="#000" size="40" name="arrow-left" @click="back"></u-icon>
</view>
</view>
</view>
<view class="sucessImg">
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/enter_audit1.png" mode="aspectFill"></image> <image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/enter_audit1.png" mode="aspectFill"></image>
</div> </view>
<div class="Msg1">提交成功</div> <view class="Msg1">提交成功</view>
<div class="Msg2"> <view class="Msg2">
<div>入驻申请提交成功!</div> <view>入驻申请提交成功!</view>
<div> <view>
请耐心等待工作人员处理 请耐心等待工作人员处理
</div> </view>
</div> </view>
</div> </view>
</template> </template>
<script> <script>
@ -22,19 +29,27 @@ import {
isPhone, isPhone,
picUrl, picUrl,
request, request,
upload menuButtonInfo,
upload,
NavgateTo
} from '../../../utils'; } from '../../../utils';
export default { export default {
data() { data() {
return { return {
picUrl, picUrl,
top: "",
localHeight: "",
} }
}, },
methods: { methods: {
back() {
NavgateTo('/pages/index/index')
}
}, },
onLoad() { onLoad() {
const meun = menuButtonInfo();
this.top = meun.top;
this.localHeight = meun.height;
} }
} }
</script> </script>

View File

@ -519,7 +519,8 @@
"path": "sucess/index", "path": "sucess/index",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationBarBackgroundColor": "#f6f7fb" "navigationStyle": "custom",
"navigationBarBackgroundColor": "#fff"
} }
}, },
{ {