BUG 30116

This commit is contained in:
aixianling
2022-06-08 19:10:03 +08:00
parent 20f797390e
commit 6ef6211ffd
2 changed files with 18 additions and 10 deletions

View File

@@ -2,9 +2,9 @@
<div class="success">
<img src="./components/img/success.png" alt="" v-if="status">
<img src="./components/img/fail.png" alt="" v-else>
<p>{{status == 1 ? '信息申报成功!' : '信息申报失败!'}}</p>
<p class="text">{{status == 1 ? '重新进入即可开始正常使用' : '系统无法匹配该申报信息,请联系管理人员进行处理'}}</p>
<div class="footer" @click="back">{{status == 1 ? '确定' : '我知道了'}}</div>
<p>{{ status == 1 ? '信息申报成功!' : '信息申报失败!' }}</p>
<p class="text">{{ status == 1 ? '重新进入即可开始正常使用' : '系统无法匹配该申报信息,请联系管理人员进行处理' }}</p>
<div class="footer" @click="back">{{ status == 1 ? '确定' : '我知道了' }}</div>
</div>
</template>
@@ -23,25 +23,32 @@ export default {
},
methods: {
back() {
uni.navigateBack({delta: 2})
uni.navigateBack({
delta: 2, success() {
location.reload()
}
})
}
},
}
</script>
<style lang="scss" scoped>
uni-page-body{
uni-page-body {
height: 100%;
background-color: #fff;
}
.success {
text-align: center;
img{
img {
width: 192px;
height: 192px;
margin: 96px 0 16px 0;
}
p{
p {
line-height: 50px;
color: #333;
font-size: 36px;
@@ -49,7 +56,8 @@ uni-page-body{
text-align: center;
margin-bottom: 16px;
}
.footer{
.footer {
width: calc(100% - 96px);
height: 88px;
line-height: 88px;
@@ -63,7 +71,8 @@ uni-page-body{
border-radius: 8px;
margin-left: 48px;
}
.text{
.text {
line-height: 44px;
font-size: 28px;
width: 500px;

View File

@@ -57,7 +57,6 @@ export default {
}
})
},
itemClick(row) {
uni.navigateTo({url: `./SetGird?id=${row.id}`})
},