bluetooth.wxml 1.1 KB

1234567891011121314151617181920212223242526
  1. <view class='Fpage huise'>
  2. <view class='Ftop'>
  3. <view class='topl' bindtap='tuichu'>返回</view>
  4. <view class='topc'>蓝牙打印</view>
  5. <view class='topr'></view>
  6. </view>
  7. <view class='sbody'>
  8. <view class='TOU'>
  9. <button class='BUT' bindtap='openP'>搜 索</button>
  10. </view>
  11. <view class='TOU FF'>
  12. <text>{{LYData.TS}}</text>
  13. </view>
  14. <view class='hang' wx:for="{{LYSB}}" hidden='{{item.dis}}' >
  15. <text class='ly'>{{item.name}}</text>
  16. <image class='xh' src='../../imgs/{{item.tp}}.png'></image>
  17. <button hidden='{{item.LJ=="0"? false:true}}' bindtap='lianjie' data-uuid='{{item.id}}' class='SBUT'>连 接</button>
  18. <button hidden='{{item.LJ=="1"? false:true }}' disabled='true' class='SBUT'>正在连接</button>
  19. <button hidden='{{item.LJ=="2"? false:true }}' bindtap='duankai' data-uuid='{{item.id}}' class='SBUT'>断 开</button>
  20. <button hidden='{{item.LJ=="3"? false:true }}' disabled='true' class='SBUT'>连接失败</button>
  21. </view>
  22. <view class='TOU'>
  23. <button class='BUT' bindtap='Printg'>打印测试页</button>
  24. </view>
  25. </view>
  26. </view>