p_badd.wxml 1.04 KB
<view class="desk-reminder font26r" style="margin-bottom:20rpx;">点击开关启用/停用票据,点击票据名称进入票据管理</view>
    <block wx:for="{{billlist}}" wx:for-index='key' wx:for-item='item'>
              <view class="flex-lr   common height160r">
                  <navigator class="item-title font36r smooth" style="width:40%;font-weight:500;" url="../bill/b_add?id={{item.id}}" hover-class="none">{{item.name}}</navigator>
                  <block wx:if="{{item.is_choose==true}}">
                     <switch checked data-id="{{item.id}}" data-name="{{item.name}}" bindchange="switch1Change" color="#199095"/>
                  </block>
                  <block wx:else>
                     <switch  data-id="{{item.id}}" data-name="{{item.name}}"  bindchange="switch2Change" color="#199095"/>
                  </block>
              </view>
              <view class="cut" style="background:#efeef3;"></view>
    </block>


    <!--<view style="height:30px"></view>-->

    <netWork bind:netchange="netchange" id="network"></netWork>