index.wxml 3.9 KB

1
  1. <view class="content"><logion-dialog vue-id="8dd740cc-1" showdialog="{{showdialog}}" data-event-opts="{{[['^confirmDiaolog',[['confirmDiaolog']]],['^cancelDiaolog',[['cancelDiaolog']]]]}}" bind:confirmDiaolog="__e" bind:cancelDiaolog="__e" bind:__l="__l"></logion-dialog><scroll-view class="floor-list" style="height:100vh;" scroll-top="{{scrollTop}}" scroll-y="true" refresher-enabled="true" data-event-opts="{{[['scroll',[['scroll',['$event']]]],['scrolltoupper',[['upper',['$event']]]],['scrolltolower',[['lower',['$event']]]]]}}" bindscroll="__e" bindscrolltoupper="__e" bindscrolltolower="__e"><uni-nav-bar class="top" vue-id="8dd740cc-2" shadow="{{false}}" fixed="{{false}}" color="#333333" background-color="#FFFFFF" bind:__l="__l" vue-slots="{{['default','left','right']}}"><view style="width:70%;padding-left:32rpx;" slot="left"><block wx:if="{{!allow}}"><view class="city"><view style="font-size:35rpx;">{{location}}</view></view></block><block wx:if="{{allow}}"><button open-type="openSetting" data-event-opts="{{[['opensetting',[['handler',['$event']]]]]}}" bindopensetting="__e">定位失败,点击重新获取</button></block></view><view class="input-view" style="float:right;"><uni-icon vue-id="{{('8dd740cc-3')+','+('8dd740cc-2')}}" color="#606266" size="22" type="scan" data-event-opts="{{[['^click',[['scan']]]]}}" bind:click="__e" bind:__l="__l"></uni-icon></view><view slot="right"><view data-event-opts="{{[['tap',[['goinfor',['$event']]]]]}}" bindtap="__e"><uni-icon vue-id="{{('8dd740cc-4')+','+('8dd740cc-2')}}" color="#606266" size="22" type="chat" bind:__l="__l"></uni-icon></view></view></uni-nav-bar><view data-event-opts="{{[['tap',[['goSearch',['$event']]]]]}}" class="searchType" style="background:#fff;" bindtap="__e"><view class="input-view"><uni-icon vue-id="8dd740cc-5" type="search" size="22" color="#666666" bind:__l="__l"></uni-icon><input class="input" confirm-type="search" type="text" placeholder="搜索您入住的酒店" data-event-opts="{{[['confirm',[['confirm',['$event']]]]]}}" bindconfirm="__e"/></view></view><view class="scrollswiper"><swiper class="swiper" indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}"><block wx:for="{{backgroundlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item><view data-event-opts="{{[['tap',[['shopDetail',['$0'],[[['backgroundlist','',index]]]]]]]}}" class="swiper-item" bindtap="__e"><image style="height:100%;width:100%;" src="{{pictureUrl+'/uploads/home/adv/'+item.adv_code}}"></image></view></swiper-item></block></swiper></view><view class="tips">在附近酒店找到您入住的酒店</view><view style="border-bottom:2rpx solid #EEEEEE;width:100%;margin-bottom:24rpx 0;"></view><block wx:if="{{!allow}}"><view><block wx:for="{{hotelist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['openinfo',['$0'],[[['hotelist','',index]]]]]]]}}" class="hotelList" bindtap="__e"><view class="hotleLeft"><image style="width:214rpx;height:152rpx;" src="{{pictureUrl+'/uploads/home/adv/'+item.store_logo}}"></image></view><view class="hotelright"><view style="font-size:32rpx;color:#303133;font-weight:550;">{{item.store_name+''}}</view><view style="display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:10rpx 0;"><view style="font-size:32rpx;color:#303133;font-weight:550;">{{item.store_servicecredit}}</view><view style="color:#606266;font-size:24rpx;">{{"月访客"+item.store_visitor}}</view><view style="color:#606266;font-size:24rpx;">{{item.distance}}</view></view><block wx:if="{{item.tages.length!=1}}"><view class="undertip"><block wx:for="{{item.tages}}" wx:for-item="items" wx:for-index="index" wx:key="index"><view class="tipsTop">{{items}}</view></block></view></block></view></view></block></view></block><block wx:if="{{allow}}"><view style="text-align:center;margin:100rpx 0;">定位失败暂时获取不到周边酒店信息哦</view></block></scroll-view></view>