123456789101112131415161718192021222324 |
- <nav type="back" background-color="#46a9a4" title="菜品管理" />
- <block wx:if="{{list.length == 0}}">
- <van-empty description="暂无商品" />
- </block>
- <block wx:for="{{list}}" wx:key="index">
- <view class="store">
- <view class="store-goods">
- <image class="images" src="{{item.images[0]}}" />
- <view class="goods-details">
- <view class="goods-name">{{item.name}}</view>
- <view class="goods-time">类型:{{item.category.name}}</view>
- <view class="goods-title">
- <view class="goods-price">
- <view class="price">¥{{item.price}}</view>
- <!-- <view class="original">¥39</view> -->
- </view>
- <!-- <view class="goods-number">{{item.}}</view> -->
- </view>
- </view>
- <view class="buy" data-item="{{item}}" bindtap="appends">编辑菜品</view>
- </view>
- </view>
- </block>
- <view class="bommon" bindtap="append">添加菜品</view>
|