map.wxml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <view class="head">
  2. <!-- 左边的logo和文字 -->
  3. <view class="left-logo">
  4. <view href="https://www.cqna.gov.cn/" target="_blank">
  5. <image class="logo-img" src="{{imgUrl}}/map-logo.png"></image>
  6. </view>
  7. </view>
  8. <!-- 右边的搜索框 -->
  9. <view href="http://www.cqna.gov.cn/vr/vr.html" target="_blank" class="right_logo">
  10. <image src="{{imgUrl}}/second-erw-3.png" alt="" class="first_erw"></image>
  11. </view>
  12. </view>
  13. <view class="main">
  14. <view class="top_search">
  15. <view class="input-icon">
  16. <input type="text" enterkeyhint="search" name="" id="" value="" class="inp" placeholder="请输入您要搜索的内容" />
  17. <image src="{{imgUrl}}/ss2.png" class="inp-icon1"></image>
  18. </view>
  19. </view>
  20. <view class="right-map" id="right-map">
  21. <map id="map" longitude="{{longitude}}" latitude="{{latitude}}" scale="14" show-location="true" markers="{{markers}}" bindmarkertap="makertap" class="map"></map>
  22. </view>
  23. <view class="right-search" style="position: absolute; left: 22rpx; top: 257px; width: 708rpx; height: 300rpx; display: block; box-sizing: border-box; padding-top: 10rpx;">
  24. <t-tabs defaultValue="{{0}}" theme="tag" style="height: 292rpx; ">
  25. <t-tab-panel label="公交" value="0" style=" height: 180rpx; ">
  26. <include src="./quert"></include>
  27. </t-tab-panel>
  28. <t-tab-panel label="自驾" value="1">
  29. <include src="./quert"></include>
  30. </t-tab-panel>
  31. </t-tabs>
  32. </view>
  33. <view class="left-map">
  34. <view class="bttom-tab show-first">
  35. <t-grid wx:for="{{type}}" wx:index="{{index}}" wx:for-item="typeitem" wx:key="index" class="block">
  36. <t-grid-item bindtap="popview" wx:for="{{typeitem}}" data-index="{{index}}" data-id="{{item.id}}" wx:for-item="item" text="{{item.name}}" image="{{item.image}}" />
  37. </t-grid>
  38. </view>
  39. </view>
  40. </view>
  41. <t-popup visible="{{true}}" bind:visible-change="onVisibleChange" placement="bottom" style="float: left;">
  42. <view class="pop popbottom">12312312</view>
  43. </t-popup>