|
|
@ -2,10 +2,10 @@ |
|
|
<view v-if="$isRight(goods_details)"> |
|
|
<view v-if="$isRight(goods_details)"> |
|
|
<view class="lf-bg-white lf-p-t-30 lf-p-b-30 lf-p-l-32 lf-p-r-32"> |
|
|
<view class="lf-bg-white lf-p-t-30 lf-p-b-30 lf-p-l-32 lf-p-r-32"> |
|
|
<view class="lf-row-between"> |
|
|
<view class="lf-row-between"> |
|
|
<image :src="goods_details.product.picture" mode="aspectFill" style="width: 240rpx; height: 240rpx;border-radius: 20rpx;"></image> |
|
|
|
|
|
|
|
|
<image :src="goods_details.picture" mode="aspectFill" style="width: 240rpx; height: 240rpx;border-radius: 20rpx;"></image> |
|
|
<view class="flex-sub padding-left-sm"> |
|
|
<view class="flex-sub padding-left-sm"> |
|
|
<view class="bref-box lf-font-32 lf-color-333 lf-line-2" style="height: 88rpx;line-height: 44rpx;"> |
|
|
<view class="bref-box lf-font-32 lf-color-333 lf-line-2" style="height: 88rpx;line-height: 44rpx;"> |
|
|
{{goods_details.product.title}} |
|
|
|
|
|
|
|
|
{{goods_details.title}} |
|
|
</view> |
|
|
</view> |
|
|
<view class="flex lf-m-t-25 align-center text-center"> |
|
|
<view class="flex lf-m-t-25 align-center text-center"> |
|
|
<text class="block lf-color-gray lf-font-24" style="line-height: 40rpx;">数量</text> |
|
|
<text class="block lf-color-gray lf-font-24" style="line-height: 40rpx;">数量</text> |
|
|
@ -146,7 +146,7 @@ |
|
|
getGoodsData(type){ |
|
|
getGoodsData(type){ |
|
|
this.$http(this.API.API_CONFIRMDETAILS,{id: this.goods_id,num: 1,pay_type: type}).then(res => { |
|
|
this.$http(this.API.API_CONFIRMDETAILS,{id: this.goods_id,num: 1,pay_type: type}).then(res => { |
|
|
this.goods_details = res.data; |
|
|
this.goods_details = res.data; |
|
|
console.log(res) |
|
|
|
|
|
|
|
|
console.log('数据',res) |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
submit() { |
|
|
submit() { |
|
|
|