food.wxml 1.07 KB
<view class="food flex-ll">
	<image src="{{item.image ? item.image : 'http://nosqn.colorcun.com/empty.jpg'}}" class="food-image bg-gray" mode="aspectFill" lazy-load></image>
	<view class="food-info flex-vtb">
		<view class="smooth">
			<view class="font-more-two font-bold font32r black-font" style="width:320rpx;margin-bottom: 6rpx;">{{item.name}}</view>
			<!-- <view class="gray-font font24r font-more" wx:if="{{item.desc}}" style="width:320rpx;">{{item.desc}}</view> -->
		</view>
		<view class="flex-lr" style="width: 100%;">
			<view class="food-price flex-ll">
				<view class="red-pink-font font24r" style="margin-right:12rpx;">¥<text class="font36r font-bold">{{item.member_price && item.member_price!=0 ? item.member_price : item.price}}</text></view>
				<view class="gray-light-font font20r" style="text-decoration: line-through;" wx:if="{{item.member_price && item.member_price!=0}}">¥<text class="font28r">{{item.price}}</text></view>
			</view>
			<act item="{{item}}" bindrefresh="refresh" bindshowspec="showspec" bindshowrmodal="showrmodal"></act>
		</view>
	</view>
</view>