|
@@ -8,7 +8,7 @@
|
|
<!-- 订单信息 -->
|
|
<!-- 订单信息 -->
|
|
<order-information ref="information" v-if="isRequest" :information="information"></order-information>
|
|
<order-information ref="information" v-if="isRequest" :information="information"></order-information>
|
|
<!-- 商品 -->
|
|
<!-- 商品 -->
|
|
- <goods-list ref='goods' v-if="isRequest" :shopOrderData="shopOrderData"></goods-list>
|
|
|
|
|
|
+ <goods-list ref='goods' v-if="isRequest" :shopOrderData="shopOrderData" @popupClick="hanldePopupFn"></goods-list>
|
|
<!-- 发票信息 -->
|
|
<!-- 发票信息 -->
|
|
<invoice-tent ref="invoice" v-if="isRequest" :orderInvoice="orderInvoice"></invoice-tent>
|
|
<invoice-tent ref="invoice" v-if="isRequest" :orderInvoice="orderInvoice"></invoice-tent>
|
|
<!-- 转账信息 -->
|
|
<!-- 转账信息 -->
|
|
@@ -38,6 +38,8 @@
|
|
v-if="isShareModal"
|
|
v-if="isShareModal"
|
|
@shareConfirm ='onShareAppMessage'>
|
|
@shareConfirm ='onShareAppMessage'>
|
|
</share-alert>
|
|
</share-alert>
|
|
|
|
+ <!-- 促销活动弹窗 -->
|
|
|
|
+ <activi-popup :Promotion="handlerPros" :popupShow="popupShow"></activi-popup>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -53,6 +55,8 @@
|
|
import orderButton from '@/components/cm-module/orderDetails/sellerDetaileButton' //底部按钮
|
|
import orderButton from '@/components/cm-module/orderDetails/sellerDetaileButton' //底部按钮
|
|
import shareAlert from '@/components/cm-module/modelAlert/sellerShareAlert.vue' //分享弹窗
|
|
import shareAlert from '@/components/cm-module/modelAlert/sellerShareAlert.vue' //分享弹窗
|
|
import orderModel from '@/components/cm-module/modelAlert/order-alert' //付款弹窗
|
|
import orderModel from '@/components/cm-module/modelAlert/order-alert' //付款弹窗
|
|
|
|
+ import activiPopup from "@/components/cm-module/orderDetails/activipopu" //促销活动弹窗
|
|
|
|
+
|
|
import { queryOrderDetails,cancelOrder,deleteOrder,affirmOrder } from "@/api/order.js"
|
|
import { queryOrderDetails,cancelOrder,deleteOrder,affirmOrder } from "@/api/order.js"
|
|
export default {
|
|
export default {
|
|
components:{
|
|
components:{
|
|
@@ -66,7 +70,8 @@
|
|
refundRecord,
|
|
refundRecord,
|
|
orderButton,
|
|
orderButton,
|
|
shareAlert,
|
|
shareAlert,
|
|
- orderModel
|
|
|
|
|
|
+ orderModel,
|
|
|
|
+ activiPopup
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -100,6 +105,8 @@
|
|
systeminfo: this.setSysteminfo(), //获取设备信息
|
|
systeminfo: this.setSysteminfo(), //获取设备信息
|
|
isIphoneX:this.$store.state.isIphoneX,
|
|
isIphoneX:this.$store.state.isIphoneX,
|
|
CustomBar:this.CustomBar,// 顶部导航栏高度
|
|
CustomBar:this.CustomBar,// 顶部导航栏高度
|
|
|
|
+ popupShow:false,
|
|
|
|
+ handlerPros:{},
|
|
nvabarData: { //顶部自定义导航
|
|
nvabarData: { //顶部自定义导航
|
|
showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示
|
|
showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示
|
|
title: '订单详情', // 导航栏 中间的标题
|
|
title: '订单详情', // 导航栏 中间的标题
|
|
@@ -228,6 +235,10 @@
|
|
})
|
|
})
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ hanldePopupFn(data){//监听活动内容
|
|
|
|
+ this.popupShow = true
|
|
|
|
+ this.handlerPros = data
|
|
|
|
+ },
|
|
onShareAppMessage(res){//分享转发
|
|
onShareAppMessage(res){//分享转发
|
|
this.isShareModal = false
|
|
this.isShareModal = false
|
|
if (res.from === 'button') {
|
|
if (res.from === 'button') {
|