diff --git a/src/components/get/action.vue b/src/components/get/action.vue index 195afc5..8ab56f1 100644 --- a/src/components/get/action.vue +++ b/src/components/get/action.vue @@ -1,9 +1,9 @@ @@ -51,13 +51,13 @@ import AppLayout from "@/components/layout/layout"; import GetAction from "@/components/get/action"; import OrderItem from "@/components/order/item"; -import WidgetModal from "@/components/widgets/modal"; +import GetPostPrice from "@/components/get/post-price"; export default { name: "get-index", data() { return { utils: this.$utils, - postModal: false, + showPriceModal: false, safePt: 0, tabIndex: 0, tabHeight: 0, @@ -139,7 +139,7 @@ export default { AppLayout, GetAction, OrderItem, - WidgetModal, + GetPostPrice, }, onLoad() { this.$nextTick(() => { @@ -170,7 +170,8 @@ export default { }); }, postPrice(id) { - this.postModal = true; + this.$store.commit("order/setPostId", id); + this.showPriceModal = true; }, setting() { console.log("设置"); @@ -178,6 +179,9 @@ export default { refresh() { console.log("刷新"); }, + toDetail(id) { + this.$utils.toPage("/pages/order/detail?type=preview&id=" + id); + }, }, }; diff --git a/src/pages/order/detail.vue b/src/pages/order/detail.vue index 5c6e270..f50bdda 100644 --- a/src/pages/order/detail.vue +++ b/src/pages/order/detail.vue @@ -78,17 +78,25 @@ 客服 - + + + + + + - + +