feat:商品详情单个商品新增订单按钮
This commit is contained in:
parent
026d301216
commit
bce3889ad2
|
@ -12,7 +12,8 @@
|
||||||
</script>
|
</script>
|
||||||
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/siteqiexchange/js/swiper.min.js"></script>
|
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/siteqiexchange/js/swiper.min.js"></script>
|
||||||
<link href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/siteqiexchange/css/swiper.min.css" rel="stylesheet">
|
<link href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/siteqiexchange/css/swiper.min.css" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/exchange.css">
|
<!-- <link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/exchange.css"> -->
|
||||||
|
<link rel="stylesheet" href="./exchange.css">
|
||||||
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/api2_0.js"></script>
|
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/api2_0.js"></script>
|
||||||
<link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/payPop.css">
|
<link rel="stylesheet" href="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/css/payPop.css">
|
||||||
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/payPop.js"></script>
|
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/payPop.js"></script>
|
||||||
|
@ -140,12 +141,19 @@
|
||||||
|
|
||||||
<!-- 支付模块-->
|
<!-- 支付模块-->
|
||||||
<div class="exchange-btn-fr">
|
<div class="exchange-btn-fr">
|
||||||
<div class="title">
|
<div class="pay_left">
|
||||||
<p>
|
<div class="order">
|
||||||
<span class="sign">¥</span>{{goodsDetail.coupon_price}}
|
<img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/toOrder.png"
|
||||||
</p>
|
v-if="!backAble" alt="" @click="toOrder">
|
||||||
<p class="text" v-if="goodsDetail.origin_price-goodsDetail.coupon_price!==0">共省 ¥
|
<p>订单</p>
|
||||||
{{(goodsDetail.origin_price-goodsDetail.coupon_price).toFixed(2)}}</p>
|
</div>
|
||||||
|
<div class="title">
|
||||||
|
<p>
|
||||||
|
<span class="sign">¥</span>{{goodsDetail.coupon_price}}
|
||||||
|
</p>
|
||||||
|
<p class="text" v-if="goodsDetail.origin_price-goodsDetail.coupon_price!==0">共省 ¥
|
||||||
|
{{(goodsDetail.origin_price-goodsDetail.coupon_price).toFixed(2)}}</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button class="exchange-btn" v-if="goodsDetail.type===1"
|
<button class="exchange-btn" v-if="goodsDetail.type===1"
|
||||||
:style="{'background': exchangeOpen?bgcolor:'#D7D7D7','color':exchangeOpen?ftColor:'#333'}"
|
:style="{'background': exchangeOpen?bgcolor:'#D7D7D7','color':exchangeOpen?ftColor:'#333'}"
|
||||||
|
@ -293,6 +301,10 @@
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
/* 跳转订单 */
|
||||||
|
toOrder () {
|
||||||
|
window.location.replace('./myOrder.html');
|
||||||
|
},
|
||||||
|
|
||||||
openErrorDialog (tip) {
|
openErrorDialog (tip) {
|
||||||
this.popTitle = '温馨提示'
|
this.popTitle = '温馨提示'
|
||||||
|
|
Loading…
Reference in New Issue