Compare commits

..

3 Commits

Author SHA1 Message Date
mixtan
7b8c3179fb build: 版本更新 2025-06-19 12:56:00 +08:00
mixtan
7c7dcc2480 update: 修复缓存登录态存储问题 2025-06-19 12:53:39 +08:00
mixtan
de1a73ce47 update: 处理弱网环境请求慢异常加载问题 2025-06-19 11:35:40 +08:00
25 changed files with 111 additions and 77 deletions

2
dist/index.html vendored
View File

@ -7,7 +7,7 @@
<meta name="description" content="小发同城官网是小发电商官方商家入驻平台的登录入口,提供了一站式的商家开店服务,在这里,商家可以轻松地注册账号、创建店铺、处理订单等。小发官网致力于为广大商家提供高效便捷的电商运营解决方案,助力商家实现商业成功,和小发合作,一起更好。"/>
<meta name="keywords" content="小发同城电商,小发电商官网,小发同城超市好货,小发线上电商,小发线上超市,小发同城电商,小发本地团购,小发本地商家,小发社区好物,小发商家精选,小发电商招商,小发电商入驻,小发供应商,小发代理商,小发好货,小发好货官网。"/>
<title>小发同城官网 - 小发旗下本地sass电商品牌,品类多,价格低。精选好货,省心省钱!</title>
<script type="module" crossorigin src="/static/js/index-DR27ikIn.js"></script>
<script type="module" crossorigin src="/static/js/index-DDVLVyDd.js"></script>
<link rel="modulepreload" crossorigin href="/static/js/element-plus-AsKvoHIC.js">
<link rel="stylesheet" crossorigin href="/static/css/element-plus-pyN3dgBK.css">
<link rel="stylesheet" crossorigin href="/static/css/index-V8C9L1Be.css">

View File

