index.wxml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!-- 导航栏,索尼蓝牙遥控与蓝牙调试器工具 -->
  2. <view class="rounded-chunk">
  3. <!-- 灯光控制器 -->
  4. <view class="chunk">
  5. <!-- change log -->
  6. <view class="chunk-title rounded-t">灯光控制器</view>
  7. <view class="c-content rounded-b">
  8. <text class="sm-text">本工具用于控制专属led</text>
  9. </view>
  10. <view class="c-btn">
  11. <view class="btn" data-dev="light" bindtap="openPageHandle">立即使用</view>
  12. </view>
  13. </view>
  14. <!-- 索尼遥控 -->
  15. <view class="chunk mt">
  16. <!-- change log -->
  17. <view class="chunk-title rounded-t">索尼遥控</view>
  18. <view class="c-content">
  19. <text class="sm-text">本工具用于控制索尼相机,拍照</text>
  20. </view>
  21. <view class="c-content rounded-b">
  22. <view class="line hr-b"
  23. wx:for="{{sonyItems}}"
  24. wx:key="fnKey"
  25. wx:for-index="idx">
  26. <view class="info align-left">{{item.title}}</view>
  27. <!-- 判断是否为最后一个元素 -->
  28. <view class="select {{idx === (sonyItems.length - 1) ? '':'bool-font'}}">
  29. <fnState state="{{item.state}}"></fnState>
  30. </view>
  31. </view>
  32. <!-- 居中路由按钮. 实现立即跳转至对应页面-->
  33. <view class="c-btn" >
  34. <view class="btn" data-dev="{{'camera'}}" bindtap="openPageHandle" >立即使用</view>
  35. </view>
  36. </view>
  37. </view>
  38. <!-- 蓝牙命令控制器 -->
  39. <view class="chunk mt">
  40. <!-- change log -->
  41. <view class="chunk-title rounded-t">蓝牙控制器</view>
  42. <view class="c-content rounded-b">
  43. <!-- info -->
  44. <text class="sm-text">本工具用于调试蓝牙设备,包括蓝牙设备的搜索、连接、断开、发送数据、接收数据等功能。
  45. </text>
  46. </view>
  47. <view class="c-btn">
  48. <view class="btn" data-dev="{{'bleTool'}}" bindtap="openPageHandle">立即使用</view>
  49. </view>
  50. </view>
  51. </view>