积分规则显示完成

This commit is contained in:
aixianling
2022-08-22 15:12:40 +08:00
parent 24c29a7aa5
commit 43a5d90c98
2 changed files with 69 additions and 3 deletions

View File

@@ -19,8 +19,12 @@
</div>
</div>
</div>
<div class="detail-content" v-if="list.length">
<div class="title">积分明细</div>
<div class="detail-content" v-if="!list.length">
<div flex>
<div class="title fill">积分明细</div>
<u-icon name="question-circle" label="积分规则" color="#3F8DF5" label-color="#3F8DF5" @click="gotoRules"/>
</div>
<u-gap/>
<div class="item" v-for="(item, index) in list" :key="index">
<div class="item-info">
<p v-text="item.eventDesc"/>
@@ -69,6 +73,9 @@ export default {
})
}
},
gotoRules() {
uni.navigateTo({url: './integralRules'})
}
},
onReachBottom() {
this.current++
@@ -79,6 +86,7 @@ export default {
<style scoped lang="scss">
.AppGridIntegral {
width: 100vw;
min-height: 100vh;
background-color: #f3f6f9;
display: flex;
flex-direction: column;
@@ -168,7 +176,6 @@ export default {
font-weight: 500;
color: #333;
line-height: 48px;
margin-bottom: 30px;
}
.item {