@ -1 +1 @@
.header[data-v-cec0167d]{height:70px;width:100%;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;background-color:#fff;box-shadow:0 1px 6px #0000001a}.header-menu[data-v-cec0167d]{flex:1;display:flex}.header-menu li[data-v-cec0167d]{margin:0 20px;list-style:none;position:relative;color:#333}.header-menu li span[data-v-cec0167d]{font-size:16px}.header-menu li:hover span[data-v-cec0167d]{color:var(--bgcolor)}.header-menu li[data-v-cec0167d]:before{content:"";position:absolute;bottom:0;left:50%;width:0;height:100%;border-bottom:3px solid var(--bgcolor);transition:all .2s}.header-menu li[data-v-cec0167d]:hover:before{content:"";left:0;width:100%}.header-menu .router-link-active li[data-v-cec0167d]:before{content:"";left:0;width:100%}.header-menu .router-link-active span[data-v-cec0167d]{color:var(--bgcolor)}.header-menu a[data-v-cec0167d]{text-decoration:none;color:inherit}.logo[data-v-cec0167d]{margin-right:20px}.logo img[data-v-cec0167d]{height:40px}.icon_avatar[data-v-cec0167d]{width:32px;height:32px;display:flex;justify-content:center;align-items:center;background:#eee;border-radius:100%}.start[data-v-cec0167d]{display:flex;justify-content:flex-end;align-items:center;margin-right:5px}.avatar[data-v-cec0167d]{display:flex;justify-content:flex-end;align-items:center}.header_right[data-v-cec0167d]{display:flex;justify-content:flex-end;align-items:center;gap:20px}.sub_menu[data-v-cec0167d]{display:none;cursor:pointer}@media (max-width: 768px){.logo img[data-v-cec0167d]{height:28px}.header[data-v-cec0167d]{padding:0 10px}.header_right[data-v-cec0167d]{gap:5px}.header-menu[data-v-cec0167d],.start[data-v-cec0167d]{display:none}.sub_menu[data-v-cec0167d]{display:block}}.footer[data-v-83e55058]{background:#000b22;padding:20px;color:#999;font-size:14px}.footer a[data-v-83e55058]{display:inline-block;margin:0 5px;color:#999}.footer a[data-v-83e55058]:hover{color:#fff}.foot_menu[data-v-83e55058]{width:1200px;margin:auto}.col1[data-v-83e55058]{display:flex;align-items:center;justify-content:center}.logo_text img[data-v-83e55058]{width:48px;border-radius:10px}.copyright[data-v-83e55058]{padding-top:10px;text-align:center}@media (max-width: 768px){.foot_menu[data-v-83e55058]{display:none}.copyright[data-v-83e55058]{width:100%}}.floating-menu[data-v-e76d56f8]{position:fixed;right:5px;bottom:20%;padding:10px;z-index:1000}.floating-menu .menu-item[data-v-e76d56f8]{display:block;margin:5px 0;padding:8px 15px;border:none;border-radius:3px;background-color:#007bff;color:#fff;cursor:pointer;transition:background-color .3s ease}.floating-menu .menu-item[data-v-e76d56f8]:hover{background-color:#0056b3}.floating-menu .menu-item-wrapper[data-v-e76d56f8]{position:relative}.floating-menu .phone-popup[data-v-e76d56f8]{position:absolute;background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #0003;border-radius:5px;top:50%;left:-180px;transform:translateY(-50%);z-index:1001}.floating-menu .phone-popup-content[data-v-e76d56f8]{display:flex;flex-direction:column;padding:10px;justify-content:center;align-items:center}.floating-menu .phone-popup-content .code img[data-v-e76d56f8]{width:70px;height:70px}.floating-menu-mobile[data-v-e76d56f8]{position:fixed;right:5px;bottom:20%;padding:10px;z-index:1000;background:#fff;border-radius:10px;box-shadow:0 1px 10px #0003}.floating-menu-mobile .customer-serve[data-v-e76d56f8]{width:30px;height:30px;display:block;margin-bottom:10px}.floating-menu-mobile .customer-serve i[data-v-e76d56f8]{font-size:30px}.floating-menu-mobile .customer-serve .phone-popup[data-v-e76d56f8]{position:absolute;background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #0003;border-radius:5px;top:50%;left:-180px;transform:translateY(-50%);z-index:1001}.floating-menu-mobile .customer-serve .phone-popup-content[data-v-e76d56f8]{display:flex;flex-direction:column;padding:10px;justify-content:center;align-items:center}.floating-menu-mobile .customer-serve .phone-popup-content .code img[data-v-e76d56f8]{width:70px;height:70px}.floating-menu-mobile .feedback[data-v-e76d56f8]{width:30px;height:30px;display:block;margin-bottom:10px}.floating-menu-mobile .feedback i[data-v-e76d56f8]{font-size:30px}.floating-menu-mobile .backToTop[data-v-e76d56f8]{width:30px;height:30px;display:none}.floating-menu-mobile .backToTop i[data-v-e76d56f8]{font-size:30px}
.header[data-v-b304fc4b]{height:70px;width:100%;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;background-color:#fff;box-shadow:0 1px 6px #0000001a}.header-menu[data-v-b304fc4b]{flex:1;display:flex}.header-menu li[data-v-b304fc4b]{margin:0 20px;list-style:none;position:relative;color:#333}.header-menu li span[data-v-b304fc4b]{font-size:16px}.header-menu li:hover span[data-v-b304fc4b]{color:var(--bgcolor)}.header-menu li[data-v-b304fc4b]:before{content:"";position:absolute;bottom:0;left:50%;width:0;height:100%;border-bottom:3px solid var(--bgcolor);transition:all .2s}.header-menu li[data-v-b304fc4b]:hover:before{content:"";left:0;width:100%}.header-menu .router-link-active li[data-v-b304fc4b]:before{content:"";left:0;width:100%}.header-menu .router-link-active span[data-v-b304fc4b]{color:var(--bgcolor)}.header-menu a[data-v-b304fc4b]{text-decoration:none;color:inherit}.logo[data-v-b304fc4b]{margin-right:20px}.logo img[data-v-b304fc4b]{height:40px}.icon_avatar[data-v-b304fc4b]{width:32px;height:32px;display:flex;justify-content:center;align-items:center;background:#eee;border-radius:100%}.start[data-v-b304fc4b]{display:flex;justify-content:flex-end;align-items:center;margin-right:5px}.avatar[data-v-b304fc4b]{display:flex;justify-content:flex-end;align-items:center}.header_right[data-v-b304fc4b]{display:flex;justify-content:flex-end;align-items:center;gap:20px}.sub_menu[data-v-b304fc4b]{display:none;cursor:pointer}@media (max-width: 768px){.logo img[data-v-b304fc4b]{height:28px}.header[data-v-b304fc4b]{padding:0 10px}.header_right[data-v-b304fc4b]{gap:5px}.header-menu[data-v-b304fc4b],.start[data-v-b304fc4b]{display:none}.sub_menu[data-v-b304fc4b]{display:block}}.footer[data-v-83e55058]{background:#000b22;padding:20px;color:#999;font-size:14px}.footer a[data-v-83e55058]{display:inline-block;margin:0 5px;color:#999}.footer a[data-v-83e55058]:hover{color:#fff}.foot_menu[data-v-83e55058]{width:1200px;margin:auto}.col1[data-v-83e55058]{display:flex;align-items:center;justify-content:center}.logo_text img[data-v-83e55058]{width:48px;border-radius:10px}.copyright[data-v-83e55058]{padding-top:10px;text-align:center}@media (max-width: 768px){.foot_menu[data-v-83e55058]{display:none}.copyright[data-v-83e55058]{width:100%}}.floating-menu[data-v-e76d56f8]{position:fixed;right:5px;bottom:20%;padding:10px;z-index:1000}.floating-menu .menu-item[data-v-e76d56f8]{display:block;margin:5px 0;padding:8px 15px;border:none;border-radius:3px;background-color:#007bff;color:#fff;cursor:pointer;transition:background-color .3s ease}.floating-menu .menu-item[data-v-e76d56f8]:hover{background-color:#0056b3}.floating-menu .menu-item-wrapper[data-v-e76d56f8]{position:relative}.floating-menu .phone-popup[data-v-e76d56f8]{position:absolute;background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #0003;border-radius:5px;top:50%;left:-180px;transform:translateY(-50%);z-index:1001}.floating-menu .phone-popup-content[data-v-e76d56f8]{display:flex;flex-direction:column;padding:10px;justify-content:center;align-items:center}.floating-menu .phone-popup-content .code img[data-v-e76d56f8]{width:70px;height:70px}.floating-menu-mobile[data-v-e76d56f8]{position:fixed;right:5px;bottom:20%;padding:10px;z-index:1000;background:#fff;border-radius:10px;box-shadow:0 1px 10px #0003}.floating-menu-mobile .customer-serve[data-v-e76d56f8]{width:30px;height:30px;display:block;margin-bottom:10px}.floating-menu-mobile .customer-serve i[data-v-e76d56f8]{font-size:30px}.floating-menu-mobile .customer-serve .phone-popup[data-v-e76d56f8]{position:absolute;background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #0003;border-radius:5px;top:50%;left:-180px;transform:translateY(-50%);z-index:1001}.floating-menu-mobile .customer-serve .phone-popup-content[data-v-e76d56f8]{display:flex;flex-direction:column;padding:10px;justify-content:center;align-items:center}.floating-menu-mobile .customer-serve .phone-popup-content .code img[data-v-e76d56f8]{width:70px;height:70px}.floating-menu-mobile .feedback[data-v-e76d56f8]{width:30px;height:30px;display:block;margin-bottom:10px}.floating-menu-mobile .feedback i[data-v-e76d56f8]{font-size:30px}.floating-menu-mobile .backToTop[data-v-e76d56f8]{width:30px;height:30px;display:none}.floating-menu-mobile .backToTop i[data-v-e76d56f8]{font-size:30px}

View File

@ -1 +0,0 @@
[data-v-bf8cc1f0] .el-upload--picture-card,[data-v-bf8cc1f0] .el-upload-list__item{width:96px;height:96px;text-align:center;flex-direction:column;color:#666;line-height:20px}.signUp-container[data-v-bf8cc1f0]{display:flex;padding-top:12px;flex-direction:column;align-items:center;justify-content:center;background:#eee}.signUp-container .tit[data-v-bf8cc1f0]{font-size:16px;margin-bottom:15px}.signUp-container .tit[data-v-bf8cc1f0] .el-result{padding:0}.signUp-container .steps-container[data-v-bf8cc1f0]{width:1000px;padding:15px;border-radius:5px;background:#fff;margin-bottom:12px}.signUp-container .steps-container.nodata[data-v-bf8cc1f0]{min-height:900px;display:flex;align-items:center;justify-content:center}.signUp-container[data-v-bf8cc1f0] .upload-hidden .el-upload--picture-card{display:none}.signUp-container .form-submit[data-v-bf8cc1f0]{width:1000px;padding:15px;border-radius:5px;background:#fff;margin-bottom:12px}.signUp-container .form-submit .from_box[data-v-bf8cc1f0]{padding:15px;margin:0 0 12px;border-radius:5px;background:#fff}.signUp-container .form-button[data-v-bf8cc1f0]{width:100%;text-align:center;padding:20px;background:#fff}.auto-item p[data-v-bf8cc1f0]{font-size:15px;font-weight:900}.auto-item span[data-v-bf8cc1f0]{font-size:10px}@media (max-width: 768px){.el-cascader-menu[data-v-bf8cc1f0]{width:120px;min-width:120px}.signUp-container .steps-container[data-v-bf8cc1f0],.signUp-container .form-submit[data-v-bf8cc1f0]{width:100%}}

1
dist/static/css/check-Tkaw9h5P.css vendored Normal file
View File

@ -0,0 +1 @@
[data-v-e163b4c6] .el-upload--picture-card,[data-v-e163b4c6] .el-upload-list__item{width:96px;height:96px;text-align:center;flex-direction:column;color:#666;line-height:20px}.signUp-container[data-v-e163b4c6]{display:flex;padding-top:12px;flex-direction:column;align-items:center;justify-content:center;background:#eee}.signUp-container .tit[data-v-e163b4c6]{font-size:16px;margin-bottom:15px}.signUp-container .tit[data-v-e163b4c6] .el-result{padding:0}.signUp-container .steps-container[data-v-e163b4c6]{width:1000px;padding:15px;border-radius:5px;background:#fff;margin-bottom:12px}.signUp-container .steps-container.nodata[data-v-e163b4c6]{min-height:900px;display:flex;align-items:center;justify-content:center}.signUp-container[data-v-e163b4c6] .upload-hidden .el-upload--picture-card{display:none}.signUp-container .form-submit[data-v-e163b4c6]{width:1000px;padding:15px;border-radius:5px;background:#fff;margin-bottom:12px}.signUp-container .form-submit .from_box[data-v-e163b4c6]{padding:15px;margin:0 0 12px;border-radius:5px;background:#fff}.signUp-container .form-button[data-v-e163b4c6]{width:100%;text-align:center;padding:20px;background:#fff}.auto-item p[data-v-e163b4c6]{font-size:15px;font-weight:900}.auto-item span[data-v-e163b4c6]{font-size:10px}@media (max-width: 768px){.el-cascader-menu[data-v-e163b4c6]{width:120px;min-width:120px}.signUp-container .steps-container[data-v-e163b4c6],.signUp-container .form-submit[data-v-e163b4c6]{width:100%}}

View File

@ -1 +1 @@
@charset "UTF-8";.slider[data-v-cf9de753]{width:100%;position:relative}.slider-container[data-v-cf9de753]{display:flex;width:100%;height:800px;margin:auto;align-items:center;justify-content:center;position:relative;overflow:hidden}.slider-container .bg[data-v-cf9de753]{left:50%;object-fit:contain;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:1}.slider-container .box[data-v-cf9de753]{width:1000px;margin:auto;height:800px;position:relative;z-index:2}.slider-container .box .sub[data-v-cf9de753]{position:absolute;top:58%;transform:translateY(58%);left:150px}.counter_wrapper[data-v-cf9de753]{position:relative;margin-top:-100px;z-index:12}.counter_wrapper .count_box[data-v-cf9de753]{width:100%;padding:15px 0;border-radius:10px;text-align:center;margin-bottom:40px;background:#fff;box-shadow:2px 2px 10px 1px #00000014;transition:.3s}.counter_wrapper .count_box i[data-v-cf9de753]:before{font-size:60px;color:#353535;transition:.3s}.counter_wrapper .count_box h3[data-v-cf9de753]{font-size:35px;font-weight:500;color:#353535;margin:15px 0;transition:.3s}.counter_wrapper .count_box p[data-v-cf9de753]{font-size:18px;font-weight:500;color:#353535;transition:.3s}.counter_wrapper .count_box:hover i[data-v-cf9de753]:before{color:#fff}.counter_wrapper .count_box:hover p[data-v-cf9de753],.counter_wrapper .count_box:hover .el-statistic__content[data-v-cf9de753]{color:#fff}.counter_wrapper .count_box[data-v-cf9de753]:hover{background:#f34d2c}.container[data-v-cf9de753]{width:100%;max-width:1200px;margin:auto}.container .el-row[data-v-cf9de753]{width:100%}.text[data-v-cf9de753]{display:none;color:#fff;margin-bottom:20px}.text h2[data-v-cf9de753]{font-size:55px}.text h3[data-v-cf9de753]{font-size:32px;margin-top:10px}.text p[data-v-cf9de753]{font-size:32px;margin-bottom:10px}@media (max-width: 768px){.text[data-v-cf9de753]{display:block}.bg[data-v-cf9de753]{display:none}.slider-container[data-v-cf9de753]{height:360px;background:linear-gradient(180deg,#f85535,#f76c50)}.slider-container .box[data-v-cf9de753]{width:100%;margin:auto;height:360px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column}.slider-container .box .sub[data-v-cf9de753]{position:initial;transform:none;text-align:center;width:100%}.slider-container .box .sub button[data-v-cf9de753]{margin-bottom:12px}.counter_wrapper[data-v-cf9de753]{margin-top:20px}.counter_wrapper .container[data-v-cf9de753]{display:flex;justify-content:center}}.banner-list{width:100%;max-width:1200px;margin:15px auto auto;position:relative}.banner-list .el-carousel__container{width:100%;padding-bottom:50%;position:relative}.banner-list .el-carousel__item{position:absolute;top:0;left:0;width:100%;height:100%}.banner-list .el-carousel__item img{width:100%;height:100%;object-fit:cover}.banner{padding-top:20px}.service-contain{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;padding-top:30px}.service-list{width:100%}.service-list ul{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;align-items:center;width:100%}.service-list ul li{list-style:none;width:30%;height:211.6px;padding:30px 20px;text-align:center;box-shadow:0 15px 25px #0000001a;border-radius:10px}.service-list ul li i:before{font-size:70px;color:#353535;transition:.3s}.service-list ul li h4{font-size:26px;font-weight:500;margin-top:10px;transition:.3s}.service-list ul li:hover{background:linear-gradient(90.54deg,#ec4b2b .42%,#f85535 102.71%)}.service-list ul li:hover i:before{color:#fff}.service-list ul li:hover h4{color:#fff}.service-list ul li:hover i:before p{color:#fff}.service-list{width:1200px;margin:15px 0}@media (max-width: 768px){.service-list{width:auto}}.router-link-button{padding:3px 5px;border:none;border-radius:4px;background-color:#ec4b2b;color:#fff;font-size:16px;text-align:center;text-decoration:none;cursor:pointer;transition:background-color .3s ease;margin-top:25px;float:right}.router-link-button:hover{background-color:#f85535}.company-introduce p{font-size:20px;text-indent:2em}.index-title{width:1200px;text-align:center;margin:auto}.index-title h3{font-size:40px}.index-title p{font-size:20px}.company-detail{display:flex;width:1200px;margin:15px auto 0}.company-detail img{width:100%;height:100%;object-fit:cover;padding-right:20px}.company-introduce{padding:20px 20px 0;letter-spacing:2px;line-height:34px}@media (max-width: 768px){.index-title,.company-detail{width:auto}}
@charset "UTF-8";.slider[data-v-c7eecadd]{width:100%;position:relative}.slider-container[data-v-c7eecadd]{display:flex;width:100%;height:800px;margin:auto;align-items:center;justify-content:center;position:relative;overflow:hidden}.slider-container .bg[data-v-c7eecadd]{left:50%;object-fit:contain;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:1}.slider-container .box[data-v-c7eecadd]{width:1000px;margin:auto;height:800px;position:relative;z-index:2}.slider-container .box .sub[data-v-c7eecadd]{position:absolute;top:58%;transform:translateY(58%);left:150px}.counter_wrapper[data-v-c7eecadd]{position:relative;margin-top:-100px;z-index:12}.counter_wrapper .count_box[data-v-c7eecadd]{width:100%;padding:15px 0;border-radius:10px;text-align:center;margin-bottom:40px;background:#fff;box-shadow:2px 2px 10px 1px #00000014;transition:.3s}.counter_wrapper .count_box i[data-v-c7eecadd]:before{font-size:60px;color:#353535;transition:.3s}.counter_wrapper .count_box h3[data-v-c7eecadd]{font-size:35px;font-weight:500;color:#353535;margin:15px 0;transition:.3s}.counter_wrapper .count_box p[data-v-c7eecadd]{font-size:18px;font-weight:500;color:#353535;transition:.3s}.counter_wrapper .count_box:hover i[data-v-c7eecadd]:before{color:#fff}.counter_wrapper .count_box:hover p[data-v-c7eecadd],.counter_wrapper .count_box:hover .el-statistic__content[data-v-c7eecadd]{color:#fff}.counter_wrapper .count_box[data-v-c7eecadd]:hover{background:#f34d2c}.container[data-v-c7eecadd]{width:100%;max-width:1200px;margin:auto}.container .el-row[data-v-c7eecadd]{width:100%}.text[data-v-c7eecadd]{display:none;color:#fff;margin-bottom:20px}.text h2[data-v-c7eecadd]{font-size:55px}.text h3[data-v-c7eecadd]{font-size:32px;margin-top:10px}.text p[data-v-c7eecadd]{font-size:32px;margin-bottom:10px}@media (max-width: 768px){.text[data-v-c7eecadd]{display:block}.bg[data-v-c7eecadd]{display:none}.slider-container[data-v-c7eecadd]{height:360px;background:linear-gradient(180deg,#f85535,#f76c50)}.slider-container .box[data-v-c7eecadd]{width:100%;margin:auto;height:360px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column}.slider-container .box .sub[data-v-c7eecadd]{position:initial;transform:none;text-align:center;width:100%}.slider-container .box .sub button[data-v-c7eecadd]{margin-bottom:12px}.counter_wrapper[data-v-c7eecadd]{margin-top:20px}.counter_wrapper .container[data-v-c7eecadd]{display:flex;justify-content:center}}.banner-list{width:100%;max-width:1200px;margin:15px auto auto;position:relative}.banner-list .el-carousel__container{width:100%;padding-bottom:50%;position:relative}.banner-list .el-carousel__item{position:absolute;top:0;left:0;width:100%;height:100%}.banner-list .el-carousel__item img{width:100%;height:100%;object-fit:cover}.banner{padding-top:20px}.service-contain{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;padding-top:30px}.service-list{width:100%}.service-list ul{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;align-items:center;width:100%}.service-list ul li{list-style:none;width:30%;height:211.6px;padding:30px 20px;text-align:center;box-shadow:0 15px 25px #0000001a;border-radius:10px}.service-list ul li i:before{font-size:70px;color:#353535;transition:.3s}.service-list ul li h4{font-size:26px;font-weight:500;margin-top:10px;transition:.3s}.service-list ul li:hover{background:linear-gradient(90.54deg,#ec4b2b .42%,#f85535 102.71%)}.service-list ul li:hover i:before{color:#fff}.service-list ul li:hover h4{color:#fff}.service-list ul li:hover i:before p{color:#fff}.service-list{width:1200px;margin:15px 0}@media (max-width: 768px){.service-list{width:auto}}.router-link-button{padding:3px 5px;border:none;border-radius:4px;background-color:#ec4b2b;color:#fff;font-size:16px;text-align:center;text-decoration:none;cursor:pointer;transition:background-color .3s ease;margin-top:25px;float:right}.router-link-button:hover{background-color:#f85535}.company-introduce p{font-size:20px;text-indent:2em}.index-title{width:1200px;text-align:center;margin:auto}.index-title h3{font-size:40px}.index-title p{font-size:20px}.company-detail{display:flex;width:1200px;margin:15px auto 0}.company-detail img{width:100%;height:100%;object-fit:cover;padding-right:20px}.company-introduce{padding:20px 20px 0;letter-spacing:2px;line-height:34px}@media (max-width: 768px){.index-title,.company-detail{width:auto}}

1
dist/static/css/start-D04RYMHN.css vendored Normal file
View File

@ -0,0 +1 @@
[data-v-dbe46851] .el-upload--picture-card,[data-v-dbe46851] .el-upload-list__item{width:96px;height:96px;text-align:center;flex-direction:column;color:#666;line-height:20px}.signUp-container[data-v-dbe46851]{display:flex;padding-top:12px;flex-direction:column;align-items:center;justify-content:center;background:#eee}.signUp-container .tit[data-v-dbe46851]{font-size:16px;margin-bottom:15px}.signUp-container .steps-container[data-v-dbe46851]{width:50%;padding:15px;border-radius:5px;background:#fff;margin-bottom:12px}.signUp-container[data-v-dbe46851] .upload-hidden .el-upload--picture-card{display:none}.signUp-container .form-submit[data-v-dbe46851]{width:50%}.signUp-container .form-submit[data-v-dbe46851] .el-form{max-width:100%!important}.signUp-container .form-submit .from_box[data-v-dbe46851]{width:100%;padding:15px;margin:0 0 12px;border-radius:5px;background:#fff}.signUp-container .form-button[data-v-dbe46851]{width:100%;text-align:center;padding:20px;background:#fff}.auto-item p[data-v-dbe46851]{font-size:15px;font-weight:900}.auto-item span[data-v-dbe46851]{font-size:10px}@media (max-width: 768px){.el-cascader-menu[data-v-dbe46851]{width:120px;min-width:120px}.signUp-container .steps-container[data-v-dbe46851],.signUp-container .form-submit[data-v-dbe46851]{width:100%}}

View File

@ -1 +0,0 @@
[data-v-6233bd3a] .el-upload--picture-card,[data-v-6233bd3a] .el-upload-list__item{width:96px;height:96px;text-align:center;flex-direction:column;color:#666;line-height:20px}.signUp-container[data-v-6233bd3a]{display:flex;padding-top:12px;flex-direction:column;align-items:center;justify-content:center;background:#eee}.signUp-container .tit[data-v-6233bd3a]{font-size:16px;margin-bottom:15px}.signUp-container .steps-container[data-v-6233bd3a]{width:50%;padding:15px;border-radius:5px;background:#fff;margin-bottom:12px}.signUp-container[data-v-6233bd3a] .upload-hidden .el-upload--picture-card{display:none}.signUp-container .form-submit[data-v-6233bd3a]{width:50%}.signUp-container .form-submit[data-v-6233bd3a] .el-form{max-width:100%!important}.signUp-container .form-submit .from_box[data-v-6233bd3a]{width:100%;padding:15px;margin:0 0 12px;border-radius:5px;background:#fff}.signUp-container .form-button[data-v-6233bd3a]{width:100%;text-align:center;padding:20px;background:#fff}.auto-item p[data-v-6233bd3a]{font-size:15px;font-weight:900}.auto-item span[data-v-6233bd3a]{font-size:10px}@media (max-width: 768px){.el-cascader-menu[data-v-6233bd3a]{width:120px;min-width:120px}.signUp-container .steps-container[data-v-6233bd3a],.signUp-container .form-submit[data-v-6233bd3a]{width:100%}}

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 +1 @@
import{H as c,v as _,B as e,y as o,K as l,P as u,ag as i}from"./element-plus-AsKvoHIC.js";import{u as p}from"./index-DR27ikIn.js";import{_ as m}from"./_plugin-vue_export-helper-DlAUqK2U.js";const d={class:"mycontainer"},f={__name:"PageNotFound",setup(x){const a=p(),s=()=>{a.replace("/index")};return(g,t)=>{const n=l,r=i;return _(),c("div",d,[e(r,{icon:"warning",title:"404请求资源不存在","sub-title":"抱歉!未找到页面"},{extra:o(()=>[e(n,{type:"primary",onClick:s},{default:o(()=>t[0]||(t[0]=[u("返回首页")])),_:1})]),_:1})])}}},P=m(f,[["__scopeId","data-v-56a57e43"]]);export{P as default};
import{H as c,v as _,B as e,y as o,K as l,P as u,ag as i}from"./element-plus-AsKvoHIC.js";import{u as p}from"./index-DDVLVyDd.js";import{_ as m}from"./_plugin-vue_export-helper-DlAUqK2U.js";const d={class:"mycontainer"},f={__name:"PageNotFound",setup(x){const a=p(),s=()=>{a.replace("/index")};return(g,t)=>{const n=l,r=i;return _(),c("div",d,[e(r,{icon:"warning",title:"404请求资源不存在","sub-title":"抱歉!未找到页面"},{extra:o(()=>[e(n,{type:"primary",onClick:s},{default:o(()=>t[0]||(t[0]=[u("返回首页")])),_:1})]),_:1})])}}},P=m(f,[["__scopeId","data-v-56a57e43"]]);export{P as default};

File diff suppressed because one or more lines are too long

1
dist/static/js/check-Ce50F7A0.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/static/js/index-D7IBuzbo.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

1
dist/static/js/login-CcrhWFxQ.js vendored Normal file
View File

@ -0,0 +1 @@
import{d as g}from"./index-DDVLVyDd.js";import{r as s,G as d}from"./element-plus-AsKvoHIC.js";import{s as a}from"./http-BM7ZymMx.js";const y=g("user",()=>{const r=s(localStorage.getItem("token")||""),o=s(!1),t=s(localStorage.getItem("mobilePhone")||""),e=n=>{r.value=n,o.value=!0;const p=Date.now()+31536e3*1e3;localStorage.setItem("token",n),localStorage.setItem("tokenExpiry",p.toString())},i=n=>{t.value=n,localStorage.setItem("mobilePhone",n)},l=()=>{localStorage.removeItem("mobilePhone")},c=()=>{try{r.value="",o.value=!1,localStorage.removeItem("userInfo"),localStorage.removeItem("token"),localStorage.removeItem("tokenExpiry")}catch(n){console.error("Error clearing token from localStorage:",n)}},m=()=>{try{const n=localStorage.getItem("tokenExpiry");return n?Date.now()>parseInt(n,10):!0}catch(n){return console.error("Error checking token expiry:",n),!0}},u=n=>{localStorage.setItem("Identity",n)},h=()=>{localStorage.removeItem("Identity")};return d(()=>{try{const n=localStorage.getItem("token");n&&!m()?(r.value=n,o.value=!0):c()}catch(n){console.error("Error retrieving token from localStorage:",n)}}),{token:r,isLoggedIn:o,mobilePhone:t,setToken:e,clearToken:c,setMobilePhone:i,removeMobilePhone:l,setIdentity:u,removeIdentity:h}});function S(r){return r.isFilter=!0,new Promise((o,t)=>{a({url:"/api/mobile/account/login/doMerchSmsRegisterAndLogin",method:"post",data:r}).then(e=>{o(e)}).catch(e=>t(console.warn(e)))})}function v(r){return r.isFilter=!0,new Promise((o,t)=>{a({url:"/api/mobile/account/login/sendVerifyCode",method:"post",data:r}).then(e=>{o(e)}).catch(e=>t(console.warn(e)))})}function I(){return new Promise((r,o)=>{a({url:"/api/mobile/shop/shop-base-store-category/list",method:"post"}).then(t=>{r(t)}).catch(t=>o(console.warn(t)))})}function k(r){return r.map(o=>({value:o.store_category_id,label:o.store_category_name,children:o.children?[{value:o.store_category_id,label:`${o.store_category_name} 分割比例(${o.split_ratio}%)`},...o.children.map(t=>({value:t.store_category_id,label:`${t.store_category_name} 分割比例(${t.split_ratio}%)`}))]:[]}))}function P(r){return r.isFilter=!0,new Promise((o,t)=>{a({url:"/api/mobile/shop/merch/baidu/place/v2/suggestion",method:"get",params:r}).then(e=>{o(e)}).catch(e=>t(console.warn(e)))})}function _(r){return new Promise((o,t)=>{a({url:"/api/mobile/shop/lakala/tk/bank/search",method:"post",data:r}).then(e=>{o(e)}).catch(e=>t(console.warn(e)))})}function G(r){return new Promise((o,t)=>{a({url:"/api/mobile/shop/merch/apply",method:"post",data:r}).then(e=>{o(e)}).catch(e=>t(console.warn(e)))})}function x(){const r={mobile:localStorage.getItem("mobilePhone")};return new Promise((o,t)=>{a({url:"/api/mobile/shop/merch/fresh/approval/status",method:"post",data:r}).then(e=>{o(e)}).catch(e=>t(console.warn(e)))})}function E(r){return new Promise((o,t)=>{a({url:"/api/mobile/shop/merch/re-apply",method:"post",data:r}).then(e=>{o(e)}).catch(e=>t(console.warn(e)))})}function A(r){return new Promise((o,t)=>{a({url:"/api/mobile/shop/merch/detail",method:"post",data:r}).then(e=>{o(e)}).catch(e=>t(console.warn(e)))})}function T(r){return new Promise((o,t)=>{a({url:"/api/admin/account/account-user-base/doLogin",method:"post",params:r}).then(e=>{o(e)}).catch(e=>t(console.warn(e)))})}function C(r){return new Promise((o,t)=>{a({url:"/api/admin/shop/shop-base-config/image",method:"GET",params:r}).then(e=>{o(e)}).catch(e=>t(console.warn(e)))})}function L(){return new Promise((r,o)=>{a({url:"/api/mobile/shop/shop-base-district/getAppDistrict",method:"get"}).then(t=>{r(t)}).catch(t=>o(console.warn(t)))})}export{I as G,L as a,_ as b,P as c,A as d,T as e,C as f,x as g,S as h,v as i,G as m,E as r,k as t,y as u};

View File

@ -1 +0,0 @@
import{d as p}from"./index-DR27ikIn.js";import{r as c,G as g}from"./element-plus-AsKvoHIC.js";import{s as a}from"./http-BM7ZymMx.js";const y=p("user",()=>{const t=c(""),o=c(!1),r=n=>{t.value=n,o.value=!0;const h=Date.now()+31536e3*1e3;localStorage.setItem("token",n),localStorage.setItem("tokenExpiry",h.toString())},e=n=>{localStorage.setItem("mobilePhone",n)},i=()=>{localStorage.removeItem("mobilePhone")},s=()=>{try{t.value="",o.value=!1,localStorage.removeItem("token"),localStorage.removeItem("tokenExpiry")}catch(n){console.error("Error clearing token from localStorage:",n)}},l=()=>{try{const n=localStorage.getItem("tokenExpiry");return n?Date.now()>parseInt(n,10):!0}catch(n){return console.error("Error checking token expiry:",n),!0}},m=n=>{localStorage.setItem("Identity",n)},u=()=>{localStorage.removeItem("Identity")};return g(()=>{try{const n=localStorage.getItem("token");n&&!l()?(t.value=n,o.value=!0):s()}catch(n){console.error("Error retrieving token from localStorage:",n)}}),{token:t,isLoggedIn:o,setToken:r,clearToken:s,setMobilePhone:e,removeMobilePhone:i,setIdentity:m,removeIdentity:u}});function w(t){return t.isFilter=!0,new Promise((o,r)=>{a({url:"/api/mobile/account/login/doMerchSmsRegisterAndLogin",method:"post",data:t}).then(e=>{o(e)}).catch(e=>r(console.warn(e)))})}function v(t){return t.isFilter=!0,new Promise((o,r)=>{a({url:"/api/mobile/account/login/sendVerifyCode",method:"post",data:t}).then(e=>{o(e)}).catch(e=>r(console.warn(e)))})}function S(){return new Promise((t,o)=>{a({url:"/api/mobile/shop/shop-base-store-category/list",method:"post"}).then(r=>{t(r)}).catch(r=>o(console.warn(r)))})}function k(t){return t.map(o=>({value:o.store_category_id,label:o.store_category_name,children:o.children?[{value:o.store_category_id,label:`${o.store_category_name} 分割比例(${o.split_ratio}%)`},...o.children.map(r=>({value:r.store_category_id,label:`${r.store_category_name} 分割比例(${r.split_ratio}%)`}))]:[]}))}function I(t){return t.isFilter=!0,new Promise((o,r)=>{a({url:"/api/mobile/shop/merch/baidu/place/v2/suggestion",method:"get",params:t}).then(e=>{o(e)}).catch(e=>r(console.warn(e)))})}function P(t){return new Promise((o,r)=>{a({url:"/api/mobile/shop/lakala/tk/bank/search",method:"post",data:t}).then(e=>{o(e)}).catch(e=>r(console.warn(e)))})}function _(t){return new Promise((o,r)=>{a({url:"/api/mobile/shop/merch/apply",method:"post",data:t}).then(e=>{o(e)}).catch(e=>r(console.warn(e)))})}function G(){const t={mobile:localStorage.getItem("mobilePhone")};return new Promise((o,r)=>{a({url:"/api/mobile/shop/merch/fresh/approval/status",method:"post",data:t}).then(e=>{o(e)}).catch(e=>r(console.warn(e)))})}function x(t){return new Promise((o,r)=>{a({url:"/api/mobile/shop/merch/re-apply",method:"post",data:t}).then(e=>{o(e)}).catch(e=>r(console.warn(e)))})}function E(t){return new Promise((o,r)=>{a({url:"/api/mobile/shop/merch/detail",method:"post",data:t}).then(e=>{o(e)}).catch(e=>r(console.warn(e)))})}function A(t){return new Promise((o,r)=>{a({url:"/api/admin/account/account-user-base/doLogin",method:"post",params:t}).then(e=>{o(e)}).catch(e=>r(console.warn(e)))})}function T(t){return new Promise((o,r)=>{a({url:"/api/admin/shop/shop-base-config/image",method:"GET",params:t}).then(e=>{o(e)}).catch(e=>r(console.warn(e)))})}function C(){return new Promise((t,o)=>{a({url:"/api/mobile/shop/shop-base-district/getAppDistrict",method:"get"}).then(r=>{t(r)}).catch(r=>o(console.warn(r)))})}export{S as G,C as a,P as b,I as c,E as d,A as e,T as f,G as g,w as h,v as i,_ as m,x as r,k as t,y as u};

File diff suppressed because one or more lines are too long

1
dist/static/js/start-mbNVEDMb.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1,18 +1,20 @@
import { defineStore } from "pinia";
import { ref, onMounted } from "vue";
import { ref,reactive, onMounted } from "vue";
export const useUserStore = defineStore("user", () => {
const token = ref("");
const token = ref(localStorage.getItem("token")||"");
const isLoggedIn = ref(false);
const mobilePhone = ref(localStorage.getItem("mobilePhone")||"");
const setToken = (newToken: string) => {
token.value = newToken;
const setToken = (data:any) => {
token.value = data;
isLoggedIn.value = true;
const expiryTime = Date.now() + 31536000 * 1000; // 当前时间 + 1 年
localStorage.setItem("token", newToken);
localStorage.setItem("token", data);
localStorage.setItem("tokenExpiry", expiryTime.toString()); // 保存过期时间
};
const setMobilePhone = (phone: string) => {
mobilePhone.value = phone;
localStorage.setItem("mobilePhone", phone);
};
const removeMobilePhone=()=>{
@ -25,6 +27,7 @@ export const useUserStore = defineStore("user", () => {
try {
token.value = "";
isLoggedIn.value = false;
localStorage.removeItem("userInfo");
localStorage.removeItem("token");
localStorage.removeItem("tokenExpiry"); // 删除过期时间
} catch (error) {
@ -65,6 +68,7 @@ export const useUserStore = defineStore("user", () => {
return {
token,
isLoggedIn,
mobilePhone,
setToken,
clearToken,
setMobilePhone,

View File

@ -100,26 +100,18 @@ const userStore = useUserStore();
// userStore
const isLoggedIn = ref(userStore.isLoggedIn);
const mobile = ref("");
const approval_status = ref(-1);
const token = ref(userStore.token);
const mobile = ref(userStore.mobilePhone);
watch(userStore, (newVal)=>{
token.value = newVal.token
mobile.value = newVal.mobilePhone.replace(/(^\d{3})(\d+)(\d{4})/g, "$1****$2")
isLoggedIn.value = !!token.value;
})
// token
onMounted(() => {
const storedToken = localStorage.getItem("token");
const mobilePhone = localStorage.getItem("mobilePhone");
console.log(mobilePhone);
if (mobilePhone) {
mobile.value = mobilePhone.replace(/(^\d{3})(\d+)(\d{4})/g, "$1****$2");
}
if (storedToken) {
userStore.setToken(storedToken); // token token
}
isLoggedIn.value = userStore.isLoggedIn; //
getApproval_status().then((res) => {
if (res.code === 0 && res.status === 200) {
approval_status.value = res.data.approval_status;

View File

@ -81,7 +81,7 @@
</template>
<script lang="ts" setup>
import { useTransition } from "@vueuse/core";
import { ref, onMounted, defineEmits } from "vue";
import { ref, onMounted, defineEmits, watch } from "vue";
import { Promotion, Download } from "@element-plus/icons-vue";
import { ElMessage } from 'element-plus'
import { getApproval_status } from "@/api/login";
@ -92,7 +92,7 @@ import { useUserStore } from "@/stores/userStore";
const router = useRouter();
const userStore = useUserStore();
const isLoggedIn = ref(userStore.isLoggedIn);
const isLoggedIn = ref(!!userStore.token);
const approval_status = ref(-1);
const businessman = ref(0);
const product = ref(0);

View File

@ -326,19 +326,19 @@ const applyFormData = reactive({
bank_image: "",
email: "",
});
const isLoggedIn = ref(userStore.isLoggedIn);
const license_type = ref('1')
const isLoggedIn = ref(!!userStore.token);
const license_type = ref(1)
const optionsPermitType = [
{
value: "1",
value: 1,
label: "无需特殊资质",
},
{
value: "2",
value: 2,
label: "需许可证资质",
},
{
value: "3",
value: 3,
label: "需特许证件资质",
},
];

View File

@ -186,7 +186,8 @@
prop="biz_license_image"
>
<el-upload
ref="uploadRef"
:ref="(el)=>{ el && (uploadRefs.biz_license_image = el) }"
v-model:file-list="uploadFiles.biz_license_image"
multiple
:limit="1"
list-type="picture-card"
@ -225,7 +226,8 @@
plain
v-if="
applyFormData.biz_license_image &&
!applyFormData.biz_license_company
!applyFormData.biz_license_company &&
currentBbatchNo
"
@click="handleOcrText(currentBbatchNo, 'biz_license_image')"
>点击免填营业执照信息</el-button
@ -360,7 +362,8 @@
prop="legal_person_id_images"
>
<el-upload
ref="uploadRef"
:ref="(el)=>{ el && (uploadRefs.legal_person_id_images = el) }"
v-model:file-list="uploadFiles.legal_person_id_images"
:limit="1"
list-type="picture-card"
:auto-upload="true"
@ -397,7 +400,8 @@
plain
v-if="
applyFormData.legal_person_id_images &&
!applyFormData.legal_person_id_number
!applyFormData.legal_person_id_number &&
currentBbatchNo
"
@click="
handleOcrText(currentBbatchNo, 'legal_person_id_images')
@ -410,7 +414,8 @@
prop="legal_person_id_images2"
>
<el-upload
ref="uploadRef"
:ref="(el)=>{ el && (uploadRefs.legal_person_id_images2 = el) }"
v-model:file-list="uploadFiles.legal_person_id_images2"
:limit="1"
list-type="picture-card"
:auto-upload="true"
@ -498,7 +503,8 @@
prop="individual_id_images"
>
<el-upload
ref="uploadRef"
:ref="(el)=>{ el && (uploadRefs.individual_id_images = el) }"
v-model:file-list="uploadFiles.individual_id_images"
:limit="1"
list-type="picture-card"
:auto-upload="true"
@ -537,7 +543,8 @@
prop="individual_id_images2"
>
<el-upload
ref="uploadRef"
:ref="(el)=>{ el && (uploadRefs.individual_id_images2 = el) }"
v-model:file-list="uploadFiles.individual_id_images2"
:limit="1"
list-type="picture-card"
:auto-upload="true"
@ -634,7 +641,8 @@
<div class="tit">结算信息</div>
<el-form-item label="银行卡" prop="bank_image">
<el-upload
ref="uploadRef"
:ref="(el)=>{ el && (uploadRefs.bank_image = el) }"
v-model:file-list="uploadFiles.bank_image"
:limit="1"
list-type="picture-card"
:auto-upload="true"
@ -663,7 +671,7 @@
<el-button
type="info"
plain
v-if="applyFormData.bank_image && !applyFormData.account_number"
v-if="applyFormData.bank_image && !applyFormData.account_number && currentBbatchNo"
@click="handleOcrText(currentBbatchNo, 'bank_image')"
>点击免填卡号</el-button
>
@ -770,27 +778,33 @@ const processData = () => {
});
};
const isLoggedIn = ref(userStore.isLoggedIn);
const isLoggedIn = ref(!!userStore.token);
const active = ref(1);
const loading = ref(false);
const formRef = ref(null);
const dialogVisible = ref(false);
const dialogImageUrl = ref("");
const bankNameSearchText = ref("");
const selectedValue = ref([]);
const value = ref([]);
const cascaderOptions = ref([]);
const cascaderOptions2 = ref(processData());
const cityData2 = ref<CityDataStructure>();
const cascaderOptions3 = ref();
//hover
const cascaderProps = ref({
value: "value",
label: "label",
children: "children",
expandTrigger: "hover" as const,
});
const bankList2 = ref([]);
const uploadRefs = ref({
biz_license_image: null,
individual_id_images: null,
individual_id_images2: null,
legal_person_id_images: null,
legal_person_id_images2: null,
bank_image: null,
});
const uploadFiles = reactive({
biz_license_image: [],
individual_id_images: [],
individual_id_images2: [],
legal_person_id_images: [],
legal_person_id_images2: [],
bank_image: [],
});
let orcTimeout = 0;
let currentFile = ref(null);
@ -861,15 +875,15 @@ const applyFormData = reactive({
});
const optionsPermitType = [
{
value2: "1",
value2: 1,
label: "无需特殊资质",
},
{
value2: "2",
value2: 2,
label: "需许可证资质",
},
{
value2: "3",
value2: 3,
label: "需特许证件资质",
},
];
@ -1348,13 +1362,24 @@ const handlePictureCardPreview = (uploadFile) => {
dialogVisible.value = true;
};
const getBatchNo = async (file, type) => {
const getBatchNo = async (file, type, field) => {
loading.value = true;
currentBbatchNo.value = "";
const rsp = await batchNoApi(file, type).then((res) => {
loading.value = false;
return res;
});
loading.value = false;
if (rsp.status == 200) {
}).catch(()=> {
loading.value = false;
const _uploadRef = uploadRefs.value[field]
if(_uploadRef){
_uploadRef.clearFiles()
uploadFiles[field] = []
cleanFile(field)
}
ElMessage.error('网络异常,请重试!')
});
if (rsp?.code==0 && rsp?.status == 200) {
return rsp?.data;
} else {
return null;
@ -1371,7 +1396,9 @@ const getOcrText = async (batchNo, type) => {
clearTimeout(orcTimeout);
orcTimeout = setTimeout(async () => {
const imgOcrRes = await imgOcrResultApi(formData);
const imgOcrRes = await imgOcrResultApi(formData).finally(()=> {
loading.value = false;
});
formData = null;
clearTimeout(orcTimeout);
@ -1381,6 +1408,7 @@ const getOcrText = async (batchNo, type) => {
} else {
resolve(imgOcrRes?.data);
}
loading.value = false;
}, 2000);
});
@ -1471,6 +1499,15 @@ const handleOcrText = async (batchNo, imgType) => {
(formRef.value as any).validate();
};
const cleanFile = (field)=>{
if (field === "license_image") {
applyFormData[field]=[];
} else {
applyFormData[field] = "";
}
currentFile.value = null;
}
const handleUploadSuccess = async (response, file, fileList, field) => {
if (response && response.status === 200 && response.code === 0) {
if (response.data && response.data.url) {
@ -1481,37 +1518,38 @@ const handleUploadSuccess = async (response, file, fileList, field) => {
} else {
applyFormData[field] = file.url;
}
loading.value = false;
currentFile.value = file.raw;
loading.value = false;
switch (field) {
case "biz_license_image":
var res = await getBatchNo(file.raw, orcImgTypeConf.BUSINESS_LICENCE);
var res = await getBatchNo(file.raw, orcImgTypeConf.BUSINESS_LICENCE, field);
currentBbatchNo.value = res.batchNo;
handleOcrText(res.batchNo, field);
break;
case "legal_person_id_images":
var res = await getBatchNo(file.raw, orcImgTypeConf.ID_CARD_FRONT);
var res = await getBatchNo(file.raw, orcImgTypeConf.ID_CARD_FRONT, field);
currentBbatchNo.value = res.batchNo;
handleOcrText(res.batchNo, field);
break;
case "legal_person_id_images2":
var res = await getBatchNo(file.raw, orcImgTypeConf.ID_CARD_BEHIND);
var res = await getBatchNo(file.raw, orcImgTypeConf.ID_CARD_BEHIND, field);
currentBbatchNo.value = res.batchNo;
handleOcrText(res.batchNo, field);
break;
case "individual_id_images":
var res = await getBatchNo(file.raw, orcImgTypeConf.FR_ID_CARD_FRONT);
var res = await getBatchNo(file.raw, orcImgTypeConf.FR_ID_CARD_FRONT, field);
currentBbatchNo.value = res.batchNo;
handleOcrText(res.batchNo, field);
break;
case "individual_id_images2":
var res = await getBatchNo(file.raw, orcImgTypeConf.ID_CARD_BEHIND);
var res = await getBatchNo(file.raw, orcImgTypeConf.ID_CARD_BEHIND, field);
currentBbatchNo.value = res.batchNo;
handleOcrText(res.batchNo, field);
break;
case "bank_image":
var res = await getBatchNo(file.raw, orcImgTypeConf.BANK_CARD);
var res = await getBatchNo(file.raw, orcImgTypeConf.BANK_CARD, field);
currentBbatchNo.value = res.batchNo;
handleOcrText(res.batchNo, field);
break;