1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <!--index.wxml-->
- <logout-show title="{{'会务资源'}}" showBtn="{{true}}" wx:if="{{ token==='' }}" />
- <view class="resource" wx:else>
- <van-sticky style="background: #fff;">
- <view style="background: #fff;height: 56px;width:100%;line-height: 86px;text-align: center;font-size: 14px;">会务资源</view>
- <van-search value="{{ formData.store_name }}" placeholder="输入酒店名称" shape="round" use-action-slot bind:blur="onSearch" bind:clear="onSearch" bind:search="onSearch" use-left-icon-slot="{{true}}" use-right-icon-slot="{{true}}" custom-class="resource-search">
- <view slot="left-icon" bindtap="aaa" class="left-icon-view">
- {{formData.store_city_name}}
- <van-icon name="play" />
- </view>
- <van-icon slot="right-icon" name="search" />
- </van-search>
- <van-dropdown-menu active-color="#1989fa" close-on-click-outside="{{false}}">
- <van-dropdown-item value="{{ formData.type_id }}" title="{{formData.type_id==='0'?'类型':formData.type_id_title}}" options="{{ type_id_option }}" bind:change="typeChange" data-type="type_id" custom-class="resource-dropdown-item" />
- <van-dropdown-item value="{{ formData.area_id }}" title="{{formData.area_id==='0'?'面积':formData.area_id_title}}" options="{{ area_id_option }}" bind:change="typeChange" data-type="area_id" custom-class="resource-dropdown-item" />
- <van-dropdown-item value="{{ formData.attendance_id }}" title="{{formData.attendance_id==='0'?'容纳人数':formData.attendance_id_title}}" options="{{ attendance_id_option}}" bind:change="typeChange" data-type="attendance_id" custom-class="resource-dropdown-item" />
- <van-dropdown-item value="{{ formData.store_spec_id }}" title="{{formData.store_spec_id==='0'?'场地特色':formData.store_spec_id_title}}" options="{{ store_spec_id_option }}" bind:change="typeChange" data-type="store_spec_id" custom-class="resource-dropdown-item" />
- </van-dropdown-menu>
- </van-sticky>
- <view class="container">
- <van-empty wx:if="{{ length===0 }}" description="暂无会务资源" />
- <view class="resource-list" hidden="{{length!==0 ? false : true}}">
- <view class="resource-item" wx:for="{{resourceList}}" wx:key="index" bindtap="bindViewTap" data-type="{{item.id}}">
- <view class="resource-item-left">
- <image src="{{item.store_image}}" class="goods-img" />
- </view>
- <view class="resource-item-right">
- <view class="resource-item-right-title">
- {{item.store_name}}
- </view>
- <view class="resource-item-right-area">
- <text>{{item.store_city_text}}</text><text class="dian">·</text>
- <text>{{item.storeType&&item.storeType.name?item.storeType.name:''}}</text>
- </view>
- <view class="resource-item-right-count">
- <view class="resource-item-right-count-item">
- <label>最大会场:</label>
- <text>{{item.max_area}}㎡</text>
- </view>
- <view class="resource-item-right-count-item">
- <label>最多容纳:</label>
- <text>{{item.attence}}人</text>
- </view>
- <view class="resource-item-right-count-item">
- <label>会场数量:</label>
- <text>{{item.meet_num}}间</text>
- </view>
- <view class="resource-item-right-count-item">
- <label>客房数量:</label>
- <text>{{item.room_num}}间</text>
- </view>
- </view>
- </view>
- </view>
- <view wx:if="{{!hasData&&length>0}}" style="text-align: center;font-size: 13px;">没有更多了</view>
- </view>
- </view>
- </view>
- <popup-modal show="{{show}}" popupType="{{popupType}}" popupKey="{{popupKey}}" popupTitle="{{popupTitle}}" popupValue="{{popupValue}}" popupApi="{{popupApi}}" binditemClick="tapItemClick" bindleftClick="popupLeft"/>
|