update: 开店添加营业执照开始结束时间;开店入驻的验证码限制4位数;对接电子合同签署;

This commit is contained in:
mixtan 2025-06-21 20:13:18 +08:00
parent 1ea0d351c2
commit 9d43997444
21 changed files with 102 additions and 44 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-BB15qIXx.js"></script>
<script type="module" crossorigin src="/static/js/index-BsJsXIii.js"></script>
<link rel="modulepreload" crossorigin href="/static/js/element-plus-BYJld3QI.js">
<link rel="stylesheet" crossorigin href="/static/css/element-plus-DWXu63qx.css">
<link rel="stylesheet" crossorigin href="/static/css/index-V8C9L1Be.css">

View File

@ -0,0 +1 @@
.header[data-v-cf4c14cd]{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-cf4c14cd]{flex:1;display:flex}.header-menu li[data-v-cf4c14cd]{margin:0 20px;list-style:none;position:relative;color:#333}.header-menu li span[data-v-cf4c14cd]{font-size:16px}.header-menu li:hover span[data-v-cf4c14cd]{color:var(--bgcolor)}.header-menu li[data-v-cf4c14cd]: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-cf4c14cd]:hover:before{content:"";left:0;width:100%}.header-menu .router-link-active li[data-v-cf4c14cd]:before{content:"";left:0;width:100%}.header-menu .router-link-active span[data-v-cf4c14cd]{color:var(--bgcolor)}.header-menu a[data-v-cf4c14cd]{text-decoration:none;color:inherit}.logo[data-v-cf4c14cd]{cursor:pointer;margin-right:20px}.logo img[data-v-cf4c14cd]{height:40px}.icon_avatar[data-v-cf4c14cd]{width:32px;height:32px;display:flex;justify-content:center;align-items:center;background:#eee;border-radius:100%}.start[data-v-cf4c14cd]{display:flex;justify-content:flex-end;align-items:center;margin-right:5px}.avatar[data-v-cf4c14cd]{display:flex;justify-content:flex-end;align-items:center}.header_right[data-v-cf4c14cd]{display:flex;justify-content:flex-end;align-items:center;gap:20px}.sub_menu[data-v-cf4c14cd]{display:none;cursor:pointer}@media (max-width: 768px){.logo img[data-v-cf4c14cd]{height:28px}.header[data-v-cf4c14cd]{padding:0 10px}.header_right[data-v-cf4c14cd]{gap:5px}.header-menu[data-v-cf4c14cd],.avatar[data-v-cf4c14cd]{display:none}.sub_menu[data-v-cf4c14cd]{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 @@
.header[data-v-9ee71bf6]{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-9ee71bf6]{flex:1;display:flex}.header-menu li[data-v-9ee71bf6]{margin:0 20px;list-style:none;position:relative;color:#333}.header-menu li span[data-v-9ee71bf6]{font-size:16px}.header-menu li:hover span[data-v-9ee71bf6]{color:var(--bgcolor)}.header-menu li[data-v-9ee71bf6]: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-9ee71bf6]:hover:before{content:"";left:0;width:100%}.header-menu .router-link-active li[data-v-9ee71bf6]:before{content:"";left:0;width:100%}.header-menu .router-link-active span[data-v-9ee71bf6]{color:var(--bgcolor)}.header-menu a[data-v-9ee71bf6]{text-decoration:none;color:inherit}.logo[data-v-9ee71bf6]{margin-right:20px}.logo img[data-v-9ee71bf6]{height:40px}.icon_avatar[data-v-9ee71bf6]{width:32px;height:32px;display:flex;justify-content:center;align-items:center;background:#eee;border-radius:100%}.start[data-v-9ee71bf6]{display:flex;justify-content:flex-end;align-items:center;margin-right:5px}.avatar[data-v-9ee71bf6]{display:flex;justify-content:flex-end;align-items:center}.header_right[data-v-9ee71bf6]{display:flex;justify-content:flex-end;align-items:center;gap:20px}.sub_menu[data-v-9ee71bf6]{display:none;cursor:pointer}@media (max-width: 768px){.logo img[data-v-9ee71bf6]{height:28px}.header[data-v-9ee71bf6]{padding:0 10px}.header_right[data-v-9ee71bf6]{gap:5px}.header-menu[data-v-9ee71bf6],.start[data-v-9ee71bf6]{display:none}.sub_menu[data-v-9ee71bf6]{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-9dc08322] .el-upload--picture-card,[data-v-9dc08322] .el-upload-list__item{width:96px;height:96px;text-align:center;flex-direction:column;color:#666;line-height:20px}.signUp-container[data-v-9dc08322]{display:flex;padding-top:12px;flex-direction:column;align-items:center;justify-content:center;background:#eee}.signUp-container .tit[data-v-9dc08322]{font-size:16px;margin-bottom:15px}.signUp-container .tit[data-v-9dc08322] .el-result{padding:0}.signUp-container .steps-container[data-v-9dc08322]{width:1000px;padding:15px;border-radius:5px;background:#fff;margin-bottom:12px}.signUp-container .steps-container.nodata[data-v-9dc08322]{min-height:300px;display:flex;align-items:center;justify-content:center}.signUp-container[data-v-9dc08322] .upload-hidden .el-upload--picture-card{display:none}.signUp-container .form-submit[data-v-9dc08322]{width:1000px;min-height:300px;padding:15px;border-radius:5px;background:#fff;margin-bottom:12px}.signUp-container .form-submit .from_box[data-v-9dc08322]{padding:15px;margin:0 0 12px;border-radius:5px;background:#fff}.signUp-container .form-button[data-v-9dc08322]{width:100%;text-align:center;padding:20px;background:#fff}.bank_name_tip[data-v-9dc08322]{display:flex;align-items:center;margin-left:10px}.bank_name_cont[data-v-9dc08322]{width:300px}.bank_name_cont h3[data-v-9dc08322]{margin-bottom:12px}.bank_name_cont p[data-v-9dc08322]{font-size:14px;margin-bottom:12px}.myui_check_text[data-v-9dc08322]{color:#999;padding-bottom:10px;text-align:center;font-size:14px}.auto-item p[data-v-9dc08322]{font-size:15px;font-weight:900}.auto-item span[data-v-9dc08322]{font-size:10px}@media (max-width: 768px){.el-cascader-menu[data-v-9dc08322]{width:120px;min-width:120px}.signUp-container .steps-container[data-v-9dc08322],.signUp-container .form-submit[data-v-9dc08322]{width:100%}}

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

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

View File

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

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

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

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,aj as i}from"./element-plus-BYJld3QI.js";import{u as p}from"./index-BB15qIXx.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,aj as i}from"./element-plus-BYJld3QI.js";import{u as p}from"./index-BsJsXIii.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

27
dist/static/js/check-Kp25f9PA.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

View File

@ -1 +1 @@
import{d as g}from"./index-BB15qIXx.js";import{r as s,G as d}from"./element-plus-BYJld3QI.js";import{s as a}from"./http-B4ZCnwNh.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};
import{d as g}from"./index-BsJsXIii.js";import{r as s,G as d}from"./element-plus-BYJld3QI.js";import{s as a}from"./http-B4ZCnwNh.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};

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

View File

@ -25,6 +25,7 @@
v-model="formData.verificationCode"
placeholder="验证码"
size="large"
maxlength="4"
>
<template #append>
<el-button

View File

@ -18,13 +18,45 @@
:title="auditInfo?.approval_remark"
:sub-title="
auditInfo.approval_status == 1
? '现在去商家端看看吧~'
? '你的店铺已开通立即前往小发同城商家端APP开始营业吧~'
: [3, 5].includes(auditInfo.approval_status)
? '预计1-7个工作日哦~'
: '请填写以下资料重新提交审核'
? '审核中1-7个工作日内答复请耐心等待'
: '请正确填写以下店铺资料'
"
>
</el-result>
<el-result
v-if="auditInfo.has_ec_signed == 2 && auditInfo.lkl_ec_result_url"
class="result"
icon="warning"
title="申请通过请在24小时内签署合同过期会失效"
sub-title="您还没有签署,请签署"
>
<template #extra>
<el-button type="danger" @click="toSign">立即签署</el-button>
</template>
</el-result>
<el-result
v-if="auditInfo.has_apply_mer == 1 && auditInfo.has_ec_signed == 1"
class="result"
icon="info"
title="店铺初始化中,请耐心等待"
>
</el-result>
<el-result
v-if="
(auditInfo.has_ec_signed == 1 && auditInfo.has_apply_mer == 2) ||
auditInfo.approval_status == 21
"
class="result"
icon="error"
title="进件失败,需要管理员处理"
>
</el-result>
</div>
</div>
@ -205,6 +237,10 @@
>
</div>
<el-dialog v-model="dialogSigned" width="100%">
<iframe :src="auditInfo?.lkl_ec_result_url" class="signed_iframe" border="0" frameborder="0"></iframe>
</el-dialog>
<el-dialog v-model="dialogVisible" width="max-content">
<img w-full :src="dialogImageUrl" alt="Preview Image" />
</el-dialog>
@ -282,6 +318,7 @@ const processData = () => {
const loading = ref(false);
const formRef = ref(null);
const dialogSigned = ref(false);
const dialogVisible = ref(false);
const dialogImageUrl = ref("");
const cascaderOptions = ref([]);
@ -319,15 +356,20 @@ const optionsPermitType = [
];
const rules = reactive({});
const formItemData = ref<FormItemType[]>([]);
let auditInfo = ref<{ [key in string]: any }>({
let auditInfo = ref<{ [key: string]: any }>({
id: 0,
approval_status: 0,
created_at: "2099-02-17 09:25:53",
approval_remark: "",
lkl_ec_result_url: "",
approval_invalid_col: [],
});
const formConfig = reactive(JSON.parse(JSON.stringify(config.formConfig)));
const toSign = ()=>{
dialogSigned.value = true
}
const handleGetAuditInfo = async () => {
const res = (await GetAuditInfo({
mobile: localStorage.getItem("mobilePhone"),
@ -386,7 +428,7 @@ const checkForm = async () => {
});
if (isValid) {
if ( difference(['license_type','license_image','license_number'], auditInfo?.approval_invalid_col).length==0 && applyFormData?.license_type != 1) {
if ( difference(['license_type','license_image','license_number'], auditInfo.value.approval_invalid_col).length==0 && applyFormData?.license_type != 1) {
if (!applyFormData?.license_image?.length) {
ElMessage.error("请上传许可证图片");
return;
@ -814,6 +856,15 @@ onMounted(() => {
line-height: 20px;
}
.result{
margin: 30px 0;
}
.signed_iframe{
width: 100%;
height: 50vh;
}
.signUp-container {
display: flex;
padding-top: 12px;

View File

@ -878,6 +878,7 @@ const applyFormData = reactive({
bank_branch_name: "",
account_number: "",
account_holder_name: "",
biz_license_period_end: "9999-12-31",
biz_category: null,
biz_license_company: "",
biz_license_image: "",
@ -922,6 +923,7 @@ const applyFormData = reactive({
user_status: "",
bank_image: "",
email: "",
biz_license_period_begin: "",
});
const optionsPermitType = [
{
@ -1485,6 +1487,10 @@ const handleOcrText = async (batchNo, imgType) => {
applyFormData.biz_license_number = res.bizLicenseCreditCode;
applyFormData.biz_license_content = res.bizLicenseScope;
applyFormData.account_holder_name = res.bizLicenseCompanyName;
applyFormData.biz_license_period_begin = res.bizLicenseStartTime
.replace(/年|月|日/g, "-")
.replace(/-$/g, "")
.replace(/-+/g, "-");
break;
case "legal_person_id_images":
var res = (await getOcrText(