This commit is contained in:
shijingjing
2022-09-20 17:12:14 +08:00
parent 02bdd4ab18
commit ecb0d25950
11 changed files with 2766 additions and 0 deletions

View File

@@ -0,0 +1,83 @@
<template>
<div class="result">
<image src="/static/img/result.png" />
<h2>添加成功</h2>
<div class="result-btn" hover-class="text-hover" @click="toReport">上报今日状态</div>
<div class="result-backBtn" @click="back">返回</div>
</div>
</template>
<script>
export default {
data () {
return {
id: ''
}
},
onLoad (query) {
this.id = query.id
},
methods: {
back () {
uni.navigateBack({
delta: 1
})
},
toReport () {
uni.redirectTo({
url: `./AddReport?id=${this.id}`
})
}
}
}
</script>
<style lang="scss">
.result {
min-height: 100vh;
padding-top: 160px;
box-sizing: border-box;
text-align: center;
background: #fff;
image {
width: 220px;
height: 220px;
}
.result-backBtn {
width: 320px;
height: 88px;
line-height: 88px;
margin: 32px auto 0;
text-align: center;
border: 1px solid #4181FF;
color: #4181FF;
font-size: 34px;
box-sizing: border-box;
border-radius: 16px;
}
h2 {
margin: 32px 0 80px;
font-weight: 600;
font-size: 40px;
color: #333;
}
.result-btn {
width: 320px;
height: 88px;
line-height: 88px;
margin: 0 auto;
text-align: center;
background: #4181FF;
color: #fff;
font-size: 34px;
border-radius: 16px;
}
}
</style>