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 }} - - 重新支付 - 检测状态 - 提单 - - - - - - - - 提单前请清空购物车, 避免提单的商品与购物车商品混合, 请确保购物车内无数据后再进行提单 - - - - + + -