index.wxml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <!--index.wxml-->
  2. <drop-down navItems="{{navItem}}" activeType="{{activeType}}" activeDist="{{activeDist}}" exhiNum="{{exhiNum}}" class="drop-con" bind:closeMask="onIsclose" bind:activeItem="getActiveItem" style="height:{{isShow?'100%':'0'}}"></drop-down>
  3. <view class='container'>
  4. <view class='nav-con'>
  5. <view class='yuezhan-nav'>
  6. <view class="search-navbar">
  7. <component-search></component-search>
  8. </view>
  9. <view class="yuezhan-navbar">
  10. <view bindtap='to_search' class='nav-tag nav-active'>{{locationName}}
  11. <text class='iconfont iconpaixuxialacaidan'></text>
  12. </view>
  13. <view class='nav-right'>
  14. <view bindtap='showDrop' data-id='dist' class='nav-tag'>{{activeDist}}
  15. <text class='iconfont iconpaixuxialacaidan'></text>
  16. </view>
  17. <view bindtap='showDrop' data-id='type' class='nav-tag'>{{activeType}}
  18. <text class='iconfont iconpaixuxialacaidan'></text>
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. <navigator hover-class='none' url="{{item.hasProduct&&!item.hasPay?('../yuezhan/pay_page/index?id='+item.id):(item.hasProduct?'../wv_page/index?id='+item.id:'../zl_detail/index?id='+item.id)}}" wx:for="{{exhibitionList}}" wx:key="index" class='fdkz-card'>
  25. <view class='fdkz-card-img'>
  26. <view class="fdkz-card-tag">
  27. <text class='fdkz-card-tag-txt'>{{item.statusText||'常设展'}}</text>
  28. </view>
  29. <image src="{{item.imageUrl||defaultImg}}" mode="aspectFill" class='item-img'></image>
  30. </view>
  31. <view class='fdkz-card-info'>
  32. <view class='fdkz-card-info-title'>
  33. <view class='title-txt'>
  34. {{item.name}}
  35. </view>
  36. </view>
  37. <view class='fdkz-card-info-date'>
  38. <view class='date-txt'>{{item.pavilionName}}</view>
  39. <view class='changguan_title'>
  40. <text class='iconfont iconweizhi'> {{item.distance||0}} km</text>
  41. </view>
  42. </view>
  43. <text></text>
  44. </view>
  45. </navigator>
  46. <view class="weui-loadmore" wx:if="{{loading}}">
  47. <view class="weui-loading"></view>
  48. <view class="weui-loadmore__tips">正在加载</view>
  49. </view>
  50. <view class='noDataClass' hidden='{{exhibitionList.length>0||loading}}'>
  51. <image class='no_exhibitionImg' mode='aspectFit' src='{{noExhibitionImg}}'></image>
  52. <view class="tips">
  53. 暂无展会信息
  54. </view>
  55. <view class='locationBtn' wx:if='{{getLocationBtn&&activeIndex==1}}'>
  56. <button type="warn" open-type='openSetting'>获取地理位置</button>
  57. </view>
  58. </view>
  59. </view>
  60. <view wx:if="{{showConfirm}}" class='comfirmDialog'>
  61. <view class='comfirmDialog_content'>
  62. <view class='comfirmDialog_content_tip'>
  63. <text>此处需要请求您的位置,请授予我们请求权限~</text>
  64. </view>
  65. <button type="warn" open-type='openSetting' bindopensetting="closeDialog">确定</button>
  66. </view>
  67. </view>