shopHome.wxml 3.39 KB
<!--pages/reserve/shopHome.wxml-->
<nav hasHome class="navhome" backgroundColor="#0143a3" color="#fff" place="{{true}}">{{seller.sellName}}</nav>
<view>
	<view class="sellBox flex-vc">
		<image wx:if="{{home.image}}" class="imgs" src="{{home.image}}" mode="scaleToFill" />
		<view class="info flex-vl" style="background:#fff;">
			<view class="flex-lr">
				<view class="colorText  font32r">{{seller.sellName}}</view>
				<image bindtap="follow" wx:if="{{IsCollectionSeller}}" class="img1" src="https://qn.colorcun.com/heartFilledBlue.png" />
				<image bindtap="follow" wx:else class="img1" src="https://qn.colorcun.com/heartBlue.png" />
			</view>
			<view class="colorFive text1 font28r">营业时间:{{seller.date}}</view>
			<view class="colorFive text2 font28r">
				电话:<text class="colorText" wx:for="{{seller.seller_tel}}" bindtap="call" data-info="{{item}}">{{item}}{{(seller.seller_tel.length-1)!=index?',':''}}</text>
			</view>
			<view class="colorFive font28r" bindtap="looklocation">
				<text>地址:{{seller.address}}</text>
				<image class="img2" src="https://qn.colorcun.com/address.png" />
			</view>
		</view>
	</view>

	<!-- 餐厅介绍图文分开 -->
	<view class="oneIntroduce introduce" wx:if="{{store}}">
		<view class="imgMask">
			<view class="IntroduceColor" wx:if="{{store.introduce && (!store.is_introduce || store.is_introduce!='0')}}">
				<view class="chefText font36r">餐厅介绍</view>
				<view class="lines"></view>
				<view class="labelBox">
					<text class="texts">{{store.introduce}}
					</text>
				</view>
			</view>
			<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
				<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
					<image src="{{item}}" mode="aspectFill" />
				</block>
			</block>
		</view>
	</view>
	<!-- 主厨介绍图文分开 -->
	<view class="introduce famousChefBox" wx:if="{{chef && (!chef.is_introduce || chef.is_introduce!='0') || (!chef.is_images || chef.is_images!='0')}}">
		<view class="imgMask">
			<view class="IntroduceColor">
				<view class="chefText font36r" wx:if="{{chef.is_introduce || chef.is_images}}">主厨介绍</view>
				<view class="lines"></view>
				<view class="labelBox" wx:if="{{!chef.is_introduce || chef.is_introduce!='0'}}">
					<text class="texts">{{chef.introduce}}
					</text>
				</view>
			</view>
			<block wx:if="{{(!chef.is_images || chef.is_images!='0') && chef.image}}">
				<image src="{{chef.image}}" mode="aspectFill" />
			</block>
			<view wx:if="{{chef.is_introduce || chef.is_images}}" class="{{(!chef.is_images || chef.is_images!='0')?'':'mtnone'}}"></view>
		</view>
	</view>
	<!-- 菜品展示  swich为1展示 -->
	<view class="introduce vegetableBox" wx:if="{{signboard && signboard.swich=='1'}}">
		<view class="imgMask">
			<view class="IntroduceColor">
				<view class="chefText font36r">特色菜品</view>
				<view class="lines"></view>
			</view>
			<block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
				<image src="{{item}}" mode="aspectFill" />
			</block>
		</view>
	</view>
	<view class="all-button flex-lr between">
		<navigator url="/pages/reserve/reserve?id={{sid}}&activeTab=reserve" class="book-item-font second-book-button flex-cc font30r" style="position: relative;">预订包间</navigator>
		<button class="book-item-font flex-cc font30r shareItem" open-type="share">转发给朋友
		</button>
	</view>
</view>