Sanakey
2021-04-30 8724a444c8a1d09dc8f9efd005e8443aad8df1ab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<view class="has-footer">
  <van-checkbox-group value="{{ checkResults }}" bind:change="onChange">
    <van-cell-group>
      <my-entry-cell wx:for="{{goodsList}}" wx:key="key" list-item="{{item}}"  is-go-details="{{false}}" title-width="600rpx" data-index="{{ index }}" bind:tap="toggleCheckbox">
        <view class="right-view text-center flex-col flex-end">
          <van-checkbox name="{{fromPage==='myLive'?item.goodsId:item.doccode}}" catch:tap="toggleCheckbox2" class="checkbox checkboxes-{{index}}"></van-checkbox>
        </view>
      </my-entry-cell>
      <van-divider contentPosition="center">没有更多了</van-divider>
    </van-cell-group>
  </van-checkbox-group>
</view>
 
 
<view class="fixed-footer fixed-footer-button text-center">
  <view class="padding">
    <van-button wx:if="{{fromPage==='myStock'}}" type="warning" class="theme-button btn-padding" block bind:click="onSubmitForStock">确定</van-button>
    <van-button wx:if="{{fromPage==='myLive'}}" type="warning" class="theme-button btn-padding" block bind:click="onSubmitForLiveRoom">确定</van-button>
  </view>
</view>