移除案例展示和详情页面
This commit is contained in:
@@ -221,12 +221,6 @@ Page({
|
||||
}
|
||||
},
|
||||
|
||||
onGoodsCardTap(e) {
|
||||
const { index } = e.currentTarget.dataset;
|
||||
const goods = this.data.order.orderGoods[index];
|
||||
wx.navigateTo({ url: `/pages/goods/details/index?spuId=${goods.spuId}` });
|
||||
},
|
||||
|
||||
onEditAddressTap() {
|
||||
getAddressPromise()
|
||||
.then((address) => {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<view class="order-detail">
|
||||
<!-- 店铺及商品 -->
|
||||
<order-card order="{{_order}}">
|
||||
<order-goods-card wx:for="{{_order.goodsList}}" wx:key="id" wx:for-item="goods" wx:for-index="gIndex" goods="{{goods}}" no-top-line="{{gIndex === 0}}" bindtap="onGoodsCardTap" data-index="{{gIndex}}">
|
||||
<order-goods-card wx:for="{{_order.goodsList}}" wx:key="id" wx:for-item="goods" wx:for-index="gIndex" goods="{{goods}}" no-top-line="{{gIndex === 0}}">
|
||||
<order-button-bar slot="append-card" class="goods-button-bar" order="{{_order}}" bindrefresh="onRefresh" goodsIndex="{{gIndex}}" />
|
||||
</order-goods-card>
|
||||
<view class="pay-detail">
|
||||
|
||||
Reference in New Issue
Block a user