diff --git a/src/project/fengdu/AppNewFarmerBank/AppNewFarmerBank.vue b/src/project/fengdu/AppNewFarmerBank/AppNewFarmerBank.vue index 3c23da8..31b0633 100644 --- a/src/project/fengdu/AppNewFarmerBank/AppNewFarmerBank.vue +++ b/src/project/fengdu/AppNewFarmerBank/AppNewFarmerBank.vue @@ -5,12 +5,12 @@
- 汪周文,欢迎进入新华街社区! + {{ user.realName || user.nickName }},欢迎进入新华街社区!
签到
-
+

积分申请

好事自荐得积分

@@ -18,11 +18,11 @@

积分任务

完成任务得积分

-
+

积分排行

社区荣誉榜

-
+

积分商城

兑换得好物

@@ -47,6 +47,7 @@ @@ -79,6 +84,7 @@ export default { background: #FFF; color: #333333; border-radius: 16px; + margin-bottom: 24px; h4 { padding: 24px 24px 0; box-sizing: border-box; @@ -95,7 +101,23 @@ export default { font-weight: 400; } .imgs { + display: flex; + align-items: center; + flex-wrap: wrap; + padding: 16px 24px; + box-sizing: border-box; + image { + height: 208px; + width: 33.33%; + padding-right: 12px; + margin-bottom: 12px; + box-sizing: border-box; + + &:nth-of-type(3n) { + padding-right: 0; + } + } } .time { @@ -108,20 +130,24 @@ export default { .goin, .exit, .type { + display: flex; img { width: 30px; height: 30px; - vertical-align: bottom; + align-self: center; } .label { - font-size: 24rpx; + font-size: 24px; font-weight: 400; color: #666666; + align-self: center; + width: 130px; } .value { color: #333333; font-size: 24px; font-weight: 400; + width: calc(100% - 160px); } } } diff --git a/src/project/fengdu/AppNewFarmerBank/taskDetail.vue b/src/project/fengdu/AppNewFarmerBank/taskDetail.vue index 32ed3f1..1db9810 100644 --- a/src/project/fengdu/AppNewFarmerBank/taskDetail.vue +++ b/src/project/fengdu/AppNewFarmerBank/taskDetail.vue @@ -17,7 +17,7 @@
丰都县金牛区XXXX大厦XXX楼2101
-
+
导航
@@ -44,11 +44,16 @@
- - +
+
+
打卡签到
+
积分+5
+
+
符合打卡条件,未到打卡时间,无法重复打卡
+
@@ -58,7 +63,8 @@ export default { appName: "任务详情", data() { return { - + info: {}, + id: '' } }, methods: { @@ -75,18 +81,28 @@ export default { // current: url // }) // }, - + getDetail() { + this.$instance.post(`/app/appintegraltask/queryDetailById?id=${this.id}`).then(res=> { + if(res?.data) { + console.log(res); + } + }) + } }, - onShow() { + onLoad(o) { + this.id = o.id uni.setNavigationBarTitle({ title: '任务详情' }); + this.getDetail() }, } \ No newline at end of file