showBoxDetail.wxml 1.0 KB

1234567891011121314151617181920212223242526272829
  1. <!--pages/index/showBoxDetail/showBoxDetail.wxml-->
  2. <import src="../statusInfo/statusInfoTemplate.wxml" />
  3. <import src="../baseInfo/baseInfoTemplate.wxml" />
  4. <import src="../datagramInfo/datagramInfoTemplate.wxml" />
  5. <page>
  6. <view class="showBoxDetailContainer">
  7. <view style="height: 120rpx;">
  8. <tab id="tab" items="{{items}}" bind:itemtap="onItemtap" theme="smallBar"></tab>
  9. </view>
  10. <view class="tab-content">
  11. <block wx:if="{{statusView}}">
  12. <template is="statusInfoTemplate" data="{{...statusInfo}}" />
  13. </block>
  14. <block wx:if="{{datagramView}}">
  15. <template is="datagramInfoTemplate" data="{{...datagramInfo}}" />
  16. </block>
  17. <block wx:if="{{baseView}}">
  18. <template is="baseInfoTemplate" data="{{...baseInfo}}" />
  19. </block>
  20. </view>
  21. </view>
  22. <!-- <view class="publish_button_box {{publish_button_state==true?'pulish_button_show':''}} {{publish_button_state==false?'pulish_button_hide':''}}">
  23. <view class='publish_button' bindtap="takePhoto">
  24. <image src='/images/setting.png'></image>
  25. </view>
  26. </view> -->
  27. </page>