|
@@ -26,18 +26,22 @@
|
|
</view>
|
|
</view>
|
|
<view class="weui-cells weui-cells_after-title">
|
|
<view class="weui-cells weui-cells_after-title">
|
|
<checkbox-group bindchange="checkboxChange" class="checkbox">
|
|
<checkbox-group bindchange="checkboxChange" class="checkbox">
|
|
- <label class="weui-cell weui-check__label" wx:for="{{items}}" wx:key="{{item.value}}">
|
|
|
|
|
|
+ <label class="weui-cell weui-check__label" data-id="{{item.id}}" wx:for="{{items}}" wx:key="{{item.value}}">
|
|
<view class="weui-cell__hd">
|
|
<view class="weui-cell__hd">
|
|
<checkbox value="{{item.value}}" checked="{{item.checked}}" class="change" />
|
|
<checkbox value="{{item.value}}" checked="{{item.checked}}" class="change" />
|
|
<text class="weui-cell__bd">{{item.name}}</text>
|
|
<text class="weui-cell__bd">{{item.name}}</text>
|
|
- <text class="state">{{item.state}}</text>
|
|
|
|
|
|
+ <text class="state" wx:if="{{item.state == '活动中'}}">{{item.state}}</text>
|
|
|
|
+ <text class="state1" wx:if="{{item.state == '审核中'}}">{{item.state}}</text>
|
|
|
|
+ <text class="state2" wx:if="{{item.state == '申请活动'}}">{{item.state}}</text>
|
|
<view class="xian"></view>
|
|
<view class="xian"></view>
|
|
<view class="fa">
|
|
<view class="fa">
|
|
<view class="gray"></view>
|
|
<view class="gray"></view>
|
|
<text class="price">价格:{{item.price}}</text>
|
|
<text class="price">价格:{{item.price}}</text>
|
|
- <switch checked bindchange="switch1Change" color="green" class="chance" />
|
|
|
|
- <text class="clect-2">下架</text>
|
|
|
|
- <text class="clect">上架\</text>
|
|
|
|
|
|
+ <switch catchtap="acceptMission" data-index="{{index}}" checked bindchange="switch1Change" color="green" class="chance"/>
|
|
|
|
+ <text wx:if="{{!item.checkclo1}}" class="clt clect-2">下架</text>
|
|
|
|
+ <text wx:if="{{item.checkclo1}}" class="clt2 clect-2">下架</text>
|
|
|
|
+ <text wx:if="{{item.checkclo1}}" class="clt clect">上架\</text>
|
|
|
|
+ <text wx:if="{{!item.checkclo1}}" class="clt2 clect">上架\</text>
|
|
<text class="card">原价:{{item.origin}}</text>
|
|
<text class="card">原价:{{item.origin}}</text>
|
|
<text class="fa-change">修改</text>
|
|
<text class="fa-change">修改</text>
|
|
<text class="card">积分:{{item.card}}</text>
|
|
<text class="card">积分:{{item.card}}</text>
|