project.wxml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <!--pages/buyer/buyer.wxml-->
  2. <!--
  3. <view class='viewBox'>
  4. <!--地图
  5. <map id="map" class='mapBox' longitude="{{longitude}}" latitude="{{latitude}}" bindtap="touchMap" scale="{{scale}}" markers="{{markers}}" bindmarkertap="markertapHandle" bindregionchange="regionchange" include-points="{{includepoints}}" show-location>
  6. <block wx:if="{{show}}">
  7. <cover-view class="controls">
  8. <cover-view class='title'>
  9. <cover-image class='headIcon' src='{{headUrl}}' mode='aspectFill'></cover-image>
  10. <cover-view class='name'>{{popBoxTitle}}</cover-view>
  11. <cover-view class='look' data-locationid='{{locationid}}' bindtap='openTalkBoxHandle'>点击查看</cover-view>
  12. </cover-view>
  13. <cover-view class='desc'>{{popBoxDesc}}</cover-view>
  14. </cover-view>
  15. </block>
  16. <cover-view class="location-info">
  17. <cover-view class="location-info-text">天气: {{weatherInfo}}</cover-view>
  18. <cover-view class="location-info-text">经度: {{longitude}} 纬度: {{latitude}}</cover-view>
  19. <cover-view class="location-info-text">地址: {{location}}</cover-view>
  20. </cover-view>
  21. </map>
  22. <view class="viewTop">
  23. <view class='search'>
  24. <view class='searchItem'>
  25. <input placeholder='搜索' />
  26. <view style="width:60rpx;margin-left:30rpx;" >
  27. <image src='/images/search.png' style="width:40rpx;height:40rpx;padding-top: 7px;"></image>
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. -->
  34. <view class="org-block">
  35. <view class="org-list-box">
  36. <scroll-view scroll-y="true" class="sv">
  37. <block wx:for="{{projectList}}" wx:key="value">
  38. <view class="weui-cells weui-cells_after-title">
  39. <view class="listImage">
  40. <image class="listImage" src="/images/project.png"></image>
  41. </view>
  42. <view class="time-select">
  43. <!-- <label class="time-select" wx:for="{{projectList}}" wx:key="value"> -->
  44. <view style=" margin-top: 0px;margin-left: 8px;margin-right:8px;" class="proTextbox">
  45. <text style="margin:0rpx;color:#426666;font-size:1.0rem;" class="proText">{{item.title}}</text>
  46. </view>
  47. <view class="rtuCount" style=" margin-top: 0px;margin-left: 8px;margin-right:8px;">
  48. <view class="rtuNum">
  49. <text style="color:#FD7400"> {{item.rtuNum}}</text><text>个站点</text>
  50. </view>
  51. <view class="warningRtuNum">
  52. <text style="color:#FD7400"> {{item.warningRtuNum}}</text><text>个站点预警</text>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="button">
  57. <view class="button-check">
  58. <button class="check-btn" data-projectid="{{item.projectId}}" bindtap="checkProgHandle">
  59. <text class="text"
  60. style="font-size:0.6rem;display:flex;justify-content:center;align-items:center;height:22px;color:white">查看</text>
  61. </button>
  62. </view>
  63. <!-- <view class="button-sub" bindtap="reportInputHandle">
  64. <button class="mini-btn">
  65. <text class="text"
  66. style="font-size:0.6rem;display:flex;justify-content:center;align-items:center;height:22px;">上报</text>
  67. </button>
  68. </view> -->
  69. </view>
  70. <!-- </label> -->
  71. </view>
  72. </block>
  73. </scroll-view>
  74. </view>
  75. </view>
  76. <!-- <view class="orgName">
  77. <view style="height:30px;padding-left: 20rpx;">
  78. <text>当前项目</text>
  79. </view>
  80. <view style="height:30px;padding-left: 20rpx;" bindtap="orgSelectEvent">
  81. <text style="color: darkcyan;">{{orgName}}</text>
  82. </view>
  83. </view>
  84. <view style="height:20px;padding-left: 20rpx;">
  85. <button class="mini-btn" type="default" size="mini" bindtap="takeProjectPhoto">上传照片</button>
  86. </view>
  87. <view style="padding-left: 20rpx;margin-top:5px">
  88. <image src='/images/w1.jpg' style="height:120rpx" mode="aspectFit"></image>
  89. </view>
  90. <view class=' desc'>
  91. <view class='inputBox'>
  92. <input class='input' placeholder='工作说明情况' type='text' bindinput='reportInputHandle' value='{{reportDesc}}' focus='{{reportInputFocus}}'></input>
  93. </view>
  94. <view class='reportButton'>
  95. <image class='reportIcon' bindtap='reportMyLocation' src="../../images/launch.png" mode="widthFix" />
  96. <button size='mini' bindtap='reportMyLocation'>提交</button>
  97. </view>
  98. </view>
  99. </view>-->
  100. <!-- <modal hidden="{{hiddenmodalput}}" title="HI,起个名字吧!" confirm-text="OK" cancel-text="CANCEL" bindcancel="nickCancelHandle" bindconfirm="nickConfirmHandle">
  101. <input type='text' placeholder="请输入昵称" auto-focus bindinput="bindNickInputHandle" />
  102. </modal> -->