|
@@ -1,4 +1,5 @@
|
|
|
<!--index.wxml-->
|
|
|
+<view class='wrapper'>
|
|
|
<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>
|
|
|
<view class='container'>
|
|
|
<view class='nav-con'>
|
|
@@ -21,28 +22,32 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <navigator hover-class='none' url="{{item.hasProduct ? ('../wv_page/index?link='+item.product.link+'&id='+item.id):('../zl_detail/index?id='+item.id)}}" wx:for="{{exhibitionList}}" wx:key="index" class='fdkz-card'>
|
|
|
- <view class='fdkz-card-img'>
|
|
|
- <view wx:if="{{item.statusText}}" class="fdkz-card-tag {{item.statusText == '即将开始' ? 'fdkz-card-tag-start' : ''}} {{item.statusText == '已结束' ? 'fdkz-card-tag-end' : ''}}">
|
|
|
- <text class='fdkz-card-tag-txt'>{{item.statusText}}</text>
|
|
|
- </view>
|
|
|
- <image src="{{imgServer+item.imageUrl||defaultImg}}" mode="aspectFill" class='item-img'></image>
|
|
|
- </view>
|
|
|
- <view class='fdkz-card-info'>
|
|
|
- <view class='fdkz-card-info-title'>
|
|
|
- <view class='title-txt'>
|
|
|
- {{item.name}}
|
|
|
+
|
|
|
+ <view class='fdkz-card-warpper'>
|
|
|
+ <navigator hover-class='none' url="{{item.hasProduct ? ('../wv_page/index?link='+item.product.link+'&id='+item.id+'&imageUrl='+item.imageUrl):('../zl_detail/index?id='+item.id+'&imageUrl='+item.imageUrl)}}" wx:for="{{exhibitionList}}" wx:key="index" class='fdkz-card'>
|
|
|
+ <view class='fdkz-card-img'>
|
|
|
+ <view wx:if="{{item.statusText}}" class="fdkz-card-tag {{item.statusText == '即将开始' ? 'fdkz-card-tag-start' : ''}} {{item.statusText == '已结束' ? 'fdkz-card-tag-end' : ''}}">
|
|
|
+ <text class='fdkz-card-tag-txt'>{{item.statusText}}</text>
|
|
|
</view>
|
|
|
+ <image src="{{imgServer+item.imageUrl||defaultImg}}" mode="aspectFill" class='item-img'></image>
|
|
|
</view>
|
|
|
- <view class='fdkz-card-info-date'>
|
|
|
- <view class='date-txt'>{{item.pavilionName}}</view>
|
|
|
- <view class='changguan_title'>
|
|
|
- <text class='iconfont iconweizhi'> {{item.distance||0}} km</text>
|
|
|
+ <view class='fdkz-card-info'>
|
|
|
+ <view class='fdkz-card-info-title'>
|
|
|
+ <view class='title-txt'>
|
|
|
+ {{item.name}}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ <view class='fdkz-card-info-date'>
|
|
|
+ <view class='date-txt'>{{item.pavilionName}}</view>
|
|
|
+ <view class='changguan_title'>
|
|
|
+ <text class='iconfont iconweizhi'> {{item.distance||0}} km</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <text></text>
|
|
|
</view>
|
|
|
- <text></text>
|
|
|
- </view>
|
|
|
- </navigator>
|
|
|
+ </navigator>
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="weui-loadmore" wx:if="{{loading}}">
|
|
|
<view class="weui-loading"></view>
|
|
|
<view class="weui-loadmore__tips">正在加载</view>
|
|
@@ -66,4 +71,33 @@
|
|
|
</view>
|
|
|
<button type="warn" open-type='openSetting' bindopensetting="closeDialog">确定</button>
|
|
|
</view>
|
|
|
+</view>
|
|
|
+
|
|
|
+ <view class='hot-search-con' wx:if="{{exhiNum <= 3 }}">
|
|
|
+ <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> -->
|
|
|
+ <view class='componentList'>
|
|
|
+ <block wx:for="{{ExhibitionPopular}}" wx:key="index">
|
|
|
+ <component-list
|
|
|
+ hasProduct="{{item.hasProduct}}"
|
|
|
+ hasPay="{{item.hasPay}}"
|
|
|
+ sceneId="{{item.id}}"
|
|
|
+ imageUrl="{{item.imageUrl}}"
|
|
|
+ name="{{item.name}}"
|
|
|
+ pavilionName="{{item.pavilionName}}"
|
|
|
+ statusTextDesp="{{item.statusTextDesp}}"
|
|
|
+ distance="{{item.distance}}"
|
|
|
+ online="{{item.online}}"
|
|
|
+ scenePv="{{item.pv}}"
|
|
|
+ link="{{item.product.showLink}}"
|
|
|
+ ></component-list>
|
|
|
+ </block>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|