From 6d21ce159aeff7463b3ee6be96fddae717a3ef5c Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Fri, 5 Apr 2024 17:26:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=8E=B0=E9=87=91=E6=94=B6?= =?UTF-8?q?=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/pay.vue | 306 ++++++++++++++++++++++++++-- src/views/order/component/order.vue | 145 +++++++++++++ src/views/order/index.vue | 214 +------------------ src/views/order/indexList.vue | 239 ++++++++++++++++++++++ 4 files changed, 683 insertions(+), 221 deletions(-) create mode 100644 src/views/order/component/order.vue create mode 100644 src/views/order/indexList.vue diff --git a/src/components/pay.vue b/src/components/pay.vue index f082f75..98671f5 100644 --- a/src/components/pay.vue +++ b/src/components/pay.vue @@ -1,5 +1,5 @@ @@ -197,14 +366,14 @@ defineExpose({ 微信 现金收款 @@ -230,14 +399,43 @@ defineExpose({ - 现金收款正在开发中 - + + + + {{ collection }} + 按下键盘输入客户支付金额 + + + 需找零(元):¥{{ changePrice }} + + 不够找零, 请支付更多金额 + + + {{ item }} + + + + C + 确认 + + + + - 取消收款 + 取消收款 @@ -298,4 +496,84 @@ defineExpose({ height: 3rem; font-size: 1.2rem; } + +.drawer-body { + width: 100%; + overflow-x: hidden; +} + +.counter { + padding: 20px; + border-radius: 20px; + background-color: #f3f9ff; + + .received { + height: 58px; + padding: 0 20px; + border: 1px solid #eeeeee; + border-radius: 8px; + background-color: #ffffff; + font-size: 26px; + line-height: 58px; + color: #303133; + } + + .balance { + width: 100%; + box-sizing: border-box; + padding: 18px 0 18px 10px; + text-align: start; + font-size: 15px; + color: #303133; + + .money { + color: #ff4a00; + } + } + + .keypad { + display: grid; + grid-template-columns: auto auto auto auto; + grid-gap: 10px; + + .left { + grid-column-end: span 3; + display: grid; + grid-template-columns: auto auto auto; + grid-gap: 10px; + } + + .right { + display: grid; + grid-template-columns: auto; + grid-gap: 10px; + } + + .el-button { + height: 62px; + width: 130px; + margin: 0 !important; + border: 0; + border-radius: 8px; + font-weight: 500; + font-size: 28px !important; + line-height: 62px; + color: #1890ff; + + &:focus { + box-shadow: none; + } + } + + .enter { + grid-row-end: span 4; + height: 134px; + background-color: #1890ff; + font-weight: 500; + font-size: 22px !important; + line-height: 134px; + color: #ffffff; + } + } +} diff --git a/src/views/order/component/order.vue b/src/views/order/component/order.vue new file mode 100644 index 0000000..c0b66d7 --- /dev/null +++ b/src/views/order/component/order.vue @@ -0,0 +1,145 @@ + + + + + + + 订单列表 + + + 清空 + + + + + + + + + diff --git a/src/views/order/index.vue b/src/views/order/index.vue index f714567..e7d5fdc 100644 --- a/src/views/order/index.vue +++ b/src/views/order/index.vue @@ -1,219 +1,19 @@ - - - 全部 - 未支付 - - - - - - - - 已支付 - 未支付 - - - - - - {{ scope.row.pay_time }} - - 重新支付 - 检测状态 - 提单 - - - - - - - - 提单前请清空购物车, 避免提单的商品与购物车商品混合, 请确保购物车内无数据后再进行提单 - - - - + + -