You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
git/scr/food/pages/detail/detail.wxml

20 lines
760 B

2 years ago
<view class="container" >
2 years ago
<image src="{{detailObj.url}}"></image>
2 years ago
<view class="detail" >
2 years ago
<text class="title">{{detailObj.food_name}}</text>
<text>{{detailObj.food_shop}}</text>
<text class="price">¥{{detailObj.price}}</text>
2 years ago
</view>
2 years ago
</view>
<view class="separate"></view>
<!-- sku选择 -->
<text bindtap="toggleDialog">请选择购买数量</text>
<view class="separate"></view>
<text>商品评价</text>
<text class="text-remark">东西还可以,好评~</text>
<view class="separate"></view>
2 years ago
<view class="detail-nav" data-foodid="{{detailObj._id}}" >
<button class="button-green" bindtap="addCar" formType="submit" >加入购物车</button>
<button class="button-red" bindtap="immeBuy" formType="submit">立即购买</button>
</view>