sync.wxml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <view class="container">
  2. <picker bindchange="bindStorePickerChange" value="{{index}}" range="{{storeList}}" range-key="storeName">
  3. <tui-list-cell hover="{{false}}">
  4. <view class="tui-line-cell">
  5. <view class="tui-title">门店</view>
  6. <input placeholder-class="phcolor" class="tui-input" placeholder="请选择门店" type="text" disabled="true"
  7. value="{{values.storeName}}" />
  8. </view>
  9. </tui-list-cell>
  10. </picker>
  11. <picker bindchange="bindSchemePickerChange" value="{{index}}" range="{{schemeList}}" range-key="schemeName">
  12. <tui-list-cell hover="{{false}}">
  13. <view class="tui-line-cell">
  14. <view class="tui-title">方案</view>
  15. <input placeholder-class="phcolor" class="tui-input" placeholder="请选择方案" type="text" disabled="true"
  16. value="{{values.schemeName}}" />
  17. </view>
  18. </tui-list-cell>
  19. </picker>
  20. <tui-list-cell hover="{{false}}">
  21. <view class="tui-line-cell">
  22. <view class="tui-title">该门店已同步{{selectList.length}}间客房</view>
  23. <view class="tui-label text-right"><text class="margin-right-xs">全选</text><switch checked="{{sync}}" bindchange="syncSwitchChange"/></view>
  24. </view>
  25. </tui-list-cell>
  26. <view class="bg-white scheme-grid">
  27. <view style="margin-left:30rpx;font-size:22rpx;color:red">提醒:红色字体为已有方案,已有方案客房也可修改方案!</view>
  28. <view class="grid col-2">
  29. <view wx:for="{{deviceList}}">
  30. <view class="cu-tag radius margin-xs padding {{item.checkout? 'bg-blue':'line-blue'}}" bindtap="syncChecked" data-index="{{index}}" data-item="{{item}}" >
  31. <view wx-if="{{item.colorType!=1}}">{{item.deviceName}} </view>
  32. <view wx-if="{{item.colorType==1}}" style="color:red">{{item.deviceName}} </view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. <tui-button type="blue" height="98rpx" shape="rightAngle" bindtap="saveInfo">保存信息</tui-button>
  38. </view>