Merge branch 'test' of https://e.coding.net/g-cphe0354/duanju/video_app into ymf
This commit is contained in:
@@ -10,9 +10,9 @@
|
|||||||
<view class="icon_title u-font-32 text-bold u-relative">新人好礼送不停</view>
|
<view class="icon_title u-font-32 text-bold u-relative">新人好礼送不停</view>
|
||||||
<u-image class="task_icon2 u-relative" src="../../static/images/me/task_icon2.png"></u-image>
|
<u-image class="task_icon2 u-relative" src="../../static/images/me/task_icon2.png"></u-image>
|
||||||
</view>
|
</view>
|
||||||
<view class="content margin-lr padding bg-white u-relative" v-if="cellList.length>0">
|
<view class="content margin-lr padding bg-white u-relative" v-if="list.length">
|
||||||
|
|
||||||
<view class="cell flex justify-between" v-for="(item,index) in cellList" :key="index">
|
<view class="cell flex justify-between" v-for="(item,index) in list" :key="index">
|
||||||
<view class="cell_left flex">
|
<view class="cell_left flex">
|
||||||
<view class="cell_title flex">
|
<view class="cell_title flex">
|
||||||
<view class="u-font-28 text-bold title" :style="{alignSelf: item.rewardImg?'center':'flex-start'}">{{ item.title}}</view>
|
<view class="u-font-28 text-bold title" :style="{alignSelf: item.rewardImg?'center':'flex-start'}">{{ item.title}}</view>
|
||||||
@@ -40,31 +40,10 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
title: '',
|
title: '',
|
||||||
page: 1,
|
|
||||||
limit: 999,
|
|
||||||
background: {
|
background: {
|
||||||
backgroundImage: 'linear-gradient(to right, #FFE5EA 0%, #E4F5FB 49%, #FFF0EE 100%)'
|
backgroundImage: 'linear-gradient(to right, #FFE5EA 0%, #E4F5FB 49%, #FFF0EE 100%)'
|
||||||
},
|
},
|
||||||
cellList: [
|
list: []
|
||||||
// {
|
|
||||||
// title: '分享奖励', type: 1, url: '/me/invite/index', rewardImg: '../../static/images/me/task_icon3.png', rewardDetail: '奖励888金币', detail: '分享好友即可获得', buttonTitle:'立即分享'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// title: '每日签到奖励', type: 2, url: '/pages/index/index', rewardImg: '../../static/images/me/task_icon3.png', rewardDetail: '奖励8898金币', detail: '每日付款满3笔即可获得', buttonTitle:'立即看剧'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// title: '每周打卡奖励', type: 3, url: '/me/invite/index', rewardImg: '', rewardDetail: '', detail: '签到满7天即可获得丰富好礼', buttonTitle:'剩余23次'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// title: '每月打卡奖励1', type: 4, url: '/me/invite/index', rewardImg: '', rewardDetail: '', detail: '当月签到满21天获得丰富好礼', buttonTitle:'剩余233次'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// title: '每月打卡奖励2', type: 5, url: '/me/invite/index', rewardImg: '../../static/images/me/task_icon4.png', rewardDetail: '奖励金币', detail: '当月签到满21天即可免费领取', buttonTitle:'立即领取'
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// title: '观看视频奖励', type: 6, url: '/me/invite/index', rewardImg: '../../static/images/me/task_icon3.png', rewardDetail: '奖励金币', detail: '观看完整视频即可获得奖励', buttonTitle:'观看视频'
|
|
||||||
// },
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
@@ -129,7 +108,7 @@
|
|||||||
|
|
||||||
this.$Request.getT('app/taskCenter/selectTaskCenter', {}).then(res => {
|
this.$Request.getT('app/taskCenter/selectTaskCenter', {}).then(res => {
|
||||||
if (res.code == 0 ) {
|
if (res.code == 0 ) {
|
||||||
this.cellList = res.data
|
this.list = res.data
|
||||||
}
|
}
|
||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user