scene.wxml 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. <!--pages/scene/scene.wxml-->
  2. <view class="logo"></view>
  3. <view class="grouping">
  4. <text>当前手机号为:</text>
  5. <input/>
  6. <button style="width:27%;">更改手机号</button>
  7. </view>
  8. <view class="project">
  9. <text>工程名称:</text>
  10. <button>刷新列表</button>
  11. <image src="/image/addition.png" bindtap="apption"></image>
  12. </view>
  13. <view class="engin">
  14. <block wx:for="{{array}}" wx:key="id" wx:for-index="child">
  15. <view class="engineering">
  16. <text>{{item.name}}</text>
  17. <image src="/image/modify.png" class="engineering-image-1" bindtap="ShowChanges" data-indexdel="{{child}}"></image>
  18. <image src="/image/Scanning.png" class="qrcode" bindtap="scanCodeEvent" data-indexdel="{{child}}"></image>
  19. <image src="/image/develop.png" class="develop" bindtap="Develop" data-indexdel="{{child}}"></image>
  20. <image src="/image/delete.png" class="engineering-image-2" bindtap="removeapption" data-indexdel="{{child}}"></image>
  21. </view>
  22. <view wx:for="{{item.device}}" wx:key="id" class="develops" wx:for-item="device">
  23. <text class="develops-1">{{device.deviceSn}}</text>
  24. <text class="develops-2">{{device.deviceName}}</text>
  25. <text class="develops-3">{{device.status}}</text>
  26. <image src="/image/set.png" style="right: 9%;" bindtap="modifyequipmentname" data-indexdel="{{[child,index]}}"></image>
  27. <image src="/image/delete.png" style="right: 2%;width: 4%;" bindtap="Deletedevice" data-indexdel="{{[child,index]}}"></image>
  28. </view>
  29. </block>
  30. </view>