|
|
@ -65,7 +65,7 @@ |
|
|
|
<!-- <view class="orderInfo"> |
|
|
|
<!-- <view class="orderInfo"> |
|
|
|
<text>订单号:{{orderInfo.order_no}}</text> |
|
|
|
<text>订单号:{{orderInfo.order_no}}</text> |
|
|
|
</view> --> |
|
|
|
</view> --> |
|
|
|
<view class="list" v-for="(item,index) in orderInfo.goods" :key="index"> |
|
|
|
<view class="list" v-for="(item,index) in orderInfo.goods" :key="index" @click="handleTargetGoods(item.goods_id)"> |
|
|
|
<image :src="item.goods_image" mode="aspectFill" class="thumb"></image> |
|
|
|
<image :src="item.goods_image" mode="aspectFill" class="thumb"></image> |
|
|
|
<view class="item"> |
|
|
|
<view class="item"> |
|
|
|
<view class="title">{{item.goods_name}}</view> |
|
|
|
<view class="title">{{item.goods_name}}</view> |
|
|
@ -292,6 +292,12 @@ |
|
|
|
this.getOrderDetail(this.order_id) |
|
|
|
this.getOrderDetail(this.order_id) |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
|
|
|
|
// 跳转到商品详情页面 |
|
|
|
|
|
|
|
handleTargetGoods(goodsId) { |
|
|
|
|
|
|
|
uni.redirectTo({ |
|
|
|
|
|
|
|
url: '/pages/goods/detail?goodsId=' + goodsId // 目标页面路径 |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
// 获取当前订单信息 |
|
|
|
// 获取当前订单信息 |
|
|
|
getOrderDetail() { |
|
|
|
getOrderDetail() { |
|
|
|
const app = this |
|
|
|
const app = this |
|
|
|