firmware.wxml 1.0 KB

123456789101112131415161718192021222324252627
  1. <view>
  2. <nav-bar bind:goBack="_goBack" nav-bgc-class="ex-nav-bgc-class" nav-title-class="ex-nav-title-class" ex-back-pre="ex-back-pre" navbar-data='{{nvabarData}}'>
  3. </nav-bar>
  4. <view style="margin-top: 100rpx;"></view>
  5. <view wx:for="{{topList}}" wx:key="key" wx:for-item="item" wx:for-index="index">
  6. <view class="top_item" data-index="{{index}}">
  7. <view class="top_item_left">{{item.title}}</view>
  8. <view class="top_item_right">{{item.name}}</view>
  9. </view>
  10. </view>
  11. <view class="update">
  12. <view bindtap="toUpdate" class="{{isUpdated ? 'action' : ''}}">固件更新</view>
  13. </view>
  14. <view class="update_progress_public">
  15. <!-- 背景黑蒙版 -->
  16. <view class="update_progress_mask" wx:if="{{showModal}}"></view>
  17. <!-- 自定义模态框,用于显示带进度条的弹窗 -->
  18. <view class="update_progress_modal" wx:if="{{showModal}}">
  19. <text>正在升级中</text>
  20. <progress class="update_progress" percent="{{progress}}" style="width: 500rpx;" stroke-width="4" />
  21. </view>
  22. </view>
  23. </view>