移除案例展示和详情页面
This commit is contained in:
@@ -158,12 +158,6 @@ Page({
|
||||
});
|
||||
},
|
||||
|
||||
onGoodsCardTap(e) {
|
||||
const { index } = e.currentTarget.dataset;
|
||||
const goods = this.data.serviceRaw.rightsItem[index];
|
||||
wx.navigateTo({ url: `/pages/goods/details/index?skuId=${goods.skuId}` });
|
||||
},
|
||||
|
||||
onServiceNoCopy() {
|
||||
wx.setClipboardData({
|
||||
data: this.data.service.serviceNo,
|
||||
|
||||
@@ -89,8 +89,6 @@
|
||||
wx:for-item="goods"
|
||||
goods="{{goods}}"
|
||||
no-top-line
|
||||
bindtap="onGoodsCardTap"
|
||||
data-index="{{index}}"
|
||||
>
|
||||
<view slot="footer" class="order-goods-card-footer">
|
||||
<wr-price
|
||||
|
||||
@@ -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