|
|
@@ -7,6 +7,9 @@
|
|
|
<view class="module-det">
|
|
|
<app-list-module v-if="!$util.isEmpty(goodsInfo)" :info="goodsInfo" />
|
|
|
<view class="shop-prompt">
|
|
|
+ <view class="operate-view" @click="modifyGoods">
|
|
|
+ <text class="iconfont icongouwuche"></text>返回修改
|
|
|
+ </view>
|
|
|
<view>商品合计</view>
|
|
|
<view>¥{{ goodsTotalPrice }}</view>
|
|
|
</view>
|
|
|
@@ -133,6 +136,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ modifyGoods() {
|
|
|
+ let account = this.option.account ? this.option.account : 0
|
|
|
+ let hdId = this.option.hdId ? this.option.hdId : 0
|
|
|
+ this.$util.pageTo({url:'/pages/home/category?account='+account+'&hdId='+hdId,type:2})
|
|
|
+ },
|
|
|
init() {
|
|
|
let goodsInfo = uni.getStorageSync("buyGoodsDetil") || {}
|
|
|
this.isFreight = goodsInfo.freightType == 0 // True:收配送费 False:不收配送费(在配送范围内,不收配送费)。 -- freightType:运费计算方式,0按距离计算 1免运费(在配送范围内,不收配送费)
|
|
|
@@ -292,7 +300,7 @@ export default {
|
|
|
.shop-prompt {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content: flex-end;
|
|
|
+ justify-content: flex-start;
|
|
|
color: black;
|
|
|
font-size:30upx;
|
|
|
font-weight:bold;
|
|
|
@@ -302,6 +310,18 @@ export default {
|
|
|
color: #ccc;
|
|
|
margin-left: 10upx;
|
|
|
}
|
|
|
+ .operate-view {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ color: #ff0000;
|
|
|
+ font-size:30upx;
|
|
|
+ font-weight:bold;
|
|
|
+ margin-right: auto;
|
|
|
+ .iconfont {
|
|
|
+ margin-right: 20upx;
|
|
|
+ font-size: 40upx;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
// 可选优惠
|