先提交一波

This commit is contained in:
aixianling
2022-09-02 18:17:08 +08:00
parent 46c2872740
commit 76676d43fb
2 changed files with 37 additions and 11 deletions

View File

@@ -2,9 +2,10 @@
<section class="signResult">
<div class="successImg"/>
<b class="mar-t32">今日已完成签到</b>
<div class="mar-t32 score">积分+5</div>
<AiItem label="时间" :border="false">2022-9-2 16:59:23</AiItem>
<AiItem label="位置" :border="false">张家湾小区</AiItem>
<div v-if="result.score" class="mar-t32 score mar-b112">积分+5</div>
<u-gap v-else class="mar-t32 mar-b112" height="32"/>
<AiItem label="时间" :border="false">{{ result.createTime }}</AiItem>
<AiItem label="位置" :border="false">{{ result.address }}</AiItem>
</section>
</template>
@@ -13,10 +14,17 @@ export default {
name: "signResult",
appName: "签到结果",
data() {
return {}
return {
result: {}
}
},
methods: {
getResult() {
}
},
methods: {},
created() {
this.getResult()
}
}
</script>
@@ -43,13 +51,16 @@ export default {
.score {
color: #3975C6;
height: 32px;
margin-bottom: 112px;
padding-left: 48px;
background-image: url("./assets/score.png");
background-repeat: no-repeat;
background-position: left center;
}
.mar-b112 {
margin-bottom: 112px;
}
::v-deep.normal {
height: 56px;
}