|
@@ -29,10 +29,10 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view hidden="{{activeIndex!=0}}">
|
|
|
+ <view class='search-container' hidden="{{activeIndex!=0}}">
|
|
|
<view class="weui-tab__panel">
|
|
|
<block wx:for="{{exhibitionList}}" wx:key="index">
|
|
|
- <navigator hover-class='none' url="{{item.hasProduct&&!item.hasPay?('../pay_page/index?id='+item.id):(item.hasProduct?'../../wv_page/index?id='+item.id:'../../zl_detail/index?id='+item.id)}}" class='weui-tab__content_item'>
|
|
|
+ <navigator hover-class='none' url="{{item.hasProduct ? ('../../wv_page/index?link='+item.product.link+'&id='+item.id):('../../zl_detail/index?id='+item.id)}}" class='weui-tab__content_item'>
|
|
|
<view class="fdkk-cells">
|
|
|
<view class="weui-panel__bd">
|
|
|
<view class="weui-media-box weui-media-box_appmsg">
|
|
@@ -56,8 +56,8 @@
|
|
|
<view class='desc'>
|
|
|
<view class="weui-media-box__desc">{{item.statusTextDesp}}</view>
|
|
|
<view>
|
|
|
- <view class='iconfont icon-zuobiao'></view>
|
|
|
- <text>30km</text>
|
|
|
+ <view class="iconfont {{item.hasProduct?'iconredu':'iconweizhi'}}"></view>
|
|
|
+ <text>{{item.hasProduct?item.pv:(item.distance || 0 +' km')}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -68,7 +68,7 @@
|
|
|
</view>
|
|
|
</navigator>
|
|
|
</block>
|
|
|
- <view class='noDataClass' style='margin:20% 0' wx:if='{{exhibitionList.length === 0 && !loading }}'>
|
|
|
+ <view class='noDataClass' wx:if='{{exhibitionList.length === 0 && !loading }}'>
|
|
|
<image class='no_exhibitionImg' mode='aspectFit' src='{{noExhibitionImg}}'></image>
|
|
|
<view class="tips">
|
|
|
没有搜到对应的展览
|
|
@@ -77,48 +77,7 @@
|
|
|
</view>
|
|
|
|
|
|
|
|
|
- <view class='hot-search-con' wx:if="{{totalElements && totalElements < 5 }}">
|
|
|
- <view class='hot-search'>
|
|
|
- <view class='hot-search-title'>
|
|
|
- <text class='hot-search-title-txt'>热门搜索</text>
|
|
|
- </view>
|
|
|
- <!-- <view class='hot-tag'>
|
|
|
- <text wx:for="{{keyword}}" wx:key="index" bindtap='keywordSearch' data-keyword='{{item.dataValue}}' class='hot-tag-item'>{{item.dataValue}}</text>
|
|
|
- </view> -->
|
|
|
- <block wx:for="{{exhibitionList}}" wx:key="index">
|
|
|
- <navigator hover-class='none' url="{{item.hasProduct&&!item.hasPay?('../pay_page/index?id='+item.id):(item.hasProduct?'../../wv_page/index?id='+item.id:'../../zl_detail/index?id='+item.id)}}" class='weui-tab__content_item'>
|
|
|
- <view class="fdkk-cells">
|
|
|
- <view class="weui-panel__bd">
|
|
|
- <view class="weui-media-box weui-media-box_appmsg">
|
|
|
- <view class="weui-media-box__hd weui-media-box__hd_in-appmsg">
|
|
|
- <image class="weui-media-box__thumb" mode='aspectFill' src="{{ imgServer + item.imageUrl||defaultImg}}">
|
|
|
- </image>
|
|
|
- </view>
|
|
|
- <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
|
|
|
- <view class="weui-media-box__title weui-flex">
|
|
|
- <text class="title-txt">{{item.name}}</text>
|
|
|
- <view class="pavilionName">
|
|
|
- {{item.pavilionName}}
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class='desc'>
|
|
|
- <view class="weui-media-box__desc">{{item.statusTextDesp}}</view>
|
|
|
- <view>
|
|
|
- <view class='iconfont icon-zuobiao'></view>
|
|
|
- <text>30km</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </navigator>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+
|
|
|
|
|
|
<!-- 没有更多内容 -->
|
|
|
<!-- <view class='no-more'>
|
|
@@ -128,7 +87,7 @@
|
|
|
</view>
|
|
|
|
|
|
|
|
|
- <view hidden="{{activeIndex!=1}}">
|
|
|
+ <view class='pavilionList-container' hidden="{{activeIndex!=1}}">
|
|
|
<view class="weui-tab__panel">
|
|
|
<block wx:for="{{pavilionList}}" wx:key="index">
|
|
|
<navigator hover-class='none' url="{{'../../cg_detail/index?id='+item.id}}" class='weui-tab__content_item'>
|
|
@@ -155,7 +114,7 @@
|
|
|
</block>
|
|
|
|
|
|
<view class='noDataClass' wx:if='{{pavilionList.length === 0 && !loading}}'>
|
|
|
- <image class='no_exhibitionImg' mode='aspectFit' src='{{noExhibitionHallImg}}'></image>
|
|
|
+ <image class='no_pavilionImg' mode='aspectFit' src='{{noExhibitionHallImg}}'></image>
|
|
|
<view class="tips">
|
|
|
没有搜到对应的展馆
|
|
|
</view>
|
|
@@ -164,6 +123,49 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
+ <view class='hot-search-con' wx:if="{{totalElements < 5 }}">
|
|
|
+ <view class='hot-search'>
|
|
|
+ <view class='hot-search-title'>
|
|
|
+ <text class='hot-search-title-txt'>热门推荐</text>
|
|
|
+ </view>
|
|
|
+ <!-- <view class='hot-tag'>
|
|
|
+ <text wx:for="{{keyword}}" wx:key="index" bindtap='keywordSearch' data-keyword='{{item.dataValue}}' class='hot-tag-item'>{{item.dataValue}}</text>
|
|
|
+ </view> -->
|
|
|
+ <block wx:for="{{ExhibitionPopular}}" wx:key="index">
|
|
|
+ <navigator hover-class='none' url="{{item.hasProduct ? ('../../wv_page/index?link='+item.product.link+'&id='+item.id):('../../zl_detail/index?id='+item.id)}}" class='weui-tab__content_item'>
|
|
|
+ <view class="fdkk-cells">
|
|
|
+ <view class="weui-panel__bd">
|
|
|
+ <view class="weui-media-box weui-media-box_appmsg">
|
|
|
+ <view class="weui-media-box__hd weui-media-box__hd_in-appmsg">
|
|
|
+ <image class="weui-media-box__thumb" mode='aspectFill' src="{{ imgServer + item.imageUrl||defaultImg}}">
|
|
|
+ </image>
|
|
|
+ </view>
|
|
|
+ <view class="weui-media-box__bd weui-media-box__bd_in-appmsg">
|
|
|
+ <view class="weui-media-box__title weui-flex">
|
|
|
+ <text class="title-txt">{{item.name}}</text>
|
|
|
+ <view class="pavilionName">
|
|
|
+ {{item.pavilionName}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class='desc'>
|
|
|
+ <view class="weui-media-box__desc">{{item.statusTextDesp}}</view>
|
|
|
+ <view>
|
|
|
+ <view class="iconfont {{item.hasProduct?'iconredu':'iconweizhi'}}"></view>
|
|
|
+ <text>{{item.hasProduct?item.pv:(item.distance || 0 +' km')}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </navigator>
|
|
|
+ </block>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="weui-loadmore" wx:if="{{loading}}">
|
|
|
<view class="weui-loading"></view>
|
|
|
<view class="weui-loadmore__tips">正在加载</view>
|