diff --git a/src/project/fengdu/AppNewFarmerBank/integralTask.vue b/src/project/fengdu/AppNewFarmerBank/integralTask.vue index 19ca259..4f0635d 100644 --- a/src/project/fengdu/AppNewFarmerBank/integralTask.vue +++ b/src/project/fengdu/AppNewFarmerBank/integralTask.vue @@ -4,7 +4,7 @@
任务大厅
-
+

{{ item.title }}

{{ item.detail }}

@@ -12,12 +12,12 @@
-
+
进场时间:
{{ item.intoBegintime.substring(0, 16)}} 至 {{ item.intoEndtime.substring(0, 16) }}
-
+
离场时间:
{{ item.exitBegintime.substring(0, 16) }} 至 {{ item.exitEndtime.substring(0, 16) }}
@@ -25,11 +25,12 @@
任务类型:
-
{{ item.type==0? '打卡得积分':'报名得积分' }}
+
{{ $dict.getLabel('fdIntegralTaskType', item.type) }}
+
@@ -44,7 +45,7 @@ export default { }, methods: { getList() { - this.$instance.post('/app/appintegraltask/list').then(res=> { + this.$instance.post('/app/appintegraltask/list?status=1').then(res=> { if(res?.data) { this.list = res.data.records } @@ -55,7 +56,9 @@ export default { uni.setNavigationBarTitle({ title: '功德银行' }); - this.getList() + this.$dict.load(['fdIntegralTaskType']).then(() => { + this.getList() + }) }, } diff --git a/src/project/fengdu/AppNewFarmerBank/taskDetail.vue b/src/project/fengdu/AppNewFarmerBank/taskDetail.vue index 1db9810..749e34c 100644 --- a/src/project/fengdu/AppNewFarmerBank/taskDetail.vue +++ b/src/project/fengdu/AppNewFarmerBank/taskDetail.vue @@ -1,11 +1,10 @@ @@ -122,11 +333,21 @@ export default { .imgs { display: flex; - max-width: 450px; + align-items: center; + flex-wrap: wrap; + padding-top: 20px; + box-sizing: border-box; - img { - width: 40px; - height: 40px; + image { + height: 208px; + width: 33.33%; + padding-right: 12px; + margin-bottom: 12px; + box-sizing: border-box; + + &:nth-of-type(3n) { + padding-right: 0; + } } } } @@ -188,13 +409,12 @@ export default { } .opacity { - opacity: 0.6000000238418579; + opacity: 0.6000000238418579 !important; } .gray { - background: #b5b5bcff; + background: #b5b5bcff !important; } - .btn-clock { height: 372px; width: 100%; @@ -222,6 +442,14 @@ export default { font-weight: 500; } } + + .opacity { + opacity: 0.6000000238418579 !important; + } + + .gray { + background: #b5b5bcff !important; + } .tips { text-align: center; color: #666666;