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
862 B

2 years ago
<image src="{{detailObj.url}}" style="width: 94%;border-radius: 15rpx;margin: 0 auto;margin-top: 10px;"></image>
<view class="detail">
<view class="title">{{detailObj.food_name}}</view>
<view class="shop">地点:{{detailObj.food_shop}}</view>
<view class="price">¥{{detailObj.price}}</view>
2 years ago
</view>
2 years ago
<view class="comment">
<view style="margin-bottom: 20px;">评价</view>
<view wx:for="{{commentlist}}" class="comment_detail">
<view>{{item.name}} :</view>
<view style="font-size: 13px;">{{item.comment}}</view>
</view>
2 years ago
</view>
2 years ago
<view style="height: 60px;"></view>
2 years ago
2 years ago
<view class="buttom">
<button catchtap="addCar" formType="submit" data-item="{{detailObj}}" data-userid="{userid}" class="left">加入购物车</button>
<button bindtap="immeBuy" data-item="{{detailObj._id}}" formType="submit" class="right">立即购买</button>
</view>