Commit 61dc7f5e by 高淑倩

add: icon_color

parent 11cb9c40
......@@ -16,6 +16,7 @@ wxService.page({
cartList: [],
outGoods: [],
checkAll: false,
checkedColor: 'rgb(203, 60, 60)'
},
/**
......
......@@ -20,7 +20,7 @@
<!-- <view class="{{item.isSelect ? 'theme-color' : ''}} circle-radio" >
<image wx:if="{{item.isSelect}}" class="tick-success" src="/assets/imgs/7_1_0/tick-success.png" mode="widthFix"></image>
</view>-->
<icon size="16" type="{{item.checked ? 'success' : 'circle'}}" data-index="{{index}}" catchtap="checkPro"></icon>
<icon size="16" type="{{item.checked ? 'success' : 'circle'}}" color="{{checkedColor}}" data-index="{{index}}" catchtap="checkPro"></icon>
</view>
<view class="pro-info">
<image class="pro-img" src="/assets/imgs/7_1_0/icon.png" mode="widthFix"></image>
......@@ -70,7 +70,7 @@
<!--<view class="{{isAllSelect ? 'theme-color' : ''}} circle-radio " >
<image wx:if="{{isAllSelect}}" class="tick-success" src="/assets/imgs/7_1_0/tick-success.png" mode="widthFix"></image>
</view>-->
<icon type="{{checkAll ? 'success' : 'circle'}}" size="16" ></icon>
<icon type="{{checkAll ? 'success' : 'circle'}}" color="{{checkedColor}}" size="16" ></icon>
<text class="all" >全选</text>
</view>
<view class="total-amount">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment