This commit is contained in:
weipengfei 2024-04-18 17:58:06 +08:00
parent 18d65bcd00
commit 7026dcab49
78 changed files with 240 additions and 143 deletions

File diff suppressed because one or more lines are too long

1
dist/assets/detail-DXtWSvNw.css vendored Normal file
View File

@ -0,0 +1 @@
@charset "UTF-8";.my-order[data-v-531d3551]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden}.my-order .header-nav[data-v-531d3551]{display:flex;flex-direction:column;justify-content:space-between;padding:1rem;height:3.5rem}.my-order .header-nav span[data-v-531d3551]{color:#ff4a00}.my-order .header-nav .nav-item[data-v-531d3551]{font-weight:700}.my-order .header-nav .nav-item-btn[data-v-531d3551]{display:flex;justify-content:space-between;align-items:center}.my-order .header-input[data-v-531d3551]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:1px solid #eee}.my-order .order-list[data-v-531d3551]{height:calc(100vh - 100px - 10.2rem);overflow-y:auto}.my-order .order-list .item[data-v-531d3551]{padding:1rem;border-bottom:1px solid #eee}.my-order .order-list .item .top[data-v-531d3551]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-list .item .top .sn[data-v-531d3551]{font-weight:700;font-size:.9rem}.my-order .order-list .item .top .cahier[data-v-531d3551]:before{content:"收银";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:1px solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-list .item .top .cahier2[data-v-531d3551]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:1px solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-list .item .top .create-time[data-v-531d3551]{font-size:.8rem}.my-order .order-list .item .shop[data-v-531d3551]{display:flex;justify-content:space-between}.my-order .order-list .item .shop .right[data-v-531d3551]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-list .item .shop .right .money[data-v-531d3551]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-list .item .shop .right .count[data-v-531d3551]{font-size:.7rem;color:#999}.my-order .order-list .item .shop .left[data-v-531d3551]{height:4.5rem;display:flex;align-items:center}.my-order .order-list .item .shop .left .shop-img[data-v-531d3551]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-list .item .shop .left .shop-name[data-v-531d3551]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-list .item .bottom[data-v-531d3551]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-list .item-active[data-v-531d3551]{background-color:#efefef}.my-order .load-end[data-v-531d3551]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-e6e9d4a9]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .header-nav[data-v-e6e9d4a9]{display:flex;background:linear-gradient(to bottom,#f5f5f5 50%,#fff 50%)}.my-order .header-nav .nav-item[data-v-e6e9d4a9]{height:4rem;width:8rem;cursor:pointer;display:flex;justify-content:center;align-items:center;font-size:1.2rem;background-color:#f5f5f5;border-radius:1rem 1rem 0 0}.my-order .header-nav .nav-item-active[data-v-e6e9d4a9]{background-color:#fff;position:relative;transition:.3s}.my-order .header-nav .nav-item-radius1[data-v-e6e9d4a9]{border-radius:0 0 1rem}.my-order .header-nav .nav-item-radius2[data-v-e6e9d4a9]{border-radius:0 0 0 1rem}.my-order .detail[data-v-e6e9d4a9]{height:calc(100vh - 100px - 4rem);box-sizing:border-box;position:relative}.my-order .detail .table[data-v-e6e9d4a9]{padding:1rem 1rem 6rem}.my-order .detail .table .table-title[data-v-e6e9d4a9]{font-weight:700;padding-top:1rem}.my-order .detail .table .table-info[data-v-e6e9d4a9]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:2rem;border-bottom:1px solid #eee}.my-order .detail .table .table-info[data-v-e6e9d4a9]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-e6e9d4a9]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-e6e9d4a9]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-e6e9d4a9]{height:6rem;box-sizing:border-box;padding:0 1.5rem;position:absolute;bottom:0;left:0;width:100%;box-shadow:0 -1px .625rem #eee;display:flex;justify-content:space-between;align-items:center;background-color:#fff}.my-order .detail .footer .info[data-v-e6e9d4a9]{display:flex;align-items:flex-end}.my-order .detail .footer .info .ser[data-v-e6e9d4a9]{font-weight:700;margin-right:1rem}.my-order .detail .footer .info .price[data-v-e6e9d4a9]{margin-right:1rem}.my-order .detail .footer .info .price span[data-v-e6e9d4a9]{color:#ff4a00;font-size:1.2rem;font-weight:700}.my-order .detail .footer .handle .btn[data-v-e6e9d4a9]{border-radius:4rem;padding:1.2rem}

View File

@ -1 +0,0 @@
@charset "UTF-8";.my-order[data-v-de2f4dca]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden}.my-order .header-nav[data-v-de2f4dca]{display:flex;flex-direction:column;justify-content:space-between;padding:1rem;height:3.5rem}.my-order .header-nav span[data-v-de2f4dca]{color:#ff4a00}.my-order .header-nav .nav-item[data-v-de2f4dca]{font-weight:700}.my-order .header-nav .nav-item-btn[data-v-de2f4dca]{display:flex;justify-content:space-between;align-items:center}.my-order .header-input[data-v-de2f4dca]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:1px solid #eee}.my-order .order-list[data-v-de2f4dca]{height:calc(100vh - 100px - 10.2rem);overflow-y:auto}.my-order .order-list .item[data-v-de2f4dca]{padding:1rem;border-bottom:1px solid #eee}.my-order .order-list .item .top[data-v-de2f4dca]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-list .item .top .sn[data-v-de2f4dca]{font-weight:700;font-size:.9rem}.my-order .order-list .item .top .cahier[data-v-de2f4dca]:before{content:"收银";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:1px solid #2ec479;color:#2ec479;border-radius:3px}.my-order .order-list .item .top .cahier2[data-v-de2f4dca]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:1px solid #ff4a00;color:#ff4a00;border-radius:3px}.my-order .order-list .item .top .create-time[data-v-de2f4dca]{font-size:.8rem}.my-order .order-list .item .shop[data-v-de2f4dca]{display:flex;justify-content:space-between}.my-order .order-list .item .shop .right[data-v-de2f4dca]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-list .item .shop .right .money[data-v-de2f4dca]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-list .item .shop .right .count[data-v-de2f4dca]{font-size:.7rem;color:#999}.my-order .order-list .item .shop .left[data-v-de2f4dca]{height:4.5rem;display:flex;align-items:center}.my-order .order-list .item .shop .left .shop-img[data-v-de2f4dca]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-list .item .shop .left .shop-name[data-v-de2f4dca]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-list .item .bottom[data-v-de2f4dca]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-list .item-active[data-v-de2f4dca]{background-color:#efefef}.my-order .load-end[data-v-de2f4dca]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-b4c5a30d]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .header-nav[data-v-b4c5a30d]{display:flex;background:linear-gradient(to bottom,#f5f5f5 50%,#fff 50%)}.my-order .header-nav .nav-item[data-v-b4c5a30d]{height:4rem;width:8rem;cursor:pointer;display:flex;justify-content:center;align-items:center;font-size:1.2rem;background-color:#f5f5f5;border-radius:1rem 1rem 0 0}.my-order .header-nav .nav-item-active[data-v-b4c5a30d]{background-color:#fff;position:relative;transition:.3s}.my-order .header-nav .nav-item-radius1[data-v-b4c5a30d]{border-radius:0 0 1rem}.my-order .header-nav .nav-item-radius2[data-v-b4c5a30d]{border-radius:0 0 0 1rem}.my-order .detail[data-v-b4c5a30d]{height:calc(100vh - 100px - 4rem);box-sizing:border-box;position:relative}.my-order .detail .table[data-v-b4c5a30d]{padding:1rem 1rem 6rem}.my-order .detail .table .table-title[data-v-b4c5a30d]{font-weight:700;padding-top:1rem}.my-order .detail .table .table-info[data-v-b4c5a30d]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:2rem;border-bottom:1px solid #eee}.my-order .detail .table .table-info[data-v-b4c5a30d]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-b4c5a30d]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-b4c5a30d]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-b4c5a30d]{height:6rem;box-sizing:border-box;padding:0 1.5rem;position:absolute;bottom:0;left:0;width:100%;box-shadow:0 -1px 10px #eee;display:flex;justify-content:space-between;align-items:center;background-color:#fff}.my-order .detail .footer .info[data-v-b4c5a30d]{display:flex;align-items:flex-end}.my-order .detail .footer .info .ser[data-v-b4c5a30d]{font-weight:700;margin-right:1rem}.my-order .detail .footer .info .price[data-v-b4c5a30d]{margin-right:1rem}.my-order .detail .footer .info .price span[data-v-b4c5a30d]{color:#ff4a00;font-size:1.2rem;font-weight:700}.my-order .detail .footer .handle .btn[data-v-b4c5a30d]{border-radius:4rem;padding:1.2rem}

1
dist/assets/detail-ttCarTU-.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
@charset "UTF-8";.dra-body[data-v-6f8320c3]{width:100%;display:flex;flex-direction:column;text-align:center}[data-v-6f8320c3] .el-upload--picture-card{--el-upload-picture-card-size: 60px !important}[data-v-6f8320c3] .el-upload-list--picture-card .el-upload-list__item{height:60px!important;width:60px!important}.my-shop[data-v-40712e2c]{background-color:#fff;border-radius:1.2rem;box-sizing:border-box;padding:1rem;overflow-y:scroll}[data-v-40712e2c]::-webkit-scrollbar{width:5px}[data-v-40712e2c]::-webkit-scrollbar-track{background-color:#f1f1f1;margin:20px 0}[data-v-40712e2c]::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:5px}[data-v-40712e2c]::-webkit-scrollbar-thumb:hover{background-color:#999}.el-menu--horizontal[data-v-40712e2c]{height:2.5rem}.el-form--inline .el-form-item[data-v-40712e2c]{margin-right:1rem}

File diff suppressed because one or more lines are too long

1
dist/assets/index-9c4jfjwr.css vendored Normal file
View File

@ -0,0 +1 @@
@charset "UTF-8";.my-card{display:flex}::-webkit-scrollbar{width:.315rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.315rem}::-webkit-scrollbar-thumb:hover{background-color:#999}

1
dist/assets/index-B9xI11ZK.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/index-BmfGhfDo.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index-C-uGLwDp.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/assets/index-Cal_7aRo.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index-CkJgicje.js vendored Normal file
View File

@ -0,0 +1 @@
import{o as r,d as o}from"./detail-ttCarTU-.js";import{p as t}from"./padding-C_XosNLD.js";import{c as a,h as s,f as e}from"./index-BK45VPeO.js";import"./pay.vue_vue_type_style_index_0_scoped_43f405bf_lang-UtIhw1Q5.js";import"./pay-jKmmbq3P.js";const c={class:"my-card"},u={__name:"index",setup(d){return(i,l)=>(a(),s("div",c,[e(r,{style:{"flex-shrink":"0"},ref:"orderRef"},null,512),e(t),e(o,{ref:"detailRef"},null,512)]))}};export{u as default};

1
dist/assets/index-CtqT8OOG.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{b as t,c,h as a,e,f as o,w as d,g as l}from"./index-CL5BjIoG.js";const r={style:{width:"100vw",height:"100vh"}},_={style:{display:"flex","justify-content":"center","padding-top":"20vh"}},m={style:{display:"flex","flex-direction":"column","justify-content":"center","padding-left":"3rem"}},h=e("div",{style:{"font-size":"5rem","font-weight":"bold"}},"404",-1),p=e("div",{style:{"padding-bottom":"1rem"}},"您的页面没有找到",-1),v={__name:"index",setup(f){const s=()=>{window.location="/"};return(y,g)=>{const n=t("el-image"),i=t("el-button");return c(),a("div",r,[e("div",_,[o(n,{loading:"lazy",style:{width:"30rem",height:"20rem"},src:"/src/assets/icon-404-color.svg"}),e("div",m,[h,p,o(i,{type:"primary",onClick:s},{default:d(()=>[l("返回首页")]),_:1})])])])}}};export{v as default};
import{b as t,c,h as a,e,f as o,w as d,g as l}from"./index-BK45VPeO.js";const r={style:{width:"100vw",height:"100vh"}},_={style:{display:"flex","justify-content":"center","padding-top":"20vh"}},m={style:{display:"flex","flex-direction":"column","justify-content":"center","padding-left":"3rem"}},h=e("div",{style:{"font-size":"5rem","font-weight":"bold"}},"404",-1),p=e("div",{style:{"padding-bottom":"1rem"}},"您的页面没有找到",-1),v={__name:"index",setup(f){const s=()=>{window.location="/"};return(y,g)=>{const n=t("el-image"),i=t("el-button");return c(),a("div",r,[e("div",_,[o(n,{loading:"lazy",style:{width:"30rem",height:"20rem"},src:"/src/assets/icon-404-color.svg"}),e("div",m,[h,p,o(i,{type:"primary",onClick:s},{default:d(()=>[l("返回首页")]),_:1})])])])}}};export{v as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
@charset "UTF-8";.my-card{display:flex}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:5px}::-webkit-scrollbar-thumb:hover{background-color:#999}

1
dist/assets/index-DrtYBigd.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index-EzbQm7xN.css vendored Normal file
View File

@ -0,0 +1 @@
@charset "UTF-8";.dra-body[data-v-6f8320c3]{width:100%;display:flex;flex-direction:column;text-align:center}[data-v-6f8320c3] .el-upload--picture-card{--el-upload-picture-card-size: 60px !important}[data-v-6f8320c3] .el-upload-list--picture-card .el-upload-list__item{height:60px!important;width:60px!important}.my-shop[data-v-22d63487]{background-color:#fff;border-radius:1.2rem;box-sizing:border-box;padding:1rem;overflow-y:scroll}[data-v-22d63487]::-webkit-scrollbar{width:.315rem}[data-v-22d63487]::-webkit-scrollbar-track{background-color:#f1f1f1;margin:1.25rem 0}[data-v-22d63487]::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.315rem}[data-v-22d63487]::-webkit-scrollbar-thumb:hover{background-color:#999}.el-menu--horizontal[data-v-22d63487]{height:2.5rem}.el-form--inline .el-form-item[data-v-22d63487]{margin-right:1rem}

View File

@ -1 +0,0 @@
import{o as r,d as o}from"./detail-BYXa123p.js";import{p as t}from"./padding-0D2JHbyR.js";import{c as a,h as s,f as e}from"./index-CL5BjIoG.js";import"./pay.vue_vue_type_style_index_0_scoped_80c4a58e_lang-B1w9iw3Y.js";import"./pay-e6rTiccK.js";const c={class:"my-card"},u={__name:"index",setup(d){return(i,l)=>(a(),s("div",c,[e(r,{style:{"flex-shrink":"0"},ref:"orderRef"},null,512),e(t),e(o,{ref:"detailRef"},null,512)]))}};export{u as default};

View File

@ -1 +0,0 @@
@charset "UTF-8";.my-order[data-v-8bebdb1f]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden}.my-order .header-nav[data-v-8bebdb1f]{display:flex;flex-direction:column;justify-content:space-between;padding:1rem;height:3.5rem}.my-order .header-nav span[data-v-8bebdb1f]{color:#ff4a00}.my-order .header-nav .nav-item[data-v-8bebdb1f]{font-weight:700}.my-order .header-nav .nav-item-btn[data-v-8bebdb1f]{display:flex;justify-content:space-between;align-items:center}.my-order .header-input[data-v-8bebdb1f]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:1px solid #eee}.my-order .order-list[data-v-8bebdb1f]{height:calc(100vh - 100px - 10.2rem);overflow-y:auto}.my-order .order-list .item[data-v-8bebdb1f]{padding:1rem;border-bottom:1px solid #eee}.my-order .order-list .item .top[data-v-8bebdb1f]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-list .item .top .sn[data-v-8bebdb1f]{font-weight:700;font-size:.9rem}.my-order .order-list .item .top .cahier[data-v-8bebdb1f]:before{content:"收银";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:1px solid #2ec479;color:#2ec479;border-radius:3px}.my-order .order-list .item .top .cahier2[data-v-8bebdb1f]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:1px solid #ff4a00;color:#ff4a00;border-radius:3px}.my-order .order-list .item .top .create-time[data-v-8bebdb1f]{font-size:.8rem}.my-order .order-list .item .shop[data-v-8bebdb1f]{display:flex;justify-content:space-between}.my-order .order-list .item .shop .right[data-v-8bebdb1f]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-list .item .shop .right .money[data-v-8bebdb1f]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-list .item .shop .right .count[data-v-8bebdb1f]{font-size:.7rem;color:#999}.my-order .order-list .item .shop .left[data-v-8bebdb1f]{height:4.5rem;display:flex;align-items:center}.my-order .order-list .item .shop .left .shop-img[data-v-8bebdb1f]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-list .item .shop .left .shop-name[data-v-8bebdb1f]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-list .item .bottom[data-v-8bebdb1f]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-list .item-active[data-v-8bebdb1f]{background-color:#efefef}.my-order .load-end[data-v-8bebdb1f]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-6ff318a4]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .header-nav[data-v-6ff318a4]{display:flex;background:linear-gradient(to bottom,#f5f5f5 50%,#fff 50%)}.my-order .header-nav .nav-item[data-v-6ff318a4]{height:4rem;width:8rem;cursor:pointer;display:flex;justify-content:center;align-items:center;font-size:1.2rem;background-color:#f5f5f5;border-radius:1rem 1rem 0 0}.my-order .header-nav .nav-item-active[data-v-6ff318a4]{background-color:#fff;position:relative;transition:.3s}.my-order .header-nav .nav-item-radius1[data-v-6ff318a4]{border-radius:0 0 1rem}.my-order .header-nav .nav-item-radius2[data-v-6ff318a4]{border-radius:0 0 0 1rem}.my-order .detail[data-v-6ff318a4]{height:calc(100vh - 100px - 4rem);box-sizing:border-box;position:relative}.my-order .detail .table[data-v-6ff318a4]{padding:1rem 1rem 6rem}.my-order .detail .table .table-title[data-v-6ff318a4]{font-weight:700;padding-top:1rem}.my-order .detail .table .table-info[data-v-6ff318a4]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:2rem;border-bottom:1px solid #eee}.my-order .detail .table .table-info[data-v-6ff318a4]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-6ff318a4]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-6ff318a4]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-6ff318a4]{height:6rem;box-sizing:border-box;padding:0 1.5rem;position:absolute;bottom:0;left:0;width:100%;box-shadow:0 -1px 10px #eee;display:flex;justify-content:space-between;align-items:center;background-color:#fff}.my-order .detail .footer .info[data-v-6ff318a4]{display:flex;align-items:flex-end}.my-order .detail .footer .info .ser[data-v-6ff318a4]{font-weight:700;margin-right:1rem}.my-order .detail .footer .info .price[data-v-6ff318a4]{margin-right:1rem}.my-order .detail .footer .info .price span[data-v-6ff318a4]{color:#ff4a00;font-size:1.2rem;font-weight:700}.my-order .detail .footer .handle .btn[data-v-6ff318a4]{border-radius:4rem;padding:1.2rem}.my-card{display:flex}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:5px}::-webkit-scrollbar-thumb:hover{background-color:#999}

1
dist/assets/index-QScG8zz8.css vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/assets/index-lSReYcyi.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{_ as U,u as I,r as u,o as L,b as n,c as R,h as S,e as w,f as e,w as t,k as v,g as b,v as K,x as B,A as C,E as d,K as E,L as N}from"./index-CL5BjIoG.js";const M=l=>(K("data-v-59a7e82c"),l=l(),B(),l),T={class:"body"},A={class:"login"},$=M(()=>w("div",{class:"title"},"里海收银系统 - 登录",-1)),j={__name:"index",setup(l){const p=I(),y=C(),h=u(null),_=u(null),s=u({account:"",password:"",key:"",captchaVerification:"",code:""}),i=()=>{if(!s.value.account)return d({message:"请填写账号",type:"error"});if(!s.value.password)return d({message:"请填写密码",type:"error"});E(s.value).then(a=>{console.log(a),a.data&&(p.setToken(a.data.token),N().then(({data:o})=>{if(!o.service)return d({message:"请联系管理员开通服务",type:"error"});p.setUserInfo(o),y.push("/")}))}).catch(a=>{})};return L(()=>{}),(a,o)=>{const k=n("User"),f=n("el-icon"),m=n("el-input"),c=n("el-form-item"),g=n("Lock"),x=n("el-button"),V=n("el-form");return R(),S("div",T,[w("div",A,[$,e(V,null,{default:t(()=>[e(c,null,{default:t(()=>[e(m,{ref_key:"accRef",ref:h,modelValue:s.value.account,"onUpdate:modelValue":o[0]||(o[0]=r=>s.value.account=r),placeholder:"请输入账号",autofocus:!0,onKeydown:o[1]||(o[1]=v(r=>_.value.focus(),["enter"]))},{prefix:t(()=>[e(f,null,{default:t(()=>[e(k)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(m,{ref_key:"pwdRef",ref:_,modelValue:s.value.password,"onUpdate:modelValue":o[2]||(o[2]=r=>s.value.password=r),type:"password",placeholder:"请输入密码","show-password":"",onKeydown:v(i,["enter"])},{prefix:t(()=>[e(f,null,{default:t(()=>[e(g)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(x,{style:{width:"100%"},type:"primary",onClick:i},{default:t(()=>[b("登录")]),_:1})]),_:1})]),_:1})])])}}},z=U(j,[["__scopeId","data-v-59a7e82c"]]);export{z as default};
import{_ as U,u as I,r as u,o as L,b as n,c as R,h as S,e as w,f as e,w as t,k as v,g as b,v as K,x as B,A as C,E as d,K as E,L as N}from"./index-BK45VPeO.js";const M=l=>(K("data-v-59a7e82c"),l=l(),B(),l),T={class:"body"},A={class:"login"},$=M(()=>w("div",{class:"title"},"里海收银系统 - 登录",-1)),j={__name:"index",setup(l){const p=I(),y=C(),h=u(null),_=u(null),s=u({account:"",password:"",key:"",captchaVerification:"",code:""}),i=()=>{if(!s.value.account)return d({message:"请填写账号",type:"error"});if(!s.value.password)return d({message:"请填写密码",type:"error"});E(s.value).then(a=>{console.log(a),a.data&&(p.setToken(a.data.token),N().then(({data:o})=>{if(!o.service)return d({message:"请联系管理员开通服务",type:"error"});p.setUserInfo(o),y.push("/")}))}).catch(a=>{})};return L(()=>{}),(a,o)=>{const k=n("User"),f=n("el-icon"),m=n("el-input"),c=n("el-form-item"),g=n("Lock"),x=n("el-button"),V=n("el-form");return R(),S("div",T,[w("div",A,[$,e(V,null,{default:t(()=>[e(c,null,{default:t(()=>[e(m,{ref_key:"accRef",ref:h,modelValue:s.value.account,"onUpdate:modelValue":o[0]||(o[0]=r=>s.value.account=r),placeholder:"请输入账号",autofocus:!0,onKeydown:o[1]||(o[1]=v(r=>_.value.focus(),["enter"]))},{prefix:t(()=>[e(f,null,{default:t(()=>[e(k)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(m,{ref_key:"pwdRef",ref:_,modelValue:s.value.password,"onUpdate:modelValue":o[2]||(o[2]=r=>s.value.password=r),type:"password",placeholder:"请输入密码","show-password":"",onKeydown:v(i,["enter"])},{prefix:t(()=>[e(f,null,{default:t(()=>[e(g)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(x,{style:{width:"100%"},type:"primary",onClick:i},{default:t(()=>[b("登录")]),_:1})]),_:1})]),_:1})])])}}},z=U(j,[["__scopeId","data-v-59a7e82c"]]);export{z as default};

View File

@ -1 +1 @@
import{h as x,i as P}from"./pay.vue_vue_type_style_index_0_scoped_80c4a58e_lang-B1w9iw3Y.js";import{_ as b,u as w,r as o,b as u,j as I,q as S,c as p,h,e,t,s as C,f as i,w as m,g as D,v as F,x as N,A as V}from"./index-CL5BjIoG.js";const a=c=>(F("data-v-891907f0"),c=c(),N(),c),k={"element-loading-text":"加载中",class:"my-order"},A={key:0,class:"from"},B={class:"form-card green"},L=a(()=>e("div",{class:"tips"},"今日线上收银金额",-1)),O={class:"form-card green"},j=a(()=>e("div",{class:"tips"},"昨日线上收银金额",-1)),q={class:"form-card green"},E=a(()=>e("div",{class:"tips"},"本月线上收银金额",-1)),R={class:"form-card"},T=a(()=>e("div",{class:"tips"},"今日收银 线上+现金 总金额",-1)),U={class:"form-card"},z=a(()=>e("div",{class:"tips"},"本月收银 线上+现金 总金额",-1)),G={class:"form-card red"},H=a(()=>e("div",{class:"tips"},"今日现金收银金额",-1)),J={class:"form-card red"},K=a(()=>e("div",{class:"tips"},"昨日现金收银金额",-1)),M={class:"form-card red"},Q=a(()=>e("div",{class:"tips"},"本月现金收银金额",-1)),W={class:"form-card"},X=a(()=>e("div",{class:"tips"},"昨日收银 线上+现金 总金额",-1)),Y={class:"table"},Z={__name:"indexCount",setup(c){const l=w(),_=o([]);V(),o(1),o(null);const y=o({page:1,limit:15,staff_id:l.userInfo.service.service_id}),n=o(!1);o(0),(()=>{x(l.userInfo.service.mer_id,y.value).then(r=>{_.value=r.data})})();const s=o({});return(()=>{n.value=!0,P(l.userInfo.service.mer_id,{staff_id:l.userInfo.service.service_id}).then(r=>{s.value=r.data.data,n.value=!1})})(),(r,se)=>{const d=u("el-table-column"),f=u("el-table"),g=I("loading");return S((p(),h("div",k,[s.value.today?(p(),h("div",A,[e("div",B,[e("div",null,t(s.value.today.payPrice),1),L]),e("div",O,[e("div",null,t(s.value.yesterday.payPrice),1),j]),e("div",q,[e("div",null,t(s.value.month.payPrice),1),E]),e("div",R,[e("div",null,t((s.value.today.cashPayment+s.value.today.payPrice).toFixed(2)),1),T]),e("div",U,[e("div",null,t((s.value.month.cashPayment+s.value.month.payPrice).toFixed(2)),1),z]),e("div",G,[e("div",null,t(s.value.today.cashPayment),1),H]),e("div",J,[e("div",null,t(s.value.yesterday.cashPayment),1),K]),e("div",M,[e("div",null,t(s.value.month.cashPayment),1),Q]),e("div",W,[e("div",null,t((s.value.yesterday.cashPayment+s.value.yesterday.payPrice).toFixed(2)),1),X])])):C("",!0),e("div",Y,[i(f,{data:_.value,style:{width:"100%"}},{default:m(()=>[i(d,{prop:"day",label:"日期",width:"260"}),i(d,{prop:"total",label:"订单数量"}),i(d,{prop:"cash_payment",label:"现金收银金额"}),i(d,{prop:"pay_price",label:"线上收银金额"}),i(d,{label:"总金额"},{default:m(v=>[D(t(((+v.row.pay_price||0)+(+v.row.cash_payment||0)).toFixed(2)),1)]),_:1})]),_:1},8,["data"])])])),[[g,n.value]])}}},oe=b(Z,[["__scopeId","data-v-891907f0"]]);export{oe as default};
import{h as x,i as P}from"./pay.vue_vue_type_style_index_0_scoped_43f405bf_lang-UtIhw1Q5.js";import{_ as b,u as w,r as o,b as u,j as I,q as S,c as p,h,e,t,s as C,f as i,w as m,g as D,v as F,x as N,A as V}from"./index-BK45VPeO.js";const a=c=>(F("data-v-ec016dae"),c=c(),N(),c),k={"element-loading-text":"加载中",class:"my-order"},A={key:0,class:"from"},B={class:"form-card green"},L=a(()=>e("div",{class:"tips"},"今日线上收银金额",-1)),O={class:"form-card green"},j=a(()=>e("div",{class:"tips"},"昨日线上收银金额",-1)),q={class:"form-card green"},E=a(()=>e("div",{class:"tips"},"本月线上收银金额",-1)),R={class:"form-card"},T=a(()=>e("div",{class:"tips"},"今日收银 线上+现金 总金额",-1)),U={class:"form-card"},z=a(()=>e("div",{class:"tips"},"本月收银 线上+现金 总金额",-1)),G={class:"form-card red"},H=a(()=>e("div",{class:"tips"},"今日现金收银金额",-1)),J={class:"form-card red"},K=a(()=>e("div",{class:"tips"},"昨日现金收银金额",-1)),M={class:"form-card red"},Q=a(()=>e("div",{class:"tips"},"本月现金收银金额",-1)),W={class:"form-card"},X=a(()=>e("div",{class:"tips"},"昨日收银 线上+现金 总金额",-1)),Y={class:"table"},Z={__name:"indexCount",setup(c){const l=w(),_=o([]);V(),o(1),o(null);const y=o({page:1,limit:15,staff_id:l.userInfo.service.service_id}),n=o(!1);o(0),(()=>{x(l.userInfo.service.mer_id,y.value).then(r=>{_.value=r.data})})();const s=o({});return(()=>{n.value=!0,P(l.userInfo.service.mer_id,{staff_id:l.userInfo.service.service_id}).then(r=>{s.value=r.data.data,n.value=!1})})(),(r,se)=>{const d=u("el-table-column"),f=u("el-table"),g=I("loading");return S((p(),h("div",k,[s.value.today?(p(),h("div",A,[e("div",B,[e("div",null,t(s.value.today.payPrice),1),L]),e("div",O,[e("div",null,t(s.value.yesterday.payPrice),1),j]),e("div",q,[e("div",null,t(s.value.month.payPrice),1),E]),e("div",R,[e("div",null,t((s.value.today.cashPayment+s.value.today.payPrice).toFixed(2)),1),T]),e("div",U,[e("div",null,t((s.value.month.cashPayment+s.value.month.payPrice).toFixed(2)),1),z]),e("div",G,[e("div",null,t(s.value.today.cashPayment),1),H]),e("div",J,[e("div",null,t(s.value.yesterday.cashPayment),1),K]),e("div",M,[e("div",null,t(s.value.month.cashPayment),1),Q]),e("div",W,[e("div",null,t((s.value.yesterday.cashPayment+s.value.yesterday.payPrice).toFixed(2)),1),X])])):C("",!0),e("div",Y,[i(f,{data:_.value,style:{width:"100%"}},{default:m(()=>[i(d,{prop:"day",label:"日期",width:"260"}),i(d,{prop:"total",label:"订单数量"}),i(d,{prop:"cash_payment",label:"现金收银金额"}),i(d,{prop:"pay_price",label:"线上收银金额"}),i(d,{label:"总金额"},{default:m(v=>[D(t(((+v.row.pay_price||0)+(+v.row.cash_payment||0)).toFixed(2)),1)]),_:1})]),_:1},8,["data"])])])),[[g,n.value]])}}},oe=b(Z,[["__scopeId","data-v-ec016dae"]]);export{oe as default};

View File

@ -1 +0,0 @@
@charset "UTF-8";.my-order[data-v-891907f0]{box-sizing:border-box}.my-order .from[data-v-891907f0]{width:100%;padding-bottom:20px;display:grid;grid-template-columns:repeat(5,1fr);gap:20px}.my-order .from .form-card[data-v-891907f0]{border-radius:.8rem;height:5rem;background-color:#fff;font-size:1.3rem;font-weight:700;display:flex;flex-direction:column;justify-content:center;align-items:center}.my-order .from .form-card .tips[data-v-891907f0]{font-size:.9rem;color:#999;font-weight:400}.my-order .from .red[data-v-891907f0]{color:#ff4a00}.my-order .from .green[data-v-891907f0]{color:#01c86f}.my-order .table[data-v-891907f0]{background-color:#fff;border-radius:1.2rem;box-sizing:border-box;padding:1rem;overflow-y:scroll}[data-v-891907f0]::-webkit-scrollbar{width:5px}[data-v-891907f0]::-webkit-scrollbar-track{background-color:#f1f1f1;margin:20px 0}[data-v-891907f0]::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:5px}[data-v-891907f0]::-webkit-scrollbar-thumb:hover{background-color:#999}

1
dist/assets/indexCount-DUOmQ5a6.css vendored Normal file
View File

@ -0,0 +1 @@
@charset "UTF-8";.my-order[data-v-ec016dae]{box-sizing:border-box}.my-order .from[data-v-ec016dae]{width:100%;padding-bottom:1.25rem;display:grid;grid-template-columns:repeat(5,1fr);gap:1.25rem}.my-order .from .form-card[data-v-ec016dae]{border-radius:.8rem;height:5rem;background-color:#fff;font-size:1.3rem;font-weight:700;display:flex;flex-direction:column;justify-content:center;align-items:center}.my-order .from .form-card .tips[data-v-ec016dae]{font-size:.9rem;color:#999;font-weight:400}.my-order .from .red[data-v-ec016dae]{color:#ff4a00}.my-order .from .green[data-v-ec016dae]{color:#01c86f}.my-order .table[data-v-ec016dae]{background-color:#fff;border-radius:1.2rem;box-sizing:border-box;padding:1rem;overflow-y:scroll}[data-v-ec016dae]::-webkit-scrollbar{width:.315rem}[data-v-ec016dae]::-webkit-scrollbar-track{background-color:#f1f1f1;margin:1.25rem 0}[data-v-ec016dae]::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.315rem}[data-v-ec016dae]::-webkit-scrollbar-thumb:hover{background-color:#999}

1
dist/assets/indexList-BAcoCK-_.css vendored Normal file
View File

@ -0,0 +1 @@
@charset "UTF-8";.my-order[data-v-3c901223]{background-color:#fff;border-radius:1.2rem;box-sizing:border-box;padding:1rem;overflow-y:scroll}[data-v-3c901223]::-webkit-scrollbar{width:.315rem}[data-v-3c901223]::-webkit-scrollbar-track{background-color:#f1f1f1;margin:1.25rem 0}[data-v-3c901223]::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.315rem}[data-v-3c901223]::-webkit-scrollbar-thumb:hover{background-color:#999}

View File

@ -1 +0,0 @@
@charset "UTF-8";.my-order[data-v-80048b20]{background-color:#fff;border-radius:1.2rem;box-sizing:border-box;padding:1rem;overflow-y:scroll}[data-v-80048b20]::-webkit-scrollbar{width:5px}[data-v-80048b20]::-webkit-scrollbar-track{background-color:#f1f1f1;margin:20px 0}[data-v-80048b20]::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:5px}[data-v-80048b20]::-webkit-scrollbar-thumb:hover{background-color:#999}

View File

@ -1 +0,0 @@
import{e as F,a as G,g as J,f as K}from"./pay.vue_vue_type_style_index_0_scoped_80c4a58e_lang-B1w9iw3Y.js";import{_ as Q,u as W,r as s,b as d,j as X,q as Y,c as u,h as m,f as t,w as o,g as r,t as Z,e as P,d as I,A as ee,E as h,v as te,x as ae}from"./index-CL5BjIoG.js";import{p as oe}from"./pay-e6rTiccK.js";const le=v=>(te("data-v-80048b20"),v=v(),ae(),v),se={"element-loading-text":"加载中",class:"my-order"},ne={key:0},re={key:1,style:{color:"#ff4a00"}},ie={key:0},de={key:1,class:"flex"},ue=le(()=>P("span",null,"提单前请清空购物车, 避免提单的商品与购物车商品混合, 请确保购物车内无数据后再进行提单",-1)),ce={class:"dialog-footer"},pe={__name:"indexList",setup(v){const k=W(),C=s([]),b=ee(),g=s(1),f=s(null),n=s({page:1,limit:20}),y=s(!1),w=s(0),i=()=>{y.value=!0,g.value==1&&(n.value.paid=null),g.value==2&&(n.value.paid=0),F(k.userInfo.service.mer_id,n.value).then(e=>{C.value=e.data.list,w.value=e.data.count,y.value=!1})};i();const x=s(0);(()=>{G({staff_id:k.userInfo.service.service_id}).then(e=>{var a;x.value=(a=e.data.list)==null?void 0:a.length})})();const A=e=>{n.value.page=1,i()},B=e=>{n.value.page=e,i()},D=e=>{n.value.page=e,i()},N=e=>{n.value.page=e,i()},R=()=>{i()},$=e=>{f.value.setRePay({price:e.pay_price,order_id:e.group_order_id}),f.value.drawer=!0},E=e=>{J({order_sn:e}).then(a=>{a.data.paid==1||a.message=="支付成功"?(h({message:a.message,type:"success"}),i()):h({message:a.message,type:"error"})}).catch(a=>{})},L=s(""),U=()=>{_.value=!1,K({order_sn:L.value}).then(e=>{h({message:e.message,type:"success"}),b.push({name:"home"})})},_=s(!1),z=e=>{L.value=e,_.value=!0},O=()=>{b.push({name:"home"})};return(e,a)=>{const S=d("el-radio-button"),T=d("el-radio-group"),c=d("el-table-column"),p=d("el-button"),j=d("el-table"),q=d("el-pagination"),H=d("el-dialog"),M=X("loading");return Y((u(),m("div",se,[t(T,{modelValue:g.value,"onUpdate:modelValue":a[0]||(a[0]=l=>g.value=l),style:{"margin-bottom":"30px"},onChange:A},{default:o(()=>[t(S,{value:1},{default:o(()=>[r("全部")]),_:1}),t(S,{value:2},{default:o(()=>[r("未支付")]),_:1})]),_:1},8,["modelValue"]),t(j,{data:C.value,style:{width:"100%"}},{default:o(()=>[t(c,{prop:"group_order_id",label:"ID",width:"100"}),t(c,{prop:"order_sn",label:"订单号",width:"260"}),t(c,{prop:"total_price",label:"订单金额"}),t(c,{prop:"paid",label:"支付状态"},{default:o(l=>[l.row.paid==1?(u(),m("span",ne,"已支付")):(u(),m("span",re,"未支付"))]),_:1}),t(c,{prop:"create_time",label:"订单创建时间"}),t(c,{prop:"pay_time",label:"订单支付时间"},{default:o(l=>[l.row.pay_time?(u(),m("span",ie,Z(l.row.pay_time),1)):(u(),m("div",de,[t(p,{type:"primary",link:"",onClick:V=>$(l.row)},{default:o(()=>[r("重新支付")]),_:2},1032,["onClick"]),t(p,{type:"primary",link:"",onClick:V=>E(l.row.order_sn)},{default:o(()=>[r("检测状态")]),_:2},1032,["onClick"]),t(p,{type:"primary",link:"",onClick:V=>z(l.row.order_sn)},{default:o(()=>[r("提单")]),_:2},1032,["onClick"])]))]),_:1})]),_:1},8,["data"]),t(q,{"page-size":n.value.limit,layout:"prev, pager, next",total:w.value,onPrevClick:B,onNextClick:D,onCurrentChange:N},null,8,["page-size","total"]),t(oe,{ref_key:"payRef",ref:f,onPaySuccess:R},null,512),t(H,{modelValue:_.value,"onUpdate:modelValue":a[2]||(a[2]=l=>_.value=l),title:"提示",width:"500"},{footer:o(()=>[P("div",ce,[t(p,{onClick:a[1]||(a[1]=l=>_.value=!1)},{default:o(()=>[r("取消")]),_:1}),x.value>0?(u(),I(p,{key:0,onClick:O},{default:o(()=>[r(" 前去清空购物车 ")]),_:1})):(u(),I(p,{key:1,type:"primary",onClick:U},{default:o(()=>[r(" 确认提单 ")]),_:1}))])]),default:o(()=>[ue]),_:1},8,["modelValue"])])),[[M,y.value]])}}},fe=Q(pe,[["__scopeId","data-v-80048b20"]]);export{fe as default};

1
dist/assets/indexList-dE38YFMr.js vendored Normal file
View File

@ -0,0 +1 @@
import{e as F,a as G,g as J,f as K}from"./pay.vue_vue_type_style_index_0_scoped_43f405bf_lang-UtIhw1Q5.js";import{_ as Q,u as W,r as s,b as d,j as X,q as Y,c,h as m,f as t,w as o,g as r,t as Z,e as P,d as I,A as ee,E as h,v as te,x as ae}from"./index-BK45VPeO.js";import{p as oe}from"./pay-jKmmbq3P.js";const le=v=>(te("data-v-3c901223"),v=v(),ae(),v),se={"element-loading-text":"加载中",class:"my-order"},ne={key:0},re={key:1,style:{color:"#ff4a00"}},ie={key:0},de={key:1,class:"flex"},ce=le(()=>P("span",null,"提单前请清空购物车, 避免提单的商品与购物车商品混合, 请确保购物车内无数据后再进行提单",-1)),ue={class:"dialog-footer"},pe={__name:"indexList",setup(v){const k=W(),C=s([]),b=ee(),g=s(1),f=s(null),n=s({page:1,limit:20}),y=s(!1),w=s(0),i=()=>{y.value=!0,g.value==1&&(n.value.paid=null),g.value==2&&(n.value.paid=0),F(k.userInfo.service.mer_id,n.value).then(e=>{C.value=e.data.list,w.value=e.data.count,y.value=!1})};i();const x=s(0);(()=>{G({staff_id:k.userInfo.service.service_id}).then(e=>{var a;x.value=(a=e.data.list)==null?void 0:a.length})})();const A=e=>{n.value.page=1,i()},B=e=>{n.value.page=e,i()},D=e=>{n.value.page=e,i()},N=e=>{n.value.page=e,i()},R=()=>{i()},$=e=>{f.value.setRePay({price:e.pay_price,order_id:e.group_order_id}),f.value.drawer=!0},E=e=>{J({order_sn:e}).then(a=>{a.data.paid==1||a.message=="支付成功"?(h({message:a.message,type:"success"}),i()):h({message:a.message,type:"error"})}).catch(a=>{})},L=s(""),U=()=>{_.value=!1,K({order_sn:L.value}).then(e=>{h({message:e.message,type:"success"}),b.push({name:"home"})})},_=s(!1),z=e=>{L.value=e,_.value=!0},O=()=>{b.push({name:"home"})};return(e,a)=>{const S=d("el-radio-button"),T=d("el-radio-group"),u=d("el-table-column"),p=d("el-button"),j=d("el-table"),q=d("el-pagination"),H=d("el-dialog"),M=X("loading");return Y((c(),m("div",se,[t(T,{modelValue:g.value,"onUpdate:modelValue":a[0]||(a[0]=l=>g.value=l),style:{"margin-bottom":"30px"},onChange:A},{default:o(()=>[t(S,{value:1},{default:o(()=>[r("全部")]),_:1}),t(S,{value:2},{default:o(()=>[r("未支付")]),_:1})]),_:1},8,["modelValue"]),t(j,{data:C.value,style:{width:"100%"}},{default:o(()=>[t(u,{prop:"group_order_id",label:"ID",width:"100"}),t(u,{prop:"order_sn",label:"订单号",width:"260"}),t(u,{prop:"total_price",label:"订单金额"}),t(u,{prop:"paid",label:"支付状态"},{default:o(l=>[l.row.paid==1?(c(),m("span",ne,"已支付")):(c(),m("span",re,"未支付"))]),_:1}),t(u,{prop:"create_time",label:"订单创建时间"}),t(u,{prop:"pay_time",label:"订单支付时间"},{default:o(l=>[l.row.pay_time?(c(),m("span",ie,Z(l.row.pay_time),1)):(c(),m("div",de,[t(p,{type:"primary",link:"",onClick:V=>$(l.row)},{default:o(()=>[r("重新支付")]),_:2},1032,["onClick"]),t(p,{type:"primary",link:"",onClick:V=>E(l.row.order_sn)},{default:o(()=>[r("检测状态")]),_:2},1032,["onClick"]),t(p,{type:"primary",link:"",onClick:V=>z(l.row.order_sn)},{default:o(()=>[r("提单")]),_:2},1032,["onClick"])]))]),_:1})]),_:1},8,["data"]),t(q,{"page-size":n.value.limit,layout:"prev, pager, next",total:w.value,onPrevClick:B,onNextClick:D,onCurrentChange:N},null,8,["page-size","total"]),t(oe,{ref_key:"payRef",ref:f,onPaySuccess:R},null,512),t(H,{modelValue:_.value,"onUpdate:modelValue":a[2]||(a[2]=l=>_.value=l),title:"提示",width:"500"},{footer:o(()=>[P("div",ue,[t(p,{onClick:a[1]||(a[1]=l=>_.value=!1)},{default:o(()=>[r("取消")]),_:1}),x.value>0?(c(),I(p,{key:0,onClick:O},{default:o(()=>[r(" 前去清空购物车 ")]),_:1})):(c(),I(p,{key:1,type:"primary",onClick:U},{default:o(()=>[r(" 确认提单 ")]),_:1}))])]),default:o(()=>[ce]),_:1},8,["modelValue"])])),[[M,y.value]])}}},fe=Q(pe,[["__scopeId","data-v-3c901223"]]);export{fe as default};

1
dist/assets/indexSystem-BjRZnOOI.js vendored Normal file
View File

@ -0,0 +1 @@
import{o as r,d as t}from"./detail-ttCarTU-.js";import{p as o}from"./padding-C_XosNLD.js";import{c as s,h as a,f as e}from"./index-BK45VPeO.js";import"./pay.vue_vue_type_style_index_0_scoped_43f405bf_lang-UtIhw1Q5.js";import"./pay-jKmmbq3P.js";const i={class:"my-card"},u={__name:"indexSystem",setup(m){return(c,d)=>(s(),a("div",i,[e(r,{style:{"flex-shrink":"0"},ref:"orderRef",isSystem:""},null,512),e(o),e(t,{ref:"detailRef"},null,512)]))}};export{u as default};

View File

@ -1 +0,0 @@
import{o as r,d as t}from"./detail-BYXa123p.js";import{p as o}from"./padding-0D2JHbyR.js";import{c as s,h as a,f as e}from"./index-CL5BjIoG.js";import"./pay.vue_vue_type_style_index_0_scoped_80c4a58e_lang-B1w9iw3Y.js";import"./pay-e6rTiccK.js";const i={class:"my-card"},u={__name:"indexSystem",setup(m){return(c,d)=>(s(),a("div",i,[e(r,{style:{"flex-shrink":"0"},ref:"orderRef",isSystem:""},null,512),e(o),e(t,{ref:"detailRef"},null,512)]))}};export{u as default};

View File

@ -1,4 +1,4 @@
import{B as jt,C as rp}from"./index-CL5BjIoG.js";var Je={exports:{}};/**
import{B as jt,C as rp}from"./index-BK45VPeO.js";var Je={exports:{}};/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>

View File

@ -1 +0,0 @@
import{_ as e,c as t,h as c}from"./index-CL5BjIoG.js";const n={},o={style:{width:"20px",height:"100%"}};function s(r,_){return t(),c("div",o)}const i=e(n,[["render",s]]);export{i as p};

1
dist/assets/padding-C_XosNLD.js vendored Normal file
View File

@ -0,0 +1 @@
import{_ as e,c as t,h as c}from"./index-BK45VPeO.js";const n={},o={style:{width:"1rem",height:"100%"}};function r(s,_){return t(),c("div",o)}const i=e(n,[["render",r]]);export{i as p};

View File

@ -1 +0,0 @@
.dra-body[data-v-80c4a58e]{width:100%;display:flex;flex-direction:column;align-items:center;text-align:center}.dra-body .header[data-v-80c4a58e]{width:25rem;display:flex}.dra-body .header>div[data-v-80c4a58e]{flex:1;border:1px solid #ccc;text-align:center;padding:.6rem 0;cursor:pointer}.dra-body .header .left[data-v-80c4a58e]{border-right:none;border-radius:5rem 0 0 5rem}.dra-body .header .right[data-v-80c4a58e]{border-left:none;border-radius:0 5rem 5rem 0}.dra-body .header .active[data-v-80c4a58e]{background-color:#1890ff;color:#fff;transition:.3s;border-color:#1890ff}.dra-body .card1 .code-input[data-v-80c4a58e]{width:100%;height:3rem}.dra-body .card1 .tips[data-v-80c4a58e]{width:38rem;height:16rem;background:url(./pay-De0xbdxm.png);background-size:100% 100%;background-repeat:no-repeat}.cancel-btn[data-v-80c4a58e]{width:60%;border-color:#1890ff;color:#1890ff;border-radius:5rem;height:3rem;font-size:1.2rem}.drawer-body[data-v-80c4a58e]{width:100%;overflow-x:hidden}.counter[data-v-80c4a58e]{padding:20px;border-radius:20px;background-color:#f3f9ff}.counter .received[data-v-80c4a58e]{height:58px;padding:0 20px;border:1px solid #1890ff;box-shadow:0 0 3px #1890ff;border-radius:8px;background-color:#fff;font-size:26px;line-height:58px;color:#333}.counter .balance[data-v-80c4a58e]{width:100%;box-sizing:border-box;padding:18px 0 18px 10px;text-align:start;font-size:.95rem;color:#303133;display:flex;justify-content:space-between}.counter .balance .money[data-v-80c4a58e]{color:#ff4a00}.counter .balance .tips[data-v-80c4a58e]{font-size:.8rem;color:#999}.counter .keypad[data-v-80c4a58e]{display:grid;grid-template-columns:auto auto auto auto;grid-gap:10px}.counter .keypad .left[data-v-80c4a58e]{grid-column-end:span 3;display:grid;grid-template-columns:auto auto auto;grid-gap:10px}.counter .keypad .right[data-v-80c4a58e]{display:grid;grid-template-columns:auto;grid-gap:10px}.counter .keypad .el-button[data-v-80c4a58e]{height:62px;width:130px;margin:0!important;border:0;border-radius:8px;font-weight:500;font-size:28px!important;line-height:62px;color:#1890ff}.counter .keypad .el-button[data-v-80c4a58e]:focus{box-shadow:none}.counter .keypad .enter[data-v-80c4a58e]{grid-row-end:span 4;height:134px;line-height:134px;background-color:#1890ff;font-weight:500;font-size:1.35rem!important;color:#fff;position:relative}.counter .keypad .enter-disable[data-v-80c4a58e]{background-color:#ccc}

1
dist/assets/pay-Cy98h3fA.css vendored Normal file
View File

@ -0,0 +1 @@
.dra-body[data-v-43f405bf]{width:100%;display:flex;flex-direction:column;align-items:center;text-align:center}.dra-body .header[data-v-43f405bf]{width:25rem;display:flex}.dra-body .header>div[data-v-43f405bf]{flex:1;border:1px solid #ccc;text-align:center;padding:.6rem 0;cursor:pointer}.dra-body .header .left[data-v-43f405bf]{border-right:none;border-radius:5rem 0 0 5rem}.dra-body .header .right[data-v-43f405bf]{border-left:none;border-radius:0 5rem 5rem 0}.dra-body .header .active[data-v-43f405bf]{background-color:#1890ff;color:#fff;transition:.3s;border-color:#1890ff}.dra-body .card1 .code-input[data-v-43f405bf]{width:100%;height:3rem}.dra-body .card1 .tips[data-v-43f405bf]{width:38rem;height:16rem;background:url(./pay-De0xbdxm.png);background-size:100% 100%;background-repeat:no-repeat}.cancel-btn[data-v-43f405bf]{width:60%;border-color:#1890ff;color:#1890ff;border-radius:5rem;height:3rem;font-size:1.2rem}.drawer-body[data-v-43f405bf]{width:100%;overflow-x:hidden}.counter[data-v-43f405bf]{padding:1.25rem;border-radius:1.25rem;background-color:#f3f9ff}.counter .received[data-v-43f405bf]{height:3rem;padding:0 1.25rem;border:1px solid #1890ff;box-shadow:0 0 .18rem #1890ff;border-radius:.5rem;background-color:#fff;font-size:1.62rem;line-height:3rem;color:#333}.counter .balance[data-v-43f405bf]{width:100%;box-sizing:border-box;padding:1.12rem 0 1.12rem .625rem;text-align:start;font-size:.95rem;color:#303133;display:flex;justify-content:space-between}.counter .balance .money[data-v-43f405bf]{color:#ff4a00}.counter .balance .tips[data-v-43f405bf]{font-size:.8rem;color:#999}.counter .keypad[data-v-43f405bf]{display:grid;grid-template-columns:auto auto auto auto;grid-gap:.625rem}.counter .keypad .left[data-v-43f405bf]{grid-column-end:span 3;display:grid;grid-template-columns:auto auto auto;grid-gap:.625rem}.counter .keypad .right[data-v-43f405bf]{display:grid;grid-template-columns:auto;grid-gap:.625rem}.counter .keypad .el-button[data-v-43f405bf]{height:3.875rem;width:8.125rem;margin:0!important;border:0;border-radius:.5rem;font-weight:500;font-size:1.75rem!important;line-height:3.87rem;color:#1890ff}.counter .keypad .el-button[data-v-43f405bf]:focus{box-shadow:none}.counter .keypad .enter[data-v-43f405bf]{grid-row-end:span 4;height:8.37rem;line-height:8.37rem;background-color:#1890ff;font-weight:500;font-size:1.35rem!important;color:#fff;position:relative}.counter .keypad .enter-disable[data-v-43f405bf]{background-color:#ccc}

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{G as t}from"./index-CL5BjIoG.js";function n(r){return t.post("user/cart/create",r)}function s(r){return t.get("user/cart/lst",{params:r})}function o(r,e){return t.post(`user/cart/change/${r}`,e)}function u(r){return t.post("v2/order/check",r)}function c(r){return t.post("user/cart/delete",r)}function p(r){return t.post("v2/order/create",r)}function d(r,e){return t.post(`order/pay/${r}`,e)}function f(r){return t.get("micropay_query",{params:r})}function A(r,e){return t.get(`admin/${r}/order_list`,{params:e})}function m(r,e){return t.get(`verifier/${r}/order/${e}`)}function g(r){return t.get("order_lading",{params:r})}function $(r,e,i){return t.post(`verifier/${r}/${e}`,i)}function l(r,e){return t.get(`admin/${r}/statistics`,{params:e})}function v(r,e){return t.get(`admin/${r}/order_price`,{params:e})}function h(r,e){return t.get("order/list",{params:e})}export{s as a,o as b,c,n as d,A as e,g as f,f as g,v as h,l as i,$ as j,p as k,d as l,u as o,h as s,m as v};
import{G as t}from"./index-BK45VPeO.js";function n(r){return t.post("user/cart/create",r)}function s(r){return t.get("user/cart/lst",{params:r})}function o(r,e){return t.post(`user/cart/change/${r}`,e)}function u(r){return t.post("v2/order/check",r)}function c(r){return t.post("user/cart/delete",r)}function p(r){return t.post("v2/order/create",r)}function d(r,e){return t.post(`order/pay/${r}`,e)}function f(r){return t.get("micropay_query",{params:r})}function A(r,e){return t.get(`admin/${r}/order_list`,{params:e})}function m(r,e){return t.get(`verifier/${r}/order/${e}`)}function g(r){return t.get("order_lading",{params:r})}function $(r,e,i){return t.post(`verifier/${r}/${e}`,i)}function l(r,e){return t.get(`admin/${r}/statistics`,{params:e})}function v(r,e){return t.get(`admin/${r}/order_price`,{params:e})}function h(r,e){return t.get("order/list",{params:e})}export{s as a,o as b,c,n as d,A as e,g as f,f as g,v as h,l as i,$ as j,p as k,d as l,u as o,h as s,m as v};

View File

@ -1 +1 @@
import{G as e}from"./index-CL5BjIoG.js";function a(t,r){return e.get(`server/${t}/product/lst`,{params:r})}function p(t,r){return e.get(`store/product/detail/${t}`,{params:r})}function o(t,r){return e.post(`user_free_trial/${t}`,r)}function i(t,r){return e.get(`server/${t}/product/title`,{params:r})}function n(t,r,s){return e.post(`server/${t}/product/status/${r}`,s)}function c(t,r){return e.get(`server/${t}/category/list`,{params:r})}function d(t,r){return e.post(`server/${t}/product/create`,r)}function f(t,r,s){return e.post(`server/${t}/product/update/${r}`,s)}function l(t,r,s){return e.get(`server/${t}/product/detail/${r}`,{params:s})}function $(t){return e.get("product/spu/lst",{params:t})}export{$ as a,d as b,c,f as d,i as e,n as f,p as g,l as p,a as s,o as u};
import{G as e}from"./index-BK45VPeO.js";function a(t,r){return e.get(`server/${t}/product/lst`,{params:r})}function p(t,r){return e.get(`store/product/detail/${t}`,{params:r})}function o(t,r){return e.post(`user_free_trial/${t}`,r)}function i(t,r){return e.get(`server/${t}/product/title`,{params:r})}function n(t,r,s){return e.post(`server/${t}/product/status/${r}`,s)}function c(t,r){return e.get(`server/${t}/category/list`,{params:r})}function d(t,r){return e.post(`server/${t}/product/create`,r)}function f(t,r,s){return e.post(`server/${t}/product/update/${r}`,s)}function l(t,r,s){return e.get(`server/${t}/product/detail/${r}`,{params:s})}function $(t){return e.get("product/spu/lst",{params:t})}export{$ as a,d as b,c,f as d,i as e,n as f,p as g,l as p,a as s,o as u};

41
dist/index.html vendored
View File

@ -1,12 +1,47 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="./cashier.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>里海收银系统</title>
<script type="module" crossorigin src="./assets/index-CL5BjIoG.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-D-6RFZwF.css">
<style>
/* 小屏幕 */
@media screen and (max-width: 576px) {
html {
font-size: 10px;
}
}
/* 中等屏幕 */
@media screen and (min-width: 577px) and (max-width: 992px) {
html {
font-size: 10px;
}
}
/* 大屏幕 */
@media screen and (min-width: 993px) and (max-width: 1336px) {
html {
font-size: 11px;
}
}
/* 大屏幕 */
@media screen and (min-width: 1336px) and (max-width: 1900px) {
html {
font-size: 12px;
}
}
/* 大屏幕 */
@media screen and (min-width: 1900px){
html {
font-size: 16px;
}
}
</style>
<script type="module" crossorigin src="./assets/index-BK45VPeO.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-7nsh2zTj.css">
</head>
<body>
<div id="app"></div>

View File

@ -1,10 +1,45 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/cashier.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>里海收银系统</title>
<style>
/* 小屏幕 */
@media screen and (max-width: 576px) {
html {
font-size: 10px;
}
}
/* 中等屏幕 */
@media screen and (min-width: 577px) and (max-width: 992px) {
html {
font-size: 10px;
}
}
/* 大屏幕 */
@media screen and (min-width: 993px) and (max-width: 1336px) {
html {
font-size: 11px;
}
}
/* 大屏幕 */
@media screen and (min-width: 1336px) and (max-width: 1900px) {
html {
font-size: 12px;
}
}
/* 大屏幕 */
@media screen and (min-width: 1900px){
html {
font-size: 16px;
}
}
</style>
</head>
<body>
<div id="app"></div>

View File

@ -6,6 +6,8 @@ onMounted(() => {
document.body.style.setProperty('--el-upload-picture-card-size', '60px');
document.body.style.setProperty('--el-upload-list-picture-card-size', '60px');
})
const screenWidth = window.innerWidth;
console.log('当前屏幕宽度:', screenWidth);
</script>
<template>
@ -16,7 +18,6 @@ onMounted(() => {
.el-button:focus{
outline: none;
}
// input
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {

View File

@ -3,7 +3,7 @@
<template>
<div style="width: 20px;height: 100%;"></div>
<div style="width: 1rem;height: 100%;"></div>
</template>
<style scoped lang="scss">

View File

@ -593,26 +593,26 @@ onUnmounted(() => {
}
.counter {
padding: 20px;
border-radius: 20px;
padding: 1.25rem;
border-radius: 1.25rem;
background-color: #f3f9ff;
.received {
height: 58px;
padding: 0 20px;
height: 3.0rem;
padding: 0 1.25rem;
border: 1px solid #1890ff;
box-shadow: 0 0 3px #1890ff;
border-radius: 8px;
box-shadow: 0 0 0.18rem #1890ff;
border-radius: 0.5rem;
background-color: #ffffff;
font-size: 26px;
line-height: 58px;
font-size: 1.62rem;
line-height: 3.0rem;
color: #333;
}
.balance {
width: 100%;
box-sizing: border-box;
padding: 18px 0 18px 10px;
padding: 1.12rem 0 1.12rem 0.625rem;
text-align: start;
font-size: 0.95rem;
color: #303133;
@ -631,30 +631,30 @@ onUnmounted(() => {
.keypad {
display: grid;
grid-template-columns: auto auto auto auto;
grid-gap: 10px;
grid-gap: 0.625rem;
.left {
grid-column-end: span 3;
display: grid;
grid-template-columns: auto auto auto;
grid-gap: 10px;
grid-gap: 0.625rem;
}
.right {
display: grid;
grid-template-columns: auto;
grid-gap: 10px;
grid-gap: 0.625rem;
}
.el-button {
height: 62px;
width: 130px;
height: 3.875rem;
width: 8.125rem;
margin: 0 !important;
border: 0;
border-radius: 8px;
border-radius: 0.5rem;
font-weight: 500;
font-size: 28px !important;
line-height: 62px;
font-size: 1.75rem !important;
line-height: 3.87rem;
color: #1890ff;
&:focus {
@ -664,8 +664,8 @@ onUnmounted(() => {
.enter {
grid-row-end: span 4;
height: 134px;
line-height: 134px;
height: 8.37rem;
line-height: 8.37rem;
background-color: #1890ff;
font-weight: 500;
font-size: 1.35rem !important;

View File

@ -38,10 +38,10 @@ onUnmounted(()=>{
<myHeader></myHeader>
</el-header>
<el-container>
<el-aside width="100px">
<el-aside width="6.25rem">
<myAside></myAside>
</el-aside>
<el-main>
<el-main style="color: #333;">
<router-view v-slot="{ Component }" class="my-main">
<transition name="el-zoom-in-top">
<component :is="Component"></component>
@ -63,16 +63,18 @@ onUnmounted(()=>{
background-color: #001529;
.el-header {
color: #fff;
height: 4rem;
}
.el-aside {
color: #fff;
}
.el-main {
background-color: #f5f5f5;
width: calc(100vw - 100px);
height: calc(100vh - 60px);
width: calc(100vw - 6.25rem);
height: calc(100vh - 4rem);
border-radius: 2rem 0 0 0;
overflow-y: scroll;
padding: 1rem;
.my-main {
height: 100%;

View File

@ -36,35 +36,35 @@ onUnmounted(() => {
<template>
<div class="my-card">
<div class="list-item" :class="{'active': route.name=='home'}" @click="navTo('home')">
<el-icon size="30"><Sell /></el-icon>
<el-icon size="2rem"><Sell /></el-icon>
<div>收银</div>
</div>
<div class="list-item" :class="{'active': route.name=='order'}" @click="navTo('order')">
<el-icon size="30"><DataLine /></el-icon>
<el-icon size="2rem"><DataLine /></el-icon>
<div>收银订单</div>
</div>
<div class="list-item" :class="{'active': route.name=='orderSystem'}" @click="navTo('orderSystem')">
<el-icon size="30"><DataAnalysis /></el-icon>
<el-icon size="2rem"><DataAnalysis /></el-icon>
<div>平台订单</div>
</div>
<div class="list-item" :class="{'active': route.name=='saleHome'}" @click="navTo('saleHome')">
<el-icon size="30"><Van /></el-icon>
<el-icon size="2rem"><Van /></el-icon>
<div>批发</div>
</div>
<div class="list-item" :class="{'active': route.name=='saleOrder'}" @click="navTo('saleOrder')">
<el-icon size="30"><Tickets /></el-icon>
<el-icon size="2rem"><Tickets /></el-icon>
<div>批发订单</div>
</div>
<div class="list-item" :class="{'active': route.name=='convert'}" @click="navTo('convert')">
<el-icon size="30"><FullScreen /></el-icon>
<el-icon size="2rem"><FullScreen /></el-icon>
<div>核销</div>
</div>
<div class="list-item" :class="{'active': route.name=='shop'}" @click="navTo('shop')">
<el-icon size="30"><ShoppingBag /></el-icon>
<el-icon size="2rem"><ShoppingBag /></el-icon>
<div>商品</div>
</div>
<div class="list-item" :class="{'active': route.name=='orderCount'}" @click="navTo('orderCount')">
<el-icon size="30"><Coin /></el-icon>
<el-icon size="2rem"><Coin /></el-icon>
<div>统计</div>
</div>
</div>
@ -73,10 +73,12 @@ onUnmounted(() => {
<style scoped lang="scss">
.my-card{
width: 100%;
height: calc(100vh - 100px);
display: flex;
flex-direction: column;
align-items: center;
padding-top: 1.5rem;
overflow: auto;
.list-item{
width: 4.5rem;
height: 4.5rem;
@ -94,4 +96,25 @@ onUnmounted(() => {
}
}
}
/* 修改滚动条的样式 */
::-webkit-scrollbar {
display: none; /* 隐藏滚动条 */
}
/* 设置滚动条的轨道样式 */
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* 设置轨道的背景色 */
margin: 1.25rem 0;
}
/* 设置滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
background-color: #ccc; /* 设置滑块的背景色 */
border-radius: 0.315rem; /* 设置滑块的圆角 */
}
/* 设置滚动条鼠标悬停时的滑块样式 */
::-webkit-scrollbar-thumb:hover {
background-color: #999; /* 设置鼠标悬停时滑块的背景色 */
}
</style>

View File

@ -363,7 +363,7 @@ const convert = ()=>{
bottom: 0;
left: 0;
width: 100%;
box-shadow: 0 -1px 10px #eee;
box-shadow: 0 -1px 0.625rem #eee;
display: flex;
justify-content: space-between;
align-items: center;

View File

@ -103,7 +103,7 @@ defineExpose({
style="
background-color: #1890ff;
color: #fff;
border-radius: 0 5px 5px 0;
border-radius: 0 0.315rem 0.315rem 0;
"
@click="getOrderList(true)"
>搜索</el-button
@ -218,7 +218,7 @@ defineExpose({
margin-right: 0.2rem;
border: 1px solid #2ec479;
color: #2ec479;
border-radius: 3px;
border-radius: 0.18rem;
}
}
.cahier2{
@ -230,7 +230,7 @@ defineExpose({
margin-right: 0.2rem;
border: 1px solid #ff4a00;
color: #ff4a00;
border-radius: 3px;
border-radius: 0.18rem;
}
}
.create-time {

View File

@ -75,7 +75,7 @@ onMounted(() => {
&:focus {
outline: none;
box-shadow: 0 0 5px #1890ff; /* 可选:添加阴影效果以突出显示聚焦状态 */
box-shadow: 0 0 0.31rem #1890ff; /* 可选:添加阴影效果以突出显示聚焦状态 */
transition: all 0.2s ease-in-out;
}
}
@ -97,19 +97,19 @@ onMounted(() => {
}
/* 修改滚动条的样式 */
::-webkit-scrollbar {
width: 5px; /* 设置滚动条的宽度 */
width: 0.31rem; /* 设置滚动条的宽度 */
}
/* 设置滚动条的轨道样式 */
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* 设置轨道的背景色 */
/* margin: 20px 0; */
/* margin: 1.25rem 0; */
}
/* 设置滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
background-color: #ccc; /* 设置滑块的背景色 */
border-radius: 5px; /* 设置滑块的圆角 */
border-radius: 0.31rem; /* 设置滑块的圆角 */
}
/* 设置滚动条鼠标悬停时的滑块样式 */

View File

@ -189,7 +189,7 @@ onUnmounted(() => {
</div>
</div>
<div class="update-price">
<el-button class="btn" type="primary" @click="showPrice">改价 (Insert)</el-button>
<el-button class="btn" type="primary" @click="showPrice" size="small">改价 (Insert)</el-button>
</div>
</div>
<div class="order-btn">
@ -244,7 +244,7 @@ onUnmounted(() => {
.order-item-info {
flex: 1;
box-sizing: border-box;
padding-left: 12px;
padding-left: 0.75rem;
display: flex;
flex-direction: column;
justify-content: space-between;
@ -278,7 +278,7 @@ onUnmounted(() => {
bottom: 0;
left: 0;
width: 100%;
box-shadow: 0 -1px 10px #eee;
box-shadow: 0 -1px 0.625rem #eee;
.order-total {
height: 2.5rem;
@ -300,6 +300,7 @@ onUnmounted(() => {
.update-price {
.btn {
border-radius: 3rem;
font-size: 1rem;
}
}
}

View File

@ -70,7 +70,7 @@ onUnmounted(() => {
<div class="flex">
<el-input
ref="priceRef"
style="flex: 3; margin: 10px; height: 2.5rem"
style="flex: 3; margin: 0.625rem; height: 2.5rem"
v-model="priceInfo.nowPrice"
type="number"
placeholder="请输入改价后的价格"
@ -79,7 +79,7 @@ onUnmounted(() => {
<template #suffix></template>
</el-input>
<el-input
style="flex: 2; margin: 10px; height: 2.5rem"
style="flex: 2; margin: 0.625rem; height: 2.5rem"
v-model="priceInfo.percentage"
type="number"
placeholder="请输入比例"
@ -88,7 +88,7 @@ onUnmounted(() => {
<template #suffix>%</template>
</el-input>
</div>
<div style="margin: 10px; padding-bottom: 40px">
<div style="margin: 0.625rem; padding-bottom: 40px">
改价后金额:
<span style="color: #f5222d; font-weight: bold; margin-left: 1rem"
>¥{{ priceInfo.nowPrice || allPrice || " - - " }}</span

View File

@ -94,7 +94,7 @@ onUnmounted(() => {
:infinite-scroll-immediate="false"
style="overflow: auto"
>
<el-space wrap :size="20">
<el-space wrap>
<div
class="shop-item"
v-for="(item, index) in storeList"
@ -175,11 +175,11 @@ onUnmounted(() => {
}
.shop-list {
height: calc(100vh - 100px - 3.1rem);
height: calc(100vh - 9.75rem);
width: auto;
overflow-y: auto;
box-sizing: border-box;
padding-top: 20px;
padding-top: 1rem;
.shop-item {
width: 11rem;
@ -213,7 +213,7 @@ onUnmounted(() => {
color: #f5222d;
span {
font-size: 1.2rem;
margin-left: 3px;
margin-left: 0.187rem;
}
}

View File

@ -342,7 +342,7 @@ const getOrderStatus = (id) => {
bottom: 0;
left: 0;
width: 100%;
box-shadow: 0 -1px 10px #eee;
box-shadow: 0 -1px 0.625rem #eee;
display: flex;
justify-content: space-between;
align-items: center;

View File

@ -130,7 +130,7 @@ onMounted(()=>{
style="
background-color: #1890ff;
color: #fff;
border-radius: 0 5px 5px 0;
border-radius: 0 0.315rem 0.315rem 0;
"
@click="getOrderList(true)"
>搜索</el-button
@ -270,7 +270,7 @@ onMounted(()=>{
margin-right: 0.2rem;
border: 1px solid #2ec479;
color: #2ec479;
border-radius: 3px;
border-radius: 0.187rem;
}
}
.cahier2 {
@ -282,7 +282,7 @@ onMounted(()=>{
margin-right: 0.2rem;
border: 1px solid #ff4a00;
color: #ff4a00;
border-radius: 3px;
border-radius: 0.187rem;
}
}
.create-time {

View File

@ -21,19 +21,19 @@ import { ref, nextTick } from "vue";
}
/* 修改滚动条的样式 */
::-webkit-scrollbar {
width: 5px; /* 设置滚动条的宽度 */
width: 0.315rem; /* 设置滚动条的宽度 */
}
/* 设置滚动条的轨道样式 */
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* 设置轨道的背景色 */
/* margin: 20px 0; */
/* margin: 1.25rem 0; */
}
/* 设置滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
background-color: #ccc; /* 设置滑块的背景色 */
border-radius: 5px; /* 设置滑块的圆角 */
border-radius: 0.315rem; /* 设置滑块的圆角 */
}
/* 设置滚动条鼠标悬停时的滑块样式 */

View File

@ -145,10 +145,10 @@ const currentChange = (e) => {
/* overflow-y: scroll; */
.from {
width: 100%;
padding-bottom: 20px;
padding-bottom: 1.25rem;
display: grid;
grid-template-columns: repeat(5, 1fr); /* 六列 */
gap: 20px; /* 列间距 */
gap: 1.25rem; /* 列间距 */
.form-card {
border-radius: 0.8rem;
@ -183,19 +183,19 @@ const currentChange = (e) => {
}
/* 修改滚动条的样式 */
::-webkit-scrollbar {
width: 5px; /* 设置滚动条的宽度 */
width: 0.315rem; /* 设置滚动条的宽度 */
}
/* 设置滚动条的轨道样式 */
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* 设置轨道的背景色 */
margin: 20px 0;
margin: 1.25rem 0;
}
/* 设置滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
background-color: #ccc; /* 设置滑块的背景色 */
border-radius: 5px; /* 设置滑块的圆角 */
border-radius: 0.315rem; /* 设置滑块的圆角 */
}
/* 设置滚动条鼠标悬停时的滑块样式 */

View File

@ -216,19 +216,19 @@ const goHome = ()=>{
}
/* 修改滚动条的样式 */
::-webkit-scrollbar {
width: 5px; /* 设置滚动条的宽度 */
width: 0.315rem; /* 设置滚动条的宽度 */
}
/* 设置滚动条的轨道样式 */
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* 设置轨道的背景色 */
margin: 20px 0;
margin: 1.25rem 0;
}
/* 设置滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
background-color: #ccc; /* 设置滑块的背景色 */
border-radius: 5px; /* 设置滑块的圆角 */
border-radius: 0.315rem; /* 设置滑块的圆角 */
}
/* 设置滚动条鼠标悬停时的滑块样式 */

View File

@ -21,19 +21,19 @@ import { ref, nextTick } from "vue";
}
/* 修改滚动条的样式 */
::-webkit-scrollbar {
width: 5px; /* 设置滚动条的宽度 */
width: 0.315rem; /* 设置滚动条的宽度 */
}
/* 设置滚动条的轨道样式 */
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* 设置轨道的背景色 */
/* margin: 20px 0; */
/* margin: 1.25rem 0; */
}
/* 设置滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
background-color: #ccc; /* 设置滑块的背景色 */
border-radius: 5px; /* 设置滑块的圆角 */
border-radius: 0.315rem; /* 设置滑块的圆角 */
}
/* 设置滚动条鼠标悬停时的滑块样式 */

View File

@ -194,11 +194,11 @@ onUnmounted(() => {
>
</div>
</div>
<div class="update-price">
<!-- <div class="update-price">
<el-button class="btn" type="primary" @click="showPrice"
>改价 (Insert)</el-button
>
</div>
</div> -->
</div>
<div class="order-btn">
<el-button
@ -256,7 +256,7 @@ onUnmounted(() => {
.order-item-info {
flex: 1;
box-sizing: border-box;
padding-left: 12px;
padding-left: 0.75rem;
display: flex;
flex-direction: column;
justify-content: space-between;
@ -290,7 +290,7 @@ onUnmounted(() => {
bottom: 0;
left: 0;
width: 100%;
box-shadow: 0 -1px 10px #eee;
box-shadow: 0 -1px 0.625rem #eee;
.order-total {
height: 2.5rem;

View File

@ -70,7 +70,7 @@ onUnmounted(() => {
<div class="flex">
<el-input
ref="priceRef"
style="flex: 3; margin: 10px; height: 2.5rem"
style="flex: 3; margin: 0.625rem; height: 2.5rem"
v-model="priceInfo.nowPrice"
type="number"
placeholder="请输入改价后的价格"
@ -79,7 +79,7 @@ onUnmounted(() => {
<template #suffix></template>
</el-input>
<el-input
style="flex: 2; margin: 10px; height: 2.5rem"
style="flex: 2; margin: 0.625rem; height: 2.5rem"
v-model="priceInfo.percentage"
type="number"
placeholder="请输入比例"
@ -88,7 +88,7 @@ onUnmounted(() => {
<template #suffix>%</template>
</el-input>
</div>
<div style="margin: 10px; padding-bottom: 40px">
<div style="margin: 0.625rem; padding-bottom: 40px">
改价后金额:
<span style="color: #f5222d; font-weight: bold; margin-left: 1rem"
>¥{{ priceInfo.nowPrice || allPrice || " - - " }}</span

View File

@ -94,7 +94,7 @@ onUnmounted(() => {
:infinite-scroll-immediate="false"
style="overflow: auto"
>
<el-space wrap :size="20">
<el-space wrap>
<div
class="shop-item"
v-for="(item, index) in storeList"
@ -175,11 +175,11 @@ onUnmounted(() => {
}
.shop-list {
height: calc(100vh - 100px - 3.1rem);
height: calc(100vh - 9.75rem);
width: auto;
overflow-y: auto;
box-sizing: border-box;
padding-top: 20px;
padding-top: 1.25rem;
.shop-item {
width: 11rem;
@ -213,7 +213,7 @@ onUnmounted(() => {
color: #f5222d;
span {
font-size: 1.2rem;
margin-left: 3px;
margin-left: 0.187rem;
}
}

View File

@ -180,19 +180,19 @@ onUnmounted(() => {
}
/* 修改滚动条的样式 */
::-webkit-scrollbar {
width: 5px; /* 设置滚动条的宽度 */
width: 0.315rem; /* 设置滚动条的宽度 */
}
/* 设置滚动条的轨道样式 */
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* 设置轨道的背景色 */
margin: 20px 0;
margin: 1.25rem 0;
}
/* 设置滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
background-color: #ccc; /* 设置滑块的背景色 */
border-radius: 5px; /* 设置滑块的圆角 */
border-radius: 0.315rem; /* 设置滑块的圆角 */
}
/* 设置滚动条鼠标悬停时的滑块样式 */

View File

@ -342,7 +342,7 @@ const getOrderStatus = (id) => {
bottom: 0;
left: 0;
width: 100%;
box-shadow: 0 -1px 10px #eee;
box-shadow: 0 -1px 0.625rem #eee;
display: flex;
justify-content: space-between;
align-items: center;

View File

@ -42,7 +42,7 @@ const changeDate = ()=>{
const where = ref({
page: 1,
limit: 20,
search_info: "",
store_name: "",
date: "",
staff_id: 0,
sale_type: 2
@ -103,7 +103,7 @@ onMounted(()=>{
@change="changeTabPosition"
size="small"
>
<el-radio-button :value="1">全部</el-radio-button>
<el-radio-button :value="1">已支付</el-radio-button>
<el-radio-button :value="2">未支付</el-radio-button>
</el-radio-group>
<el-date-picker
@ -120,7 +120,7 @@ onMounted(()=>{
</div>
<div class="header-input">
<el-input
v-model="where.search_info"
v-model="where.store_name"
placeholder="请输入订单编号"
@keydown.enter="getOrderList(true)"
@clear="getOrderList(true)"
@ -132,7 +132,7 @@ onMounted(()=>{
style="
background-color: #1890ff;
color: #fff;
border-radius: 0 5px 5px 0;
border-radius: 0 0.315rem 0.315rem 0;
"
@click="getOrderList(true)"
>搜索</el-button
@ -272,7 +272,7 @@ onMounted(()=>{
margin-right: 0.2rem;
border: 1px solid #2ec479;
color: #2ec479;
border-radius: 3px;
border-radius: 0.187rem;
}
}
.cahier2 {
@ -284,7 +284,7 @@ onMounted(()=>{
margin-right: 0.2rem;
border: 1px solid #ff4a00;
color: #ff4a00;
border-radius: 3px;
border-radius: 0.187rem;
}
}
.create-time {

View File

@ -21,19 +21,19 @@ import { ref, nextTick } from "vue";
}
/* 修改滚动条的样式 */
::-webkit-scrollbar {
width: 5px; /* 设置滚动条的宽度 */
width: 0.315rem; /* 设置滚动条的宽度 */
}
/* 设置滚动条的轨道样式 */
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* 设置轨道的背景色 */
/* margin: 20px 0; */
/* margin: 1.25rem 0; */
}
/* 设置滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
background-color: #ccc; /* 设置滑块的背景色 */
border-radius: 5px; /* 设置滑块的圆角 */
border-radius: 0.315rem; /* 设置滑块的圆角 */
}
/* 设置滚动条鼠标悬停时的滑块样式 */

View File

@ -145,10 +145,10 @@ const currentChange = (e) => {
/* overflow-y: scroll; */
.from {
width: 100%;
padding-bottom: 20px;
padding-bottom: 1.25rem;
display: grid;
grid-template-columns: repeat(5, 1fr); /* 六列 */
gap: 20px; /* 列间距 */
gap: 1.25rem; /* 列间距 */
.form-card {
border-radius: 0.8rem;
@ -183,19 +183,19 @@ const currentChange = (e) => {
}
/* 修改滚动条的样式 */
::-webkit-scrollbar {
width: 5px; /* 设置滚动条的宽度 */
width: 0.315rem; /* 设置滚动条的宽度 */
}
/* 设置滚动条的轨道样式 */
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* 设置轨道的背景色 */
margin: 20px 0;
margin: 1.25rem 0;
}
/* 设置滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
background-color: #ccc; /* 设置滑块的背景色 */
border-radius: 5px; /* 设置滑块的圆角 */
border-radius: 0.315rem; /* 设置滑块的圆角 */
}
/* 设置滚动条鼠标悬停时的滑块样式 */

View File

@ -216,19 +216,19 @@ const goHome = ()=>{
}
/* 修改滚动条的样式 */
::-webkit-scrollbar {
width: 5px; /* 设置滚动条的宽度 */
width: 0.315rem; /* 设置滚动条的宽度 */
}
/* 设置滚动条的轨道样式 */
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* 设置轨道的背景色 */
margin: 20px 0;
margin: 1.25rem 0;
}
/* 设置滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
background-color: #ccc; /* 设置滑块的背景色 */
border-radius: 5px; /* 设置滑块的圆角 */
border-radius: 0.315rem; /* 设置滑块的圆角 */
}
/* 设置滚动条鼠标悬停时的滑块样式 */

View File

@ -21,19 +21,19 @@ import { ref, nextTick } from "vue";
}
/* 修改滚动条的样式 */
::-webkit-scrollbar {
width: 5px; /* 设置滚动条的宽度 */
width: 0.315rem; /* 设置滚动条的宽度 */
}
/* 设置滚动条的轨道样式 */
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* 设置轨道的背景色 */
/* margin: 20px 0; */
/* margin: 1.25rem 0; */
}
/* 设置滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
background-color: #ccc; /* 设置滑块的背景色 */
border-radius: 5px; /* 设置滑块的圆角 */
border-radius: 0.315rem; /* 设置滑块的圆角 */
}
/* 设置滚动条鼠标悬停时的滑块样式 */

View File

@ -146,7 +146,7 @@ const showAdd = (type='add', data)=>{
<template #default="scope">
<el-image
loading="lazy"
style="width: 60px; height: 60px"
style="width: 3.75rem; height: 3.75rem;"
:src="scope.row.image"
></el-image>
</template>
@ -256,19 +256,19 @@ const showAdd = (type='add', data)=>{
}
/* 修改滚动条的样式 */
::-webkit-scrollbar {
width: 5px; /* 设置滚动条的宽度 */
width: 0.315rem; /* 设置滚动条的宽度 */
}
/* 设置滚动条的轨道样式 */
::-webkit-scrollbar-track {
background-color: #f1f1f1; /* 设置轨道的背景色 */
margin: 20px 0;
margin: 1.25rem 0;
}
/* 设置滚动条的滑块样式 */
::-webkit-scrollbar-thumb {
background-color: #ccc; /* 设置滑块的背景色 */
border-radius: 5px; /* 设置滑块的圆角 */
border-radius: 0.315rem; /* 设置滑块的圆角 */
}
/* 设置滚动条鼠标悬停时的滑块样式 */