85 lines
1.8 KiB
Vue
85 lines
1.8 KiB
Vue
<template>
|
|
<view class="main">
|
|
<view class="content">
|
|
<image class="successImg" src="/static/images/submitSuccess.svg" />
|
|
<view class="btnBox">
|
|
<view class="detailBtn" @click="handleGoDetail">查看详情</view>
|
|
<view class="continue" @click="handleBackHome">继续考核</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
id: "",
|
|
};
|
|
},
|
|
onLoad(query) {
|
|
this.id = query.id;
|
|
},
|
|
methods: {
|
|
// 跳转查看详情
|
|
handleGoDetail() {
|
|
this.$util.toNextRoute(
|
|
"redirectTo",
|
|
`/pages/walkAroundManager/detail?id=${this.id}`
|
|
);
|
|
},
|
|
// 跳转回到首页
|
|
handleBackHome() {
|
|
this.$util.toNextRoute("switchTab", "/pages/index/index");
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.main {
|
|
width: 100%;
|
|
height: 100vh;
|
|
background: #f6f7f8;
|
|
box-sizing: border-box;
|
|
padding: 32rpx;
|
|
.content {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
padding-top: 150rpx;
|
|
.successImg {
|
|
width: 500rpx;
|
|
height: 500rpx;
|
|
}
|
|
.btnBox {
|
|
.detailBtn {
|
|
font-family: "PingFangSC";
|
|
font-size: 32rpx;
|
|
color: #feffff;
|
|
line-height: 44rpx;
|
|
text-align: left;
|
|
font-style: normal;
|
|
padding: 12rpx 36rpx;
|
|
border-radius: 48rpx;
|
|
background: #7d5632;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
.continue {
|
|
font-family: "PingFangSC";
|
|
font-size: 32rpx;
|
|
color: #7d5632;
|
|
line-height: 44rpx;
|
|
text-align: left;
|
|
font-style: normal;
|
|
padding: 8rpx 32rpx;
|
|
border-radius: 48rpx;
|
|
border: 4rpx solid #7d5632;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style> |