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 @@ @@ -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 @@ -