You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
3.0 KiB
68 lines
3.0 KiB
<!--pages/quest/subpage/detail/components/detailed/detailed.wxml-->
|
|
<!-- 展示 -->
|
|
<view class="main">
|
|
<view class="status" wx:if="{{data.isReceived !== 0&&data.status !== 0}}">
|
|
<view>{{data.status === 1 ? '进行中' : '已完成'}}</view>
|
|
<view class="status_tip">{{data.status === 1 ? '任务进行中,如已发布视频请上传链接' : '任务已结束,感谢您的努力工作!'}}</view>
|
|
</view>
|
|
<view class="main_title">{{data.title}}</view>
|
|
<view class="main_text"><text selectable='true' style="display: inline;word-wrap: break-word;">{{data.subtitle}}</text></view>
|
|
<view class="main_line"></view>
|
|
<view class="in">
|
|
<view class="he">起止时间</view>
|
|
<text class="mes">{{data.start}}\n~\n{{data.end}}</text>
|
|
</view>
|
|
<view class="in">
|
|
<view class="he">任务标签</view>
|
|
<view class="mes">
|
|
<view wx:for="{{data.tagList}}" wx:key="index">{{item.title}}\n
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="in">
|
|
<view class="he">关联车型</view>
|
|
<view class="mes">
|
|
<text wx:for="{{data.brandList}}" wx:key="index">{{item.name}}<text wx:if="{{index<data.brandList.length-1}}">、</text>
|
|
</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="main">
|
|
<view class="main_title" style="justify-content: space-between;display: flex;align-items: center;">
|
|
任务素材
|
|
</view>
|
|
<view class="image">
|
|
<image wx:for="{{data.referenceList}}" wx:key="index" class="img" style="margin-right: {{(index+1)%3 === 0 ? '0rpx' : '24rpx'}};" data-look="{{item}}" bindtap="lookup" src="{{cdn+'/'+item.coverUrl}}">
|
|
</image>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="main">
|
|
<view class="main_title" style="justify-content: space-between;display: flex;align-items: center;">
|
|
任务教程
|
|
</view>
|
|
<view class="image">
|
|
<image class="img" style="margin-right: 24rpx;" src="../../image/short/img_xtufive@2x.png"></image>
|
|
<image class="img" style="margin-right: 24rpx;" src="../../image/short/img_xtusix@2x.png"></image>
|
|
<image class="img" src="../../image/short/img_xtuseven@2x.png"></image>
|
|
</view>
|
|
</view> -->
|
|
<view class="main">
|
|
<view class="main_title" style="justify-content: space-between;display: flex;align-items: center;">
|
|
奖励规则
|
|
</view>
|
|
<view class="table">
|
|
<view class="cells">
|
|
<view class="cell cell_top" style="background-color:white;">传播值</view>
|
|
<view class="cell cell_mes" wx:for="{{table}}" wx:key="index" style="background-color: {{index%2 === 0 ? '#F5FAFF' : 'white'}};">{{item.min}}~{{item.max}}</view>
|
|
</view>
|
|
<view class="lin"></view>
|
|
<view>
|
|
<view class="cell cell_top" style="background-color:white;">奖励积分</view>
|
|
<view class="cell cell_mes" wx:for="{{table}}" wx:key="index" style="background-color: {{index%2 === 0 ? '#F5FAFF' : 'white'}};">{{item.reward}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 底部按钮 -->
|
|
<view class="bot" wx:if="{{data.isReceived === 0&& data.status === 1}}">
|
|
<view class="button" bindtap="userTask">接受任务</view>
|
|
</view> |