12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <!--pages/foodDetail/foodDetail.wxml-->
- <view class="foodContainer">
- <view>
- <text class="foodTitle">{{shopTitle}}</text>
- </view>
- <view class="foodWrap" wx:for="{{foodList}}" wx:key="index">
- <image class="foodImg" show-menu-by-longpress="true" mode="aspectFill" bindtap="toPreviewImage" src="{{item}}"></image>
- </view>
- <view>
- <view class="shopDetail">
- <text class="shopDetailTile">简介:</text>
- <text wx:if="{{shopDescribe == null}}">无</text>
- <text wx:elif="{{shopDescribe == ''}}">无</text>
- <text wx:else>{{shopDescribe}}</text>
- </view>
- <view class="shopDetail">
- <text wx:if="{{perCost == null}}">人均消费:-</text>
- <text wx:elif="{{perCost == ''}}">人均消费:-</text>
- <text wx:else>人均消费:{{perCost}}</text>
- </view>
- <view class="shopDetail">
- <text wx:if="{{businessHours == null}}">营业时间:-</text>
- <text wx:elif="{{businessHours == ''}}">营业时间:-</text>
- <text wx:else>营业时间:{{businessHours}}</text>
- </view>
- <view class="shopDetail">
- <text>热度:{{heat}}</text>
- </view>
- <view class="shopDetail">
- <text class="shopDetailTile">招牌菜:</text>
- <text wx:if="{{dish == null}}">-</text>
- <text wx:elif="{{dish == ''}}">-</text>
- <text wx:else>{{dish}}</text>
- </view>
- <view class="shopDetail">
- <text class="shopDetailTile">电话:</text>
- <text wx:if="{{shopPhone == null}}">商家未留电话</text>
- <text wx:elif="{{shopPhone == ''}}">商家未留电话</text>
- <text wx:else>{{shopPhone}}</text>
- </view>
- <view class="shopDetail">
- <text class="shopDetailTile">地址:</text>
- <text wx:if="{{shopAddress == null}}" class="address">商家未留地址</text>
- <text wx:elif="{{shopAddress == ''}}" class="address">商家未留地址</text>
- <text wx:else class="address">{{shopAddress}}</text>
- <text class="adderessNav" bindtap="toFoodAddress">去这里</text>
- </view>
- </view>
- </view>
|