diff --git a/pages/users/user_sgin/index.vue b/pages/users/user_sgin/index.vue index 71071156..144ba0b7 100644 --- a/pages/users/user_sgin/index.vue +++ b/pages/users/user_sgin/index.vue @@ -60,7 +60,14 @@ 第 {{item.day}} 天签到积分奖励 {{ formatDate(item.createTime) }} - +{{ item.point }} + + + 积分 +{{ item.point }} + + + 经验 +{{ item.experience }} + + 点击加载更多 @@ -73,7 +80,8 @@ 签到成功 - 获得{{ point }}积分 + 获得{{ signResult.point }}积分 + 获得{{ signResult.experience }}经验 好的 @@ -98,7 +106,7 @@ signRecordList: [], // 签到记录 active: false, // 签到提示 - point: 0, // 刚签到获得的奖励 + signResult: 0, // 签到的结果 }; }, computed: mapGetters(['isLogin', 'userInfo']), @@ -176,7 +184,7 @@ } SignInApi.createSignInRecord().then(res => { this.active = true; - this.point = res.data.point; + this.signResult = res.data; // 重新获得签到信息 this.getSignInfo(); this.getSignList(); @@ -420,6 +428,11 @@ margin-top: 9rpx; } + .sign .list3 .item .num-title { + font-size: 10rpx; + margin-right: 8rpx; + } + .sign .list3 .item .num { font-size: 36rpx; font-family: 'Guildford Pro'; diff --git a/pages/users/user_sgin_list/index.vue b/pages/users/user_sgin_list/index.vue index 6acb95e6..0a45edab 100644 --- a/pages/users/user_sgin_list/index.vue +++ b/pages/users/user_sgin_list/index.vue @@ -9,7 +9,14 @@ 第 {{item.day}} 天签到积分奖励 {{ formatDate(item.createTime) }} - +{{ item.point }} + + + 积分 +{{ item.point }} + + + 经验 +{{ item.experience }} + + @@ -92,4 +99,9 @@