faultItem.wxml 1.4 KB

12345678910111213141516171819202122232425262728
  1. <!--component/faultItem/faultItem.wxml-->
  2. <view class="item_bg" bindtap="toFaultInfoPage">
  3. <view class="{{status==0?'fault_status_wait':''}} {{status==2?'fault_status_over':''}} {{status==1?'fault_status_repair':''}}">
  4. <text class="fault_status_text">{{statusText}}</text>
  5. </view>
  6. <view class="fault_info_layout">
  7. <view class="fault_info_layout_item_bg">
  8. <image src="../../image/fault/fault_time.png" class="fault_info_layout_item_icon"></image>
  9. <text class="fault_info_layout_item_text">提交时间:</text>
  10. <text class="fault_info_layout_item_text" style="flex: 1;">{{myItemData.reportTime}}</text>
  11. </view>
  12. <view class="fault_info_layout_item_bg">
  13. <image src=" ../../image/fault/fault_number.png" class="fault_info_layout_item_icon">
  14. </image>
  15. <text class=" fault_info_layout_item_text">报修单号:</text>
  16. <text class="fault_info_layout_item_text" style="flex: 1;">{{myItemData.repairNo}}</text>
  17. </view>
  18. <view class="fault_info_layout_item_bg">
  19. <image src="../../image/fault/fault_address.png" class="fault_info_layout_item_icon"></image>
  20. <text class="fault_info_layout_item_text">详细地址:</text>
  21. <text class="fault_info_layout_item_text" style="flex: 1;">{{myItemData.provinceCity}} {{myItemData.schoolName}} {{myItemData.className}}</text>
  22. </view>
  23. </view>
  24. </view>