diff --git a/components.d.ts b/components.d.ts index a6272c1..8934366 100644 --- a/components.d.ts +++ b/components.d.ts @@ -33,6 +33,7 @@ declare module '@vue/runtime-core' { NutOverlay: typeof import('@nutui/nutui-taro')['Overlay'] NutPagination: typeof import('@nutui/nutui-taro')['Pagination'] NutPicker: typeof import('@nutui/nutui-taro')['Picker'] + NutPopover: typeof import('@nutui/nutui-taro')['Popover'] NutPopup: typeof import('@nutui/nutui-taro')['Popup'] NutPrice: typeof import('@nutui/nutui-taro')['Price'] NutRadio: typeof import('@nutui/nutui-taro')['Radio'] diff --git a/src/components/Cart.vue b/src/components/Cart.vue index eb54117..466c05d 100644 --- a/src/components/Cart.vue +++ b/src/components/Cart.vue @@ -159,7 +159,7 @@ const create_order = async () => { }; // isShowPay.value = true; Taro.navigateTo({ - url: `/pages/goods/pay/index?oid=${res.data.oid}&bid=${mer_info.bid}`, + url: `/pages/goods/pay/index?oid=${res.data.oid}&bid=${mer_info.bid}&OrderType=1`, }); } } diff --git a/src/pages/admin/add_order/pending_order/components/Footer.vue b/src/pages/admin/add_order/pending_order/components/Footer.vue index f2ed3af..3e5ea71 100644 --- a/src/pages/admin/add_order/pending_order/components/Footer.vue +++ b/src/pages/admin/add_order/pending_order/components/Footer.vue @@ -1,30 +1,48 @@ diff --git a/src/pages/admin/add_order/pending_order/pending_order_detail/index.scss b/src/pages/admin/add_order/pending_order/pending_order_detail/index.scss index 2c5a505..d7847a6 100644 --- a/src/pages/admin/add_order/pending_order/pending_order_detail/index.scss +++ b/src/pages/admin/add_order/pending_order/pending_order_detail/index.scss @@ -33,11 +33,13 @@ height: 195px; border-radius: 12px; min-width: 195px; + margin-right: 20px; } .center { - margin-left: 20px; - + display: flex; + flex-direction: column; + justify-content: space-between; .title { font-weight: bold; text-align: left; @@ -54,7 +56,7 @@ } .desc { - padding: 10px 20px; + // padding: 10px 0px; color: #666666; } } @@ -75,4 +77,4 @@ color: #333333; font-size: 32px; } -} \ No newline at end of file +} diff --git a/src/pages/admin/add_order/pending_order/pending_order_detail/index.vue b/src/pages/admin/add_order/pending_order/pending_order_detail/index.vue index 8870504..cb9e2c4 100644 --- a/src/pages/admin/add_order/pending_order/pending_order_detail/index.vue +++ b/src/pages/admin/add_order/pending_order/pending_order_detail/index.vue @@ -4,8 +4,8 @@ - 台号: {{ data.seat }} - 点单人: {{ data.PlaceUser?.nickName }} + 台号: {{ data.seat }} + {{ itm.Goods.name }} --> - x{{ itm.pay_price }} + ¥{{ itm.pay_price }} x{{ itm.number }} - +