rtuConstructionReport.wxml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <view class="publishContainer">
  2. <view class="top-info">
  3. <view style="margin-left:20rpx;margin-right:20rpx;">
  4. <text class="weather-text-title">天气:</text>
  5. </view>
  6. <view style="margin-left:20rpx;margin-right:20rpx;">
  7. <text class="weather-text">{{weather}}</text>
  8. </view>
  9. <view style="margin-left:20rpx;margin-right:20rpx;">
  10. <text class="location-text">经度:{{lng}} 纬度:{{lat}}</text>
  11. </view>
  12. <view style="margin-left:20rpx;margin-right:20rpx;">
  13. <text class="weather-text-title">地址(可修改):</text>
  14. </view>
  15. <view style="margin-left:20rpx;margin-right:20rpx;">
  16. <input class='address-text' placeholder='请录入地址' type='text' bindinput="bindAddressKeyInput" value='{{address}}'></input>
  17. </view>
  18. <view style="margin-left: 20rpx;margin-top: 5rpx;display: flex;flex-direction: row;justify-content: flex-start;height: 50px;width: 100%;">
  19. <view>
  20. <switch type="checkbox" checked="{{updateRtuLocationChecked}}" bindchange="updateRtuLocationCheckboxChange" />
  21. </view>
  22. <text style="font-size:0.8rem;color:red;margin-left: 10px;margin-top: 4px;height: 26px;">同步更新测站经纬度</text>
  23. </view>
  24. </view>
  25. <view class="rtuCode-box">
  26. <view>
  27. <text class='rtuCode-text'>RTU编码:</text>
  28. </view>
  29. <view style="word-break: break-all;">
  30. <input class='rtuCode-text' placeholder-style="font-size:0.7rem;color:darkgray" placeholder='请输入RTU编码' type='text' bindinput="rtuCodeInput" value='{{rtuCode}}'></input>
  31. </view>
  32. <view class="button-check">
  33. <button class="check-btn" hover-class="btn-hover-class" bindtap="toRtuSelectPageCheckHandle">
  34. <text class="text" style="font-size:0.6rem;display:flex;justify-content:center;align-items:center;height:22px;color:white">选择</text>
  35. </button>
  36. </view>
  37. </view>
  38. <view style="background-color: white;display: flex;justify-content: flex-start;flex-direction: row;">
  39. <view>
  40. <text class='rtuCode-text'>RTU名称:</text>
  41. </view>
  42. <view style="word-break: break-all;">
  43. <input class='rtuCode-text' placeholder-style="font-size:0.7rem;color:darkgray" placeholder='请输入RTU名称' type='text' bindinput="rtuNameInput" value='{{rtuName}}'></input>
  44. </view>
  45. </view>
  46. <view class="prog-info">
  47. <view style="margin-left:20rpx;margin-right:20rpx;">
  48. <text class="weather-text-title">项目记录:</text>
  49. </view>
  50. <view class='descInputBox'>
  51. <textarea class="textarea" value="{{projectDesc}}" placeholder="{{placeholder}}" placeholder-class="placeholder" bindinput="bindKeyInput"></textarea>
  52. </view>
  53. <view class='photoBox'>
  54. <view class='scroll-list'>
  55. <block wx:for="{{photos}}" wx:for-item="photo" wx:key="key">
  56. <image class='item-img' src='{{photo.path}}' bindtap="{{photo.type==0?'takePhoto':'editPhoto'}}" mode='aspectFill'></image>
  57. </block>
  58. </view>
  59. </view>
  60. </view>
  61. <view class='buttonBox'>
  62. <button class="submit-button" hover-class="btn-hover-class" bindtap="submitData" style="color:#426666;">
  63. <text class="text" style="font-size:1.0rem; color:white">提交</text>
  64. </button>
  65. </view>
  66. </view>