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