publishPhoto.wxml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <view class='mapBox'>
  2. <!--地图-->
  3. <map id="map" class='mapBox' longitude="{{longitude}}" latitude="{{latitude}}" bindtap="touchMap" scale="{{scale}}" markers="{{markers}}" bindmarkertap="markertapHandle" bindregionchange="regionchange" include-points="{{includepoints}}" show-location>
  4. <block wx:if="{{show}}">
  5. <cover-view class="controls">
  6. <cover-view class='title'>
  7. <cover-image class='headIcon' src='{{headUrl}}' mode='aspectFill'></cover-image>
  8. <cover-view class='name'>{{popBoxTitle}}</cover-view>
  9. <cover-view class='look' data-locationid='{{locationid}}' bindtap='openTalkBoxHandle'>点击查看</cover-view>
  10. </cover-view>
  11. <cover-view class='desc'>{{popBoxDesc}}</cover-view>
  12. </cover-view>
  13. </block>
  14. <cover-view class="location-info">
  15. <cover-view class="location-info-text">天气: {{weatherInfo}}</cover-view>
  16. <cover-view class="location-info-text">经度: {{longitude}} 纬度: {{latitude}}</cover-view>
  17. <cover-view class="location-info-text">地址: {{location}}</cover-view>
  18. </cover-view>
  19. </map>
  20. </view>
  21. <view class="publishContainer">
  22. <!-- <view style="margin-left:20rpx;margin-right:20rpx;">
  23. <text class="weather-text-title">天气:</text>
  24. </view>
  25. <view style="margin-left:20rpx;margin-right:20rpx;">
  26. <text class="weather-text">天气 {{weather}}</text>
  27. </view>
  28. <view style="margin-left:20rpx;margin-right:20rpx;">
  29. <text class="location-text">经度:{{lat}} 纬度:{{lng}}</text>
  30. </view>
  31. <view style="margin-left:20rpx;margin-right:20rpx;">
  32. <text class="weather-text-title">地址(可修改):</text>
  33. </view>
  34. <view style="margin-left:20rpx;margin-right:20rpx;">
  35. <input class='address-text' placeholder='请录入地址' type='text' bindinput="bindAddressKeyInput" value='{{address}}'></input>
  36. </view>-->
  37. <view style="margin-left:20rpx;margin-right:20rpx;">
  38. <text class="weather-text-title">项目记录:</text>
  39. </view>
  40. <view class='descInputBox'>
  41. <!-- <textarea class="textarea" value="{{value}}" placeholder="{{placeholder}}" placeholder-class="placeholder" maxlength="300" auto-focus="true" auto-height="false" show-confirm-bar="true" bindinput="bindKeyInput"></textarea> -->
  42. <textarea class="textarea" value="{{inputValue}}" placeholder="{{placeholder}}" placeholder-class="placeholder" bindinput="bindKeyInput"></textarea>
  43. </view>
  44. <view class='photoBox'>
  45. <view class='scroll-list'>
  46. <block wx:for="{{photos}}" wx:for-item="photo" wx:key="key">
  47. <image class='item-img' src='{{photo.path}}' bindtap="{{photo.type==0?'takePhoto':'editPhoto'}}" mode='aspectFill'></image>
  48. </block>
  49. </view>
  50. </view>
  51. <view class='buttonBox'>
  52. <button type="primary" size="default" bindtap="sendPhoto">提交</button>
  53. </view>
  54. </view>