0.0.2
3
.gitignore
vendored
@ -31,6 +31,3 @@ build/
|
|||||||
|
|
||||||
### VS Code ###
|
### VS Code ###
|
||||||
.vscode/
|
.vscode/
|
||||||
|
|
||||||
/webroot/public/
|
|
||||||
/webroot/runtime/
|
|
||||||
1
webroot/public/admin/assets/403-938aef7b.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const s="Your account permissions are insufficient. Please contact the administrator to add permissions!",t={tips:s};export{t as default,s as tips};
|
||||||
1
webroot/public/admin/assets/403-b03cc05d.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const t="您的账号权限不足,请联系管理员添加权限!",s={tips:t};export{s as default,t as tips};
|
||||||
1
webroot/public/admin/assets/404-67059bb3.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.error[data-v-8fc03fb0]{text-align:center;height:100vh;display:flex;justify-content:center;align-items:center}.error .error-code[data-v-8fc03fb0]{color:var(--el-color-primary);font-size:150px}.error .error-text[data-v-8fc03fb0]{color:#0e77fd}.error .el-button[data-v-8fc03fb0]{width:176px;background-color:#0e77fd;color:#fff}
|
||||||
1
webroot/public/admin/assets/404-da46766f.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as l,r as d,o as i,c as p,a as t,b as u,e as m,w as f,u as x,f as v,E as h,p as b,g,h as I,i as w,t as S}from"./index-ab1f467e.js";/* empty css */import{_ as B}from"./_plugin-vue_export-helper-c27b6911.js";const k=""+new URL("error-e4bc1756.png",import.meta.url).href,o=e=>(b("data-v-8fc03fb0"),e=e(),g(),e),y={class:"error"},C={class:"flex items-center"},E=o(()=>t("div",null,[t("img",{class:"w-[300px]",src:k})],-1)),N={class:"text-left ml-[100px]"},R=o(()=>t("div",{class:"error-text text-[28px] font-bold"},"404错误!",-1)),U=o(()=>t("div",{class:"text-[#222] text-[20px] mt-[15px]"},"哎呀,出错了!您访问的页面不存在...",-1)),V=o(()=>t("div",{class:"text-[#c4c2c2] text-[12px] mt-[5px]"},"尝试检查URL的错误,然后点击浏览器刷新按钮。",-1)),L={class:"mt-[40px]"},$=l({__name:"404",setup(e){let s=null;const c=d(5),a=v();return s=setInterval(()=>{c.value===0?(clearInterval(s),a.go(-1)):c.value--},1e3),i(()=>{s&&clearInterval(s)}),(r,n)=>{const _=h;return I(),p("div",y,[t("div",C,[u(r.$slots,"content",{},()=>[E],!0),t("div",N,[R,U,V,t("div",L,[m(_,{class:"bottom",onClick:n[0]||(n[0]=D=>x(a).go(-1))},{default:f(()=>[w(S(c.value)+" 秒后返回上一页",1)]),_:1})])])])])}}});const z=B($,[["__scopeId","data-v-8fc03fb0"]]);export{z as default};
|
||||||
1
webroot/public/admin/assets/App-acbdacc3.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{ev as e}from"./index-ab1f467e.js";export{e as default};
|
||||||
1
webroot/public/admin/assets/Verify-3982a86a.css
Normal file
1
webroot/public/admin/assets/Verify-5871c0f4.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import z from"./VerifySlide-32021fad.js";import g from"./VerifyPoints-93b2c84e.js";import{P as k,r as o,l as w,aW as T,R as B,a0 as V,h as p,c as u,a as c,i as N,B as y,$ as d,s as C,aX as P,v}from"./index-ab1f467e.js";import{_ as j}from"./_plugin-vue_export-helper-c27b6911.js";import"./index-bab3d465.js";const O={name:"Vue2Verify",components:{VerifySlide:z,VerifyPoints:g},props:{captchaType:{type:String,required:!0},figure:{type:Number},arith:{type:Number},mode:{type:String,default:"pop"},vSpace:{type:Number},explain:{type:String},imgSize:{type:Object,default(){return{width:"310px",height:"155px"}}},blockSize:{type:Object},barSize:{type:Object}},setup(m){const{captchaType:a,figure:e,arith:t,mode:n,vSpace:h,explain:f,imgSize:q,blockSize:I,barSize:X}=k(m),i=o(!1),r=o(void 0),s=o(void 0),l=o({}),S=w(()=>n.value=="pop"?i.value:!0),b=()=>{l.value.refresh&&l.value.refresh()},x=()=>{i.value=!1,b()},_=()=>{n.value=="pop"&&(i.value=!0)};return T(()=>{switch(a.value){case"blockPuzzle":r.value="2",s.value="VerifySlide";break;case"clickWord":r.value="",s.value="VerifyPoints";break}}),{clickShow:i,verifyType:r,componentType:s,instance:l,showBox:S,closeBox:x,show:_}}},D={key:0,class:"verifybox-top"},E=c("i",{class:"iconfont icon-close"},null,-1),R=[E];function W(m,a,e,t,n,h){return B((p(),u("div",{class:v(e.mode=="pop"?"mask":"")},[c("div",{class:v(e.mode=="pop"?"verifybox":""),style:d({"max-width":parseInt(e.imgSize.width)+30+"px"})},[e.mode=="pop"?(p(),u("div",D,[N(" 请完成安全验证 "),c("span",{class:"verifybox-close",onClick:a[0]||(a[0]=(...f)=>t.closeBox&&t.closeBox(...f))},R)])):y("",!0),c("div",{class:"verifybox-bottom",style:d({padding:e.mode=="pop"?"15px":"0"})},[t.componentType?(p(),C(P(t.componentType),{key:0,captchaType:e.captchaType,type:t.verifyType,figure:e.figure,arith:e.arith,mode:e.mode,vSpace:e.vSpace,explain:e.explain,imgSize:e.imgSize,blockSize:e.blockSize,barSize:e.barSize,ref:"instance"},null,8,["captchaType","type","figure","arith","mode","vSpace","explain","imgSize","blockSize","barSize"])):y("",!0)],4)],6)],2)),[[V,t.showBox]])}const K=j(O,[["render",W]]);export{K as default};
|
||||||
1
webroot/public/admin/assets/VerifyPoints-93b2c84e.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{r as F,a as R,b as K,c as G}from"./index-bab3d465.js";import{P as X,r as s,n as m,aI as Y,h as H,c as I,a as l,$ as A,R as Z,a0 as Q,F as U,T as $,t as V,aZ as ee,a_ as te}from"./index-ab1f467e.js";import{_ as ae}from"./_plugin-vue_export-helper-c27b6911.js";const ie={name:"VerifyPoints",props:{mode:{type:String,default:"fixed"},captchaType:{type:String},vSpace:{type:Number,default:5},imgSize:{type:Object,default(){return{width:"310px",height:"155px"}}},barSize:{type:Object,default(){return{width:"310px",height:"40px"}}}},setup(N,f){const{mode:_,captchaType:e,vSpace:L,imgSize:q,barSize:c}=X(N),{proxy:n}=ee(),h=s(""),z=s(3),p=m([]),a=m([]),o=s(1),O=s(""),w=m([]),v=s(""),u=m({imgHeight:0,imgWidth:0,barHeight:0,barWidth:0}),y=m([]),d=s(""),b=s(void 0),x=s(void 0),j=s(!0),C=s(!0),J=()=>{p.splice(0,p.length),a.splice(0,a.length),o.value=1,B(),te(()=>{const{imgHeight:i,imgWidth:t,barHeight:g,barWidth:r}=F(n);u.imgHeight=i,u.imgWidth=t,u.barHeight=g,u.barWidth=r,n.$parent.$emit("ready",n)})};Y(()=>{J(),n.$el.onselectstart=function(){return!1}});const S=s(null),D=i=>{if(a.push(k(S,i)),o.value==z.value){o.value=T(k(S,i));const t=M(a,u);a.length=0,a.push(...t),setTimeout(()=>{const g=h.value?R(v.value+"---"+JSON.stringify(a),h.value):v.value+"---"+JSON.stringify(a),r={captchaType:e.value,captcha_code:h.value?R(JSON.stringify(a),h.value):JSON.stringify(a),captcha_key:v.value};K(r).then(W=>{W.code==1?(b.value="#4cae4c",x.value="#5cb85c",d.value="验证成功",C.value=!1,_.value=="pop"&&setTimeout(()=>{n.$parent.clickShow=!1,P()},1500),n.$parent.$emit("success",{captchaVerification:g})):(n.$parent.$emit("error",n),b.value="#d9534f",x.value="#d9534f",d.value="验证失败",setTimeout(()=>{P()},700))})},400)}o.value<z.value&&(o.value=T(k(S,i)))},k=function(i,t){const g=t.offsetX,r=t.offsetY;return{x:g,y:r}},T=function(i){return y.push(Object.assign({},i)),o.value+1},P=function(){y.splice(0,y.length),b.value="#000",x.value="#ddd",C.value=!0,p.splice(0,p.length),a.splice(0,a.length),o.value=1,B(),d.value="验证失败",j.value=!0};function B(){const i={captchaType:e.value};G(i).then(t=>{t.code==1?(O.value=t.data.originalImageBase64,v.value=t.data.token,h.value=t.data.secretKey,w.value=t.data.wordList,d.value="请依次点击【"+w.value.join(",")+"】"):d.value=t.msg})}const M=function(i,t){return i.map(r=>{const W=Math.round(310*r.x/parseInt(t.imgWidth)),E=Math.round(155*r.y/parseInt(t.imgHeight));return{x:W,y:E}})};return{secretKey:h,checkNum:z,fontPos:p,checkPosArr:a,num:o,pointBackImgBase:O,poinTextList:w,backToken:v,setSize:u,tempPoints:y,text:d,barAreaColor:b,barAreaBorderColor:x,showRefresh:j,bindingClick:C,init:J,canvas:S,canvasClick:D,getMousePos:k,createPoint:T,refresh:P,getPictrue:B,pointTransfrom:M}}},ne={style:{position:"relative"}},se={class:"verify-img-out"},oe=l("i",{class:"iconfont icon-refresh"},null,-1),re=[oe],ce=["src"],le={class:"verify-msg"};function he(N,f,_,e,L,q){return H(),I("div",ne,[l("div",se,[l("div",{class:"verify-img-panel",style:A({width:e.setSize.imgWidth,height:e.setSize.imgHeight,"background-size":e.setSize.imgWidth+" "+e.setSize.imgHeight,"margin-bottom":_.vSpace+"px"})},[Z(l("div",{class:"verify-refresh",style:{"z-index":"3"},onClick:f[0]||(f[0]=(...c)=>e.refresh&&e.refresh(...c))},re,512),[[Q,e.showRefresh]]),l("img",{src:"data:image/png;base64,"+e.pointBackImgBase,ref:"canvas",alt:"",style:{width:"100%",height:"100%",display:"block"},onClick:f[1]||(f[1]=c=>e.bindingClick?e.canvasClick(c):void 0)},null,8,ce),(H(!0),I(U,null,$(e.tempPoints,(c,n)=>(H(),I("div",{key:n,class:"point-area",style:A({"background-color":"#1abd6c",color:"#fff","z-index":9999,width:"20px",height:"20px","text-align":"center","line-height":"20px","border-radius":"50%",position:"absolute",top:parseInt(c.y-10)+"px",left:parseInt(c.x-10)+"px"})},V(n+1),5))),128))],4)]),l("div",{class:"verify-bar-area",style:A({width:e.setSize.imgWidth,color:this.barAreaColor,"border-color":this.barAreaBorderColor,"line-height":this.barSize.height})},[l("span",le,V(e.text),1)],4)])}const fe=ae(ie,[["render",he]]);export{fe as default};
|
||||||
1
webroot/public/admin/assets/VerifySlide-32021fad.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const s=(t,r)=>{const o=t.__vccOpts||t;for(const[c,e]of r)o[c]=e;return o};export{s as _};
|
||||||
1
webroot/public/admin/assets/access-5e4a1c50.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as V,x as B,f as N,r as d,aI as S,h as T,c as j,e as o,w as s,a as t,t as n,u as e,q as a,i as h,A as q,aw as I,ax as R,E as J,aJ as M,aK as $,aL as D,J as F,aM as K,a6 as L}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as P}from"./aliapp-4ba92bac.js";const Q={class:"main-container"},U={class:"flex justify-between items-center"},z={class:"text-page-title"},G={class:"p-[20px]"},H={class:"panel-title !text-sm"},O={class:"text-[14px] font-[700]"},W={class:"text-[#999]"},X={class:"mt-[20px] mb-[40px] h-[32px]"},Y={class:"text-[14px] font-[700]"},Z={class:"text-[#999]"},tt={class:"mt-[20px] mb-[40px] h-[32px]"},et={class:"text-[14px] font-[700]"},st={class:"text-[#999]"},at=t("div",{class:"mt-[20px] mb-[40px] h-[32px]"},null,-1),ot={class:"text-[14px] font-[700]"},nt={class:"text-[#999]"},lt={class:"flex justify-center"},ct={class:"w-[100%] h-[100%] flex items-center justify-center bg-[#f5f7fa]"},pt={class:"mt-[22px] text-center"},it={class:"text-[12px]"},bt=V({__name:"access",setup(_t){const f=B(),m=N(),v=f.meta.title,_=d("/channel/aliapp");d(2);const p=d("");S(async()=>{const c=await P();p.value=c.data.qr_code});const w=c=>{window.open(c,"_blank")},b=c=>{m.push({path:_.value})};return(c,l)=>{const g=I,C=R,u=J,i=M,E=$,x=D,y=F,k=K,A=L;return T(),j("div",Q,[o(A,{class:"card !border-none",shadow:"never"},{default:s(()=>[t("div",U,[t("span",z,n(e(v)),1)]),o(C,{modelValue:_.value,"onUpdate:modelValue":l[0]||(l[0]=r=>_.value=r),class:"my-[20px]",onTabChange:b},{default:s(()=>[o(g,{label:e(a)("weappAccessFlow"),name:"/channel/aliapp"},null,8,["label"])]),_:1},8,["modelValue"]),t("div",G,[t("h3",H,n(e(a)("weappInlet")),1),o(k,null,{default:s(()=>[o(x,{span:20},{default:s(()=>[o(E,{active:4,direction:"vertical"},{default:s(()=>[o(i,null,{title:s(()=>[t("p",O,n(e(a)("weappAttestation")),1)]),description:s(()=>[t("span",W,n(e(a)("weappAttest")),1),t("div",X,[o(u,{type:"primary",onClick:l[1]||(l[1]=r=>w("https://open.alipay.com/develop/manage"))},{default:s(()=>[h(n(e(a)("clickAccess")),1)]),_:1})])]),_:1}),o(i,null,{title:s(()=>[t("p",Y,n(e(a)("weappSetting")),1)]),description:s(()=>[t("span",Z,n(e(a)("emplace")),1),t("div",tt,[o(u,{type:"primary",plain:"",onClick:l[2]||(l[2]=r=>e(m).push("/channel/aliapp/config"))},{default:s(()=>[h(n(e(a)("weappSettingBtn")),1)]),_:1})])]),_:1}),o(i,null,{title:s(()=>[t("p",et,n(e(a)("uploadVersion")),1)]),description:s(()=>[t("span",st,n(e(a)("releaseCourse")),1),at]),_:1}),o(i,null,{title:s(()=>[t("p",ot,n(e(a)("completeAccess")),1)]),description:s(()=>[t("span",nt,n(e(a)("releaseCourse")),1)]),_:1})]),_:1})]),_:1}),o(x,{span:4},{default:s(()=>[t("div",lt,[o(y,{class:"w-[180px] h-[180px]",src:p.value?e(q)(p.value):""},{error:s(()=>[t("div",ct,[t("span",null,n(p.value?e(a)("fileErr"):e(a)("emptyQrCode")),1)])]),_:1},8,["src"])]),t("div",pt,[t("p",it,n(e(a)("clickAccess2")),1)])]),_:1})]),_:1})])]),_:1})])}}});export{bt as default};
|
||||||
1
webroot/public/admin/assets/access-91e7b727.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as $,x as T,f as j,r as d,aI as F,aS as I,o as L,h as w,c as g,e as n,w as s,a,t as o,u as e,q as t,i as r,F as C,A as M,aw as U,ax as z,E as J,aJ as D,aK as G,aL as K,J as P,aM as Q,a6 as H}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as O}from"./weapp-779ee5e9.js";import{a as X}from"./wxoplatform-1f4e1823.js";const Y={class:"main-container"},Z={class:"flex justify-between items-center"},ee={class:"text-page-title"},te={class:"p-[20px]"},se={class:"panel-title !text-sm"},ae={class:"text-[14px] font-[700]"},ne={class:"text-[#999]"},oe={class:"mt-[20px] mb-[40px] h-[32px]"},le={class:"text-[14px] font-[700]"},pe={class:"text-[#999]"},ie={class:"mt-[20px] mb-[40px] h-[32px]"},ce={class:"text-[14px] font-[700]"},re={class:"text-[#999]"},_e={class:"mt-[20px] mb-[40px] h-[32px]"},de={class:"text-[14px] font-[700]"},ue={class:"text-[#999]"},me=a("div",{class:"mt-[20px] mb-[40px] h-[32px]"},null,-1),he={class:"flex justify-center"},fe={class:"w-[100%] h-[100%] flex items-center justify-center bg-[#f5f7fa]"},xe={class:"mt-[22px] text-center"},ve={class:"text-[12px]"},qe=$({__name:"access",setup(we){const k=T(),_=j(),E=k.meta.title,h=d("/channel/weapp");d(2);const u=d(""),f=d({}),x=d({}),b=async()=>{await O().then(({data:p})=>{f.value=p,u.value=p.qr_code})};F(async()=>{b(),await I().then(({data:p})=>{x.value=p}),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&b()})}),L(()=>{document.removeEventListener("visibilitychange",()=>{})});const A=p=>{window.open(p,"_blank")},S=p=>{_.push({path:h.value})},B=()=>{X().then(({data:p})=>{window.open(p)})};return(p,l)=>{const v=U,V=z,i=J,m=D,q=G,y=K,N=P,R=Q,W=H;return w(),g("div",Y,[n(W,{class:"card !border-none",shadow:"never"},{default:s(()=>[a("div",Z,[a("span",ee,o(e(E)),1)]),n(V,{modelValue:h.value,"onUpdate:modelValue":l[0]||(l[0]=c=>h.value=c),class:"mt-[20px]",onTabChange:S},{default:s(()=>[n(v,{label:e(t)("weappAccessFlow"),name:"/channel/weapp"},null,8,["label"]),n(v,{label:e(t)("subscribeMessage"),name:"/channel/weapp/message"},null,8,["label"]),n(v,{label:e(t)("weappRelease"),name:"/channel/weapp/code"},null,8,["label"])]),_:1},8,["modelValue"]),a("div",te,[a("h3",se,o(e(t)("weappInlet")),1),n(R,null,{default:s(()=>[n(y,{span:20},{default:s(()=>[n(q,{class:"!mt-[10px]",active:4,direction:"vertical"},{default:s(()=>[n(m,null,{title:s(()=>[a("p",ae,o(e(t)("weappAttestation")),1)]),description:s(()=>[a("span",ne,o(e(t)("weappAttest")),1),a("div",oe,[n(i,{type:"primary",onClick:l[1]||(l[1]=c=>A("https://mp.weixin.qq.com/"))},{default:s(()=>[r(o(e(t)("clickAccess")),1)]),_:1})])]),_:1}),n(m,null,{title:s(()=>[a("p",le,o(e(t)("weappSetting")),1)]),description:s(()=>[a("span",pe,o(e(t)("emplace")),1),a("div",ie,[x.value.app_id&&x.value.app_secret?(w(),g(C,{key:0},[n(i,{type:"primary",onClick:l[2]||(l[2]=c=>e(_).push("/channel/weapp/config"))},{default:s(()=>[r(o(f.value.app_id?e(t)("seeConfig"):e(t)("weappSettingBtn")),1)]),_:1}),n(i,{type:"primary",plain:"",onClick:B},{default:s(()=>[r(o(f.value.is_authorization?e(t)("refreshAuth"):e(t)("authWeapp")),1)]),_:1})],64)):(w(),g(C,{key:1},[n(i,{type:"primary",onClick:l[3]||(l[3]=c=>e(_).push("/channel/weapp/config"))},{default:s(()=>[r(o(e(t)("weappSettingBtn")),1)]),_:1}),n(i,{type:"primary",plain:"",onClick:l[4]||(l[4]=c=>e(_).push("/channel/weapp/course"))},{default:s(()=>[r("配置教程")]),_:1})],64))])]),_:1}),n(m,null,{title:s(()=>[a("p",ce,o(e(t)("uploadVersion")),1)]),description:s(()=>[a("span",re,o(e(t)("releaseCourse")),1),a("div",_e,[n(i,{type:"primary",plain:"",onClick:l[5]||(l[5]=c=>e(_).push("/channel/weapp/code"))},{default:s(()=>[r(o(e(t)("weappRelease")),1)]),_:1})])]),_:1}),n(m,null,{title:s(()=>[a("p",de,o(e(t)("completeAccess")),1)]),description:s(()=>[a("span",ue,o(e(t)("releaseCourse")),1),me]),_:1})]),_:1})]),_:1}),n(y,{span:4},{default:s(()=>[a("div",he,[n(N,{class:"w-[180px] h-[180px]",src:u.value?e(M)(u.value):""},{error:s(()=>[a("div",fe,[a("span",null,o(u.value?e(t)("fileErr"):e(t)("emptyQrCode")),1)])]),_:1},8,["src"])]),a("div",xe,[a("p",ve,o(e(t)("clickAccess2")),1)])]),_:1})]),_:1})])]),_:1})])}}});export{qe as default};
|
||||||
1
webroot/public/admin/assets/access-fbac6fa1.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as W,x as $,f as j,r,aI as F,aS as I,o as L,h as w,c as y,e as a,w as s,a as n,t as o,u as e,q as t,i as _,F as M,s as R,A as U,aw as z,ax as J,E as D,aJ as G,aK as K,aL as P,J as Q,aM as H,a6 as O}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as X}from"./wechat-0db3646c.js";import{a as Y}from"./wxoplatform-1f4e1823.js";const Z={class:"main-container"},ee={class:"flex justify-between items-center"},te={class:"text-page-title"},ae={class:"p-[20px]"},se={class:"panel-title !text-sm"},ne={class:"text-[14px] font-[700]"},oe={class:"text-[#999]"},le={class:"mt-[20px] mb-[40px] h-[32px]"},ce={class:"text-[14px] font-[700]"},ie={class:"text-[#999]"},pe={class:"mt-[20px] mb-[40px] h-[32px]"},re={class:"text-[14px] font-[700]"},_e={class:"text-[#999]"},de={class:"mt-[20px] mb-[40px] h-[32px]"},me={class:"flex justify-center"},ue={class:"w-[100%] h-[100%] flex items-center justify-center bg-[#f5f7fa]"},he={class:"mt-[22px] text-center"},fe={class:"text-[12px]"},Be=W({__name:"access",setup(xe){const C=$(),d=j(),k=C.meta.title,h=r("/channel/wechat");r(2);const m=r(""),f=r({}),x=r({}),g=async()=>{await X().then(({data:l})=>{f.value=l,m.value=l.qr_code})};F(async()=>{g(),await I().then(({data:l})=>{x.value=l}),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&g()})}),L(()=>{document.removeEventListener("visibilitychange",()=>{})});const E=l=>{window.open(l,"_blank")},A=l=>{d.push({path:h.value})},S=()=>{Y().then(({data:l})=>{window.open(l)})};return(l,c)=>{const u=z,B=J,i=D,v=G,V=K,b=P,q=Q,N=H,T=O;return w(),y("div",Z,[a(T,{class:"card !border-none",shadow:"never"},{default:s(()=>[n("div",ee,[n("span",te,o(e(k)),1)]),a(B,{modelValue:h.value,"onUpdate:modelValue":c[0]||(c[0]=p=>h.value=p),class:"my-[20px]",onTabChange:A},{default:s(()=>[a(u,{label:e(t)("wechatAccessFlow"),name:"/channel/wechat"},null,8,["label"]),a(u,{label:e(t)("customMenu"),name:"/channel/wechat/menu"},null,8,["label"]),a(u,{label:e(t)("wechatTemplate"),name:"/channel/wechat/message"},null,8,["label"]),a(u,{label:e(t)("reply"),name:"/channel/wechat/reply"},null,8,["label"])]),_:1},8,["modelValue"]),n("div",ae,[n("h3",se,o(e(t)("wechatInlet")),1),a(N,null,{default:s(()=>[a(b,{span:20},{default:s(()=>[a(V,{class:"!mt-[10px]",active:3,direction:"vertical"},{default:s(()=>[a(v,null,{title:s(()=>[n("p",ne,o(e(t)("wechatAttestation")),1)]),description:s(()=>[n("span",oe,o(e(t)("wechatAttestation1")),1),n("div",le,[a(i,{type:"primary",onClick:c[1]||(c[1]=p=>E("https://mp.weixin.qq.com/"))},{default:s(()=>[_(o(e(t)("clickAccess")),1)]),_:1})])]),_:1}),a(v,null,{title:s(()=>[n("p",ce,o(e(t)("wechatSetting")),1)]),description:s(()=>[n("span",ie,o(e(t)("wechatSetting1")),1),n("div",pe,[x.value.app_id&&x.value.app_secret?(w(),y(M,{key:0},[a(i,{type:"primary",onClick:c[2]||(c[2]=p=>e(d).push("/channel/wechat/config"))},{default:s(()=>[_(o(f.value.app_id?e(t)("seeConfig"):e(t)("clickSetting")),1)]),_:1}),a(i,{type:"primary",plain:"",onClick:S},{default:s(()=>[_(o(f.value.is_authorization?e(t)("refreshAuth"):e(t)("authWechat")),1)]),_:1})],64)):(w(),R(i,{key:1,type:"primary",onClick:c[3]||(c[3]=p=>e(d).push("/channel/wechat/config"))},{default:s(()=>[_(o(e(t)("clickSetting")),1)]),_:1}))])]),_:1}),a(v,null,{title:s(()=>[n("p",re,o(e(t)("wechatAccess")),1)]),description:s(()=>[n("span",_e,o(e(t)("wechatAccess")),1),n("div",de,[a(i,{type:"primary",plain:"",onClick:c[4]||(c[4]=p=>e(d).push("/channel/wechat/course"))},{default:s(()=>[_(o(e(t)("releaseCourse")),1)]),_:1})])]),_:1})]),_:1})]),_:1}),a(b,{span:4},{default:s(()=>[n("div",me,[a(q,{class:"w-[180px] h-[180px]",src:m.value?e(U)(m.value):""},{error:s(()=>[n("div",ue,[n("span",null,o(m.value?e(t)("fileErr"):e(t)("emptyQrCode")),1)])]),_:1},8,["src"])]),n("div",he,[n("p",fe,o(e(t)("clickAccess2")),1)])]),_:1})]),_:1})])]),_:1})])}}});export{Be as default};
|
||||||
1
webroot/public/admin/assets/account-82aac8fb.js
Normal file
1
webroot/public/admin/assets/add-33fb80df.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none!important;-moz-appearance:none!important;-o-appearance:none!important;appearance:none!important;margin:0}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;-o-appearance:textfield;appearance:textfield}
|
||||||
1
webroot/public/admin/assets/add-59ecbb55.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
input[data-v-78c73745]::-webkit-outer-spin-button,input[data-v-78c73745]::-webkit-inner-spin-button{-webkit-appearance:none!important;-moz-appearance:none!important;-o-appearance:none!important;appearance:none!important;margin:0}input[type=number][data-v-78c73745]{-webkit-appearance:textfield;-moz-appearance:textfield;-o-appearance:textfield;appearance:textfield}.sku-form-item-wrap[data-v-78c73745] .el-form-item__content{margin-left:0!important}.sku_list[data-v-78c73745] .cell{overflow:initial!important}
|
||||||
1
webroot/public/admin/assets/add-6b7fa3c2.js
Normal file
1
webroot/public/admin/assets/add-cca55c66.js
Normal file
1
webroot/public/admin/assets/add-member-d7a2519a.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./add-member.vue_vue_type_script_setup_true_lang-356a82d6.js";import"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./member-51e5f24a.js";export{o as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as H,r as m,n as I,l as L,q as o,h as N,s as k,w as d,a as j,e as s,i as C,t as $,u as t,R as K,dn as O,K as T,L as z,M as A,E as S,X,Y}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{k as Z,v as G,w as J}from"./member-51e5f24a.js";const Q={class:"dialog-footer"},ie=H({__name:"add-member",emits:["complete"],setup(W,{expose:P,emit:x}){const p=m(!1),i=m(!1),b=m(!1);let f="",c="";const w=m(!0),v=m(!0),g=m(!0),_={member_id:"",nickname:"",member_no:"",init_member_no:"",mobile:"",password:"",password_copy:""},r=I({..._}),y=m(),D=L(()=>({member_no:[{required:!0,message:o("memberNoPlaceholder"),trigger:"blur"},{validator:M,trigger:"blur"}],mobile:[{required:!0,message:o("mobilePlaceholder"),trigger:"blur"},{validator:E,trigger:"blur"}],password:[{required:!0,message:o("passwordPlaceholder"),trigger:"blur"}],password_copy:[{required:!0,message:o("passwordPlaceholder"),trigger:"blur"},{validator:B,trigger:"blur"}]})),E=(n,e,a)=>{e&&!/^1[3-9]\d{9}$/.test(e)?a(new Error(o("mobileHint"))):a()},B=(n,e,a)=>{e!=r.password?a(o("doubleCipherHint")):a()},M=(n,e,a)=>{e&&!/^[0-9a-zA-Z]*$/g.test(e)?a(new Error(o("memberNoHint"))):a()},U=async()=>{await G().then(n=>{c=n.data}).catch(()=>{})},q=async n=>{if(i.value||!n)return;const e=J;await n.validate(async a=>{if(a){if(i.value=!0,b.value)return;b.value=!0,e(r).then(V=>{i.value=!1,b.value=!1,p.value=!1,x("complete")}).catch(()=>{i.value=!1,b.value=!1})}})};return P({showDialog:p,setFormData:async(n=null)=>{if(i.value=!0,Object.assign(r,_),f=o("addMember"),n){f=o("updateMember");const e=await(await Z(n.member_id)).data;e&&Object.keys(r).forEach(a=>{e[a]!=null&&(r[a]=e[a])})}else await U(),r.member_no=c,r.init_member_no=c;i.value=!1}}),(n,e)=>{const a=T,u=z,V=A,h=S,F=X,R=Y;return N(),k(F,{modelValue:p.value,"onUpdate:modelValue":e[14]||(e[14]=l=>p.value=l),title:t(f),width:"500px","destroy-on-close":!0},{footer:d(()=>[j("span",Q,[s(h,{onClick:e[12]||(e[12]=l=>p.value=!1)},{default:d(()=>[C($(t(o)("cancel")),1)]),_:1}),s(h,{type:"primary",loading:i.value,onClick:e[13]||(e[13]=l=>q(y.value))},{default:d(()=>[C($(t(o)("confirm")),1)]),_:1},8,["loading"])])]),default:d(()=>[K((N(),k(V,{model:r,"label-width":"90px",ref_key:"formRef",ref:y,rules:t(D),class:"page-form"},{default:d(()=>[s(u,{label:t(o)("memberNo"),prop:"member_no"},{default:d(()=>[s(a,{modelValue:r.member_no,"onUpdate:modelValue":e[0]||(e[0]=l=>r.member_no=l),clearable:"",maxlength:"20",placeholder:t(o)("memberNoPlaceholder"),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),s(u,{label:t(o)("mobile"),prop:"mobile"},{default:d(()=>[s(a,{modelValue:r.mobile,"onUpdate:modelValue":e[1]||(e[1]=l=>r.mobile=l),clearable:"",placeholder:t(o)("mobilePlaceholder"),onKeyup:e[2]||(e[2]=l=>t(O)(l)),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),s(u,{label:t(o)("nickname")},{default:d(()=>[s(a,{modelValue:r.nickname,"onUpdate:modelValue":e[3]||(e[3]=l=>r.nickname=l),clearable:"",placeholder:t(o)("nickNamePlaceholder"),class:"input-width",maxlength:"10","show-word-limit":"",readonly:w.value,onClick:e[4]||(e[4]=l=>w.value=!1),onBlur:e[5]||(e[5]=l=>w.value=!0)},null,8,["modelValue","placeholder","readonly"])]),_:1},8,["label"]),s(u,{label:t(o)("password"),prop:"password"},{default:d(()=>[s(a,{modelValue:r.password,"onUpdate:modelValue":e[6]||(e[6]=l=>r.password=l),type:"password",placeholder:t(o)("passwordPlaceholder"),clearable:"",class:"input-width","show-password":!0,readonly:v.value,onClick:e[7]||(e[7]=l=>v.value=!1),onBlur:e[8]||(e[8]=l=>v.value=!0)},null,8,["modelValue","placeholder","readonly"])]),_:1},8,["label"]),s(u,{label:t(o)("passwordCopy"),prop:"password_copy"},{default:d(()=>[s(a,{modelValue:r.password_copy,"onUpdate:modelValue":e[9]||(e[9]=l=>r.password_copy=l),type:"password",placeholder:t(o)("passwordPlaceholder"),clearable:"",class:"input-width","show-password":!0,readonly:g.value,onClick:e[10]||(e[10]=l=>g.value=!1),onBlur:e[11]||(e[11]=l=>g.value=!0)},null,8,["modelValue","placeholder","readonly"])]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[R,i.value]])]),_:1},8,["modelValue","title"])}}});export{ie as _};
|
||||||
1
webroot/public/admin/assets/add-table-3dbedbb8.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./add-table.vue_vue_type_script_setup_true_lang-0ef6d8f5.js";import"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./tools-a6997401.js";export{o as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as N,f as E,r as u,n as L,l as k,h as p,s as _,w as o,a as b,R as x,u as t,t as h,q as n,e as d,i as B,ab as z,K as q,E as F,ac as P,X as R,Y as U}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{k as G,l as I}from"./tools-a6997401.js";const le=N({__name:"add-table",setup(K,{expose:f}){const g=E(),m=u(!1),s=u(""),e=L({loading:!0,data:[],searchParam:{table_name:"",table_content:""}}),v=k(()=>e.data.filter(a=>!s.value||a.Name.toLowerCase().includes(s.value.toLowerCase())||a.Comment.toLowerCase().includes(s.value.toLowerCase()))),c=()=>{e.loading=!0,G().then(a=>{e.loading=!1,e.data=a.data}).catch(()=>{e.loading=!1})};c();const w=a=>{const l=a.Name;e.loading=!0,I({table_name:l}).then(i=>{e.loading=!1,m.value=!1,g.push({path:"/tools/code/edit",query:{id:i.data.id}})}).catch(()=>{e.loading=!1})};return f({showDialog:m,setFormData:async(a=null)=>{c()}}),(a,l)=>{const i=z,C=q,D=F,V=P,y=R,T=U;return p(),_(y,{modelValue:m.value,"onUpdate:modelValue":l[1]||(l[1]=r=>m.value=r),title:t(n)("addCode"),width:"800px","destroy-on-close":!0},{default:o(()=>[b("div",null,[x((p(),_(V,{data:t(v),size:"large",height:"400"},{empty:o(()=>[b("span",null,h(e.loading?"":t(n)("emptyData")),1)]),default:o(()=>[d(i,{prop:"Name",label:t(n)("tableName"),"min-width":"150"},null,8,["label"]),d(i,{prop:"Comment",label:t(n)("tableComment"),"min-width":"120"},null,8,["label"]),d(i,{align:"right","min-width":"150"},{header:o(()=>[d(C,{modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=r=>s.value=r),size:"small",placeholder:t(n)("searchPlaceholder")},null,8,["modelValue","placeholder"])]),default:o(r=>[d(D,{size:"small",type:"primary",onClick:X=>w(r.row)},{default:o(()=>[B(h(t(n)("addBtn")),1)]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[T,e.loading]])])]),_:1},8,["modelValue","title"])}}});export{le as _};
|
||||||
1
webroot/public/admin/assets/addon-615e0d79.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{O as t}from"./index-ab1f467e.js";function a(n){return t.get("addon/local",n,{showSuccessMessage:!0})}function o(n){return t.post(`addon/install/${n.addon}`,n)}function l(n){return t.post(`addon/cloudinstall/${n.addon}`,n)}function e(n){return t.post(`addon/uninstall/${n.addon}`,n,{showSuccessMessage:!0})}function d(n){return t.get(`addon/install/check/${n}`)}function u(){return t.get("addon/installtask",{showErrorMessage:!1})}function r(n){return t.get(`addon/cloudinstall/${n}`)}function c(n){return t.get(`addon/uninstall/check/${n}`)}function i(n){return t.put(`addon/install/cancel/${n}`,{},{showErrorMessage:!1})}function g(){return t.get("addon/list/install")}export{a,u as b,i as c,l as d,r as e,c as f,g,o as i,d as p,e as u};
|
||||||
BIN
webroot/public/admin/assets/addon_develop-a78473b3.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
1
webroot/public/admin/assets/address.edit-498c4d93.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const e="联系人",s="联系方式",d="省",l="市",r="区",o="详细地址",t="地址",c="纬度",a="经度",n="是否是发货地址",i="是否是退货地址",u="默认发货地址",f="默认收货地址",h="请输入联系人",A="请输入联系方式",D="请输入正确的手机号",P="请输入详细地址",p="请输入地址",y="请输入纬度",v="请输入经度",R="请输入是否是发货地址",m="请输入是否是退货地址",T="请输入默认发货地址",b="请输入默认收货地址",I="添加商家地址库",g="编辑商家地址库",N="确定要删除该商家地址库吗?",S="地址类型",q="发货地址",x="收货地址",_="是否设为默认发货地址",j="是否设为默认收货地址",k="至少需设置一项类型",w={contactName:e,mobile:s,provinceId:d,cityId:l,districtId:r,address:o,fullAddress:t,lat:c,lng:a,isDeliveryAddress:n,isRefundAddress:i,isDefaultDelivery:u,isDefaultRefund:f,contactNamePlaceholder:h,mobilePlaceholder:A,mobileTips:D,addressPlaceholder:P,fullAddressPlaceholder:p,latPlaceholder:y,lngPlaceholder:v,isDeliveryAddressPlaceholder:R,isRefundAddressPlaceholder:m,isDefaultDeliveryPlaceholder:T,isDefaultRefundPlaceholder:b,addShopAddress:I,updateShopAddress:g,shopAddressDeleteTips:N,addressType:S,deliveryAddress:q,refundAddress:x,defaultDeliveryAddress:_,defaultRefundAddress:j,addressTypeRequire:k};export{I as addShopAddress,o as address,P as addressPlaceholder,S as addressType,k as addressTypeRequire,l as cityId,e as contactName,h as contactNamePlaceholder,w as default,_ as defaultDeliveryAddress,j as defaultRefundAddress,q as deliveryAddress,r as districtId,t as fullAddress,p as fullAddressPlaceholder,u as isDefaultDelivery,T as isDefaultDeliveryPlaceholder,f as isDefaultRefund,b as isDefaultRefundPlaceholder,n as isDeliveryAddress,R as isDeliveryAddressPlaceholder,i as isRefundAddress,m as isRefundAddressPlaceholder,c as lat,y as latPlaceholder,a as lng,v as lngPlaceholder,s as mobile,A as mobilePlaceholder,D as mobileTips,d as provinceId,x as refundAddress,N as shopAddressDeleteTips,g as updateShopAddress};
|
||||||
1
webroot/public/admin/assets/address.list-37b21f8a.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const s="",d="联系人",e="联系方式",t="请输入联系方式",o="省",r="市",l="区",c="详细地址",n="地址",i="请输入地址",a="纬度",u="经度",A="是否是发货地址",f="是否是退货地址",p="默认发货地址",h="默认收货地址",y="添加商家地址库",D="编辑商家地址库",v="确定要删除该数据吗?",m="地址类型",I="发货地址",b="收货地址",P={id:s,contactName:d,mobile:e,mobilePlaceholder:t,provinceId:o,cityId:r,districtId:l,address:c,fullAddress:n,fullAddressPlaceholder:i,lat:a,lng:u,isDeliveryAddress:A,isRefundAddress:f,isDefaultDelivery:p,isDefaultRefund:h,addShopAddress:y,updateShopAddress:D,shopAddressDeleteTips:v,addressType:m,deliveryAddress:I,refundAddress:b,default:"默认"};export{y as addShopAddress,c as address,m as addressType,r as cityId,d as contactName,P as default,I as deliveryAddress,l as districtId,n as fullAddress,i as fullAddressPlaceholder,s as id,p as isDefaultDelivery,h as isDefaultRefund,A as isDeliveryAddress,f as isRefundAddress,a as lat,u as lng,e as mobile,t as mobilePlaceholder,o as provinceId,b as refundAddress,v as shopAddressDeleteTips,D as updateShopAddress};
|
||||||
1
webroot/public/admin/assets/adjust-money-358e6943.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./adjust-money.vue_vue_type_style_index_0_lang-dac3ae2d.js";import"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./order-b8280ec0.js";export{o as default};
|
||||||
1
webroot/public/admin/assets/adjust-money-57aa32a2.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
@charset "UTF-8";.multi-hidden{word-break:break-all;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as L,r as y,n as O,h as b,s as M,w as s,a as d,e as l,i as x,t as u,u as t,q as a,B as R,c as V,dx as z,d0 as K,K as P,L as S,M as $,ab as q,aT as A,ac as G,E as X,X as H}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{o as J}from"./order-b8280ec0.js";const Q={class:"max-h-[600px] overflow-y-auto"},W={class:"panel-title ml-[10px]"},Y={class:"mb-[20px]"},Z={class:"multi-hidden text-[14px]"},ee=d("text",{class:"nc-iconfont nc-icon-bangzhuV6xx ml-[5px] text-[12px]"},null,-1),oe=d("h3",{class:"panel-title ml-[10px]"},[d("span",{class:"text-primary"},"实际商品金额"),d("span",null," = 商品总额 - 优惠金额 + 调价")],-1),te={class:"panel-title ml-[10px]"},ae=d("span",{class:"text-primary"},"订单总额",-1),le={key:0},ne={key:1},se={class:"dialog-footer"},je=L({__name:"adjust-money",emits:["complete"],setup(de,{expose:w,emit:E}){const m=y(!1),f=y(!1),r=O({}),_=y(0),g=y([]),F=o=>{z(o),_.value=o.target.value},k=o=>{for(let e in r)delete r[e];Object.assign(r,K(o)),g.value=[],r.order_goods.forEach(e=>{e.adjust_money="",e.total=(parseFloat(e.goods_money)-parseFloat(e.discount_money)).toFixed(2),g.value.push(e.goods_type)}),_.value=r.delivery_money},C=(o,e,c)=>{let i=parseFloat(c.goods_money)-parseFloat(c.discount_money);o.length==0||isNaN(o)?(o=0,r.order_goods[e].adjust_money=""):o=parseFloat(o),parseFloat(o)+i<0?(o=i,r.order_goods[e].adjust_money=-o,i=0):i+=o,i=Math.round(i*100)/100,r.order_goods[e].total=i.toFixed(2)},h=y(!1),D=()=>{if(f.value=!0,h.value)return;h.value=!0;let o={};r.order_goods.forEach(e=>{e.adjust_money&&(o[e.order_goods_id]={money:e.adjust_money})}),J({order_id:r.order_id,delivery_money:parseFloat(_.value),order_goods_data:o}).then(e=>{h.value=!1,f.value=!1,m.value=!1,E("complete")}).catch(()=>{h.value=!1,f.value=!1})};return w({showDialog:m,setFormData:k}),(o,e)=>{const c=P,i=S,T=$,p=q,N=A,B=G,j=X,U=H;return b(),M(U,{modelValue:m.value,"onUpdate:modelValue":e[4]||(e[4]=n=>m.value=n),title:t(a)("adjustMoneyDialogTitle"),width:"1000px",class:"diy-dialog-wrap","destroy-on-close":!0},{footer:s(()=>[d("span",se,[l(j,{onClick:e[2]||(e[2]=n=>m.value=!1)},{default:s(()=>[x(u(t(a)("cancel")),1)]),_:1}),l(j,{type:"primary",loading:f.value,onClick:e[3]||(e[3]=n=>D(o.formRef))},{default:s(()=>[x(u(t(a)("confirm")),1)]),_:1},8,["loading"])])]),default:s(()=>[d("div",Q,[d("h3",W,u(t(a)("adjustMoneyTips")),1),g.value.indexOf("real")!=-1?(b(),M(T,{key:0,"label-width":"50px",ref:"formRef",class:"page-form"},{default:s(()=>[l(i,{label:t(a)("adjustMoneyDeliveryMoney"),prop:"express_number"},{default:s(()=>[l(c,{modelValue:_.value,"onUpdate:modelValue":e[0]||(e[0]=n=>_.value=n),modelModifiers:{trim:!0},clearable:"",placeholder:"0.00",class:"!w-[200px]",maxlength:"8",onKeyup:e[1]||(e[1]=n=>F(n))},{append:s(()=>[x(u(t(a)("adjustMoneyUnit")),1)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1},512)):R("",!0),d("div",Y,[l(B,{data:r.order_goods,size:"large"},{default:s(()=>[l(p,{label:t(a)("adjustMoneyGoodsInfo"),align:"left",width:"200"},{default:s(({row:n})=>[d("p",Z,u(n.goods_name),1)]),_:1},8,["label"]),l(p,{prop:"price",label:t(a)("adjustMoneyPrice"),"min-width":"50",align:"left"},null,8,["label"]),l(p,{prop:"num",label:t(a)("adjustMoneyNum"),"min-width":"50",align:"right"},null,8,["label"]),l(p,{prop:"goods_money",label:t(a)("adjustMoneySubTotal"),"min-width":"50",align:"right"},null,8,["label"]),l(p,{prop:"discount_money",label:t(a)("adjustMoneyDiscountMoney"),"min-width":"50",align:"right"},null,8,["label"]),l(p,{prop:"goods_name",label:t(a)("adjustMoneyLabel"),"min-width":"100"},{header:s(()=>[d("div",null,[d("span",null,u(t(a)("adjustMoneyLabel")),1),l(N,{effect:"dark",content:"负数表示下调金额,正数表示上调金额",placement:"top"},{default:s(()=>[ee]),_:1})])]),default:s(({row:n,$index:I})=>[l(c,{modelValue:n.adjust_money,"onUpdate:modelValue":v=>n.adjust_money=v,modelModifiers:{trim:!0},clearable:"",placeholder:"0.00",maxlength:"6",onChange:v=>C(v,I,n)},{append:s(()=>[x(u(t(a)("adjustMoneyUnit")),1)]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:1},8,["label"]),l(p,{prop:"total",label:t(a)("adjustMoneyTotal"),"min-width":"70",align:"right"},null,8,["label"])]),_:1},8,["data"])]),oe,d("h3",te,[ae,g.value.indexOf("real")!=-1?(b(),V("span",le," = 实际商品金额 + 运费")):(b(),V("span",ne," = 实际商品金额"))])])]),_:1},8,["modelValue","title"])}}});export{je as _};
|
||||||
1
webroot/public/admin/assets/adminlogin-f1740ade.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as w,x as B,r as g,n as C,h as b,c as E,R as D,s as N,w as n,e as o,a as m,t as c,u as s,q as i,i as F,dr as I,ds as R,aR as S,L,a6 as O,M as U,E as y,Y as T}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css */import j from"./index-1b502051.js";/* empty css *//* empty css */import"./index.vue_vue_type_style_index_0_lang-99902804.js";/* empty css *//* empty css */import"./attachment-80449eff.js";import"./index.vue_vue_type_script_setup_true_lang-7c5306d3.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-dropdown-item-4ed993c7.js";import"./index.vue_vue_type_script_setup_true_lang-5748d357.js";/* empty css *//* empty css */import"./index.vue_vue_type_script_setup_true_lang-ded002e3.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./sortable.esm-be94e56d.js";const J={class:"main-container"},k={class:"panel-title !text-sm"},q={class:"form-tip"},M={class:"panel-title !text-sm"},Y={class:"form-tip"},$={class:"fixed-footer-wrap"},z={class:"fixed-footer"},Dt=w({__name:"adminlogin",setup(A){B().meta.title;const p=g(!0),_=g(),e=C({is_captcha:0,is_site_captcha:0,bg:"",site_bg:""});(async(d=0)=>{const t=await(await I()).data;Object.keys(e).forEach(a=>{["is_captcha","is_site_captcha"].includes(a)?e[a]=Boolean(Number(t[a])):e[a]=t[a]}),p.value=!1})();const h=async d=>{p.value||!d||await d.validate(t=>{if(t){const a=JSON.parse(JSON.stringify(e));Object.keys(a).forEach(l=>{["is_captcha","is_site_captcha"].includes(l)&&(a[l]=Number(a[l]))}),R(a).then(()=>{p.value=!1}).catch(()=>{p.value=!1})}})};return(d,t)=>{const a=S,l=L,u=j,f=O,v=U,V=y,x=T;return b(),E("div",J,[D((b(),N(v,{class:"page-form",model:e,"label-width":"150px",ref_key:"ruleFormRef",ref:_},{default:n(()=>[o(f,{class:"box-card !border-none",shadow:"never"},{default:n(()=>[m("h3",k,c(s(i)("admin")),1),o(l,{label:s(i)("isCaptcha"),prop:"formData.is_auth_register"},{default:n(()=>[o(a,{modelValue:e.is_captcha,"onUpdate:modelValue":t[0]||(t[0]=r=>e.is_captcha=r)},null,8,["modelValue"])]),_:1},8,["label"]),o(l,{label:s(i)("bgImg")},{default:n(()=>[o(u,{modelValue:e.bg,"onUpdate:modelValue":t[1]||(t[1]=r=>e.bg=r)},null,8,["modelValue"]),m("div",q,c(s(i)("adminBgImgTip")),1)]),_:1},8,["label"])]),_:1}),o(f,{class:"box-card mt-[15px] !border-none",shadow:"never"},{default:n(()=>[m("h3",M,c(s(i)("site")),1),o(l,{label:s(i)("isCaptcha"),prop:"formData.is_auth_register"},{default:n(()=>[o(a,{modelValue:e.is_site_captcha,"onUpdate:modelValue":t[2]||(t[2]=r=>e.is_site_captcha=r)},null,8,["modelValue"])]),_:1},8,["label"]),o(l,{label:s(i)("bgImg")},{default:n(()=>[o(u,{modelValue:e.site_bg,"onUpdate:modelValue":t[3]||(t[3]=r=>e.site_bg=r)},null,8,["modelValue"]),m("div",Y,c(s(i)("siteBgImgTip")),1)]),_:1},8,["label"])]),_:1})]),_:1},8,["model"])),[[x,p.value]]),m("div",$,[m("div",z,[o(V,{type:"primary",onClick:t[4]||(t[4]=r=>h(_.value))},{default:n(()=>[F(c(s(i)("save")),1)]),_:1})])])])}}});export{Dt as default};
|
||||||
1
webroot/public/admin/assets/agreement-67ac5c63.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as v,x as y,n as x,f as k,h as m,c as E,e as a,w as o,a as i,t as r,u as t,R as C,s as B,q as n,i as p,dt as N,ab as T,E as D,ac as L,a6 as A,Y as R}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */const V={class:"main-container"},j={class:"flex justify-between items-center"},$={class:"text-page-title"},q={class:"mt-[20px]"},X=v({__name:"agreement",setup(z){const _=y().meta.title,e=x({loading:!0,data:[]});(()=>{e.loading=!0,e.data=[],N().then(l=>{Object.keys(l.data).forEach(d=>e.data.push(l.data[d])),e.loading=!1}).catch(()=>{e.loading=!1})})();const u=k(),g=l=>{u.push(`/setting/agreement/edit?key=${l.agreement_key}`)};return(l,d)=>{const s=T,h=D,f=L,b=A,w=R;return m(),E("div",V,[a(b,{class:"box-card !border-none",shadow:"never"},{default:o(()=>[i("div",j,[i("span",$,r(t(_)),1)]),i("div",q,[C((m(),B(f,{data:e.data,size:"large"},{empty:o(()=>[i("span",null,r(e.loading?"":t(n)("emptyData")),1)]),default:o(()=>[a(s,{prop:"type_name",label:t(n)("typeName"),"min-width":"100","show-overflow-tooltip":!0},null,8,["label"]),a(s,{prop:"title",label:t(n)("title"),"min-width":"100","show-overflow-tooltip":!0},null,8,["label"]),a(s,{label:t(n)("updateTime"),"min-width":"180",align:"center"},{default:o(({row:c})=>[p(r(c.update_time||""),1)]),_:1},8,["label"]),a(s,{label:t(n)("operation"),align:"right",fixed:"right",width:"100"},{default:o(({row:c})=>[a(h,{type:"primary",link:"",onClick:Y=>g(c)},{default:o(()=>[p(r(t(n)("config")),1)]),_:2},1032,["onClick"])]),_:1},8,["label"])]),_:1},8,["data"])),[[w,e.loading]])])]),_:1})])}}});export{X as default};
|
||||||
1
webroot/public/admin/assets/agreement_edit-87621526.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as N,x as P,f as S,r as y,du as q,n as I,l as M,q as i,h as k,c as O,e as a,w as l,u as o,aO as T,R as U,s as j,a as w,i as h,t as V,dv as A,dw as L,aP as H,a6 as K,K as Y,L as z,M as G,E as J,Y as Q}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css */import{_ as W}from"./index.vue_vue_type_script_setup_true_lang-4f165392.js";/* empty css *//* empty css *//* empty css */import"./index.vue_vue_type_style_index_0_lang-99902804.js";/* empty css *//* empty css */import"./attachment-80449eff.js";import"./index.vue_vue_type_script_setup_true_lang-7c5306d3.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-dropdown-item-4ed993c7.js";import"./index.vue_vue_type_script_setup_true_lang-5748d357.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang-ded002e3.js";import"./_plugin-vue_export-helper-c27b6911.js";const X={class:"main-container"},Z={class:"fixed-footer-wrap"},ee={class:"fixed-footer"},Se=N({__name:"agreement_edit",setup(te){const d=P(),x=S(),u=d.query.key||"",s=y(!1),E=q(),B=d.meta.title,_={agreement_key:"",content:"",title:"",agreement_key_name:""},t=I({..._});s.value=!0,u&&(async(m="")=>{Object.assign(t,_);const e=await(await A(m)).data;Object.keys(t).forEach(r=>{e[r]!=null&&(t[r]=e[r])}),s.value=!1})(u);const f=y(),D=M(()=>({title:[{required:!0,message:i("titlePlaceholder"),trigger:"blur"}]})),R=async m=>{s.value||!m||await m.validate(async e=>{if(e){s.value=!0;const r=t;r.key=t.agreement_key,L(r).then(p=>{s.value=!1,v()}).catch(()=>{s.value=!1})}})},v=()=>{E.removeTab(d.path),x.push({path:"/setting/agreement"})};return(m,e)=>{const r=H,p=K,g=Y,c=z,C=W,F=G,b=J,$=Q;return k(),O("div",X,[a(p,{class:"card !border-none",shadow:"never"},{default:l(()=>[a(r,{content:o(B),icon:o(T),onBack:e[0]||(e[0]=n=>m.$router.back())},null,8,["content","icon"])]),_:1}),U((k(),j(p,{class:"box-card mt-[15px] !border-none",shadow:"never"},{default:l(()=>[a(F,{model:t,"label-width":"90px",ref_key:"formRef",ref:f,rules:o(D),class:"page-form"},{default:l(()=>[a(c,{label:o(i)("type")},{default:l(()=>[a(g,{modelValue:t.agreement_key_name,"onUpdate:modelValue":e[1]||(e[1]=n=>t.agreement_key_name=n),modelModifiers:{trim:!0},readonly:"",class:"input-width"},null,8,["modelValue"])]),_:1},8,["label"]),a(c,{label:o(i)("title"),prop:"title"},{default:l(()=>[a(g,{modelValue:t.title,"onUpdate:modelValue":e[2]||(e[2]=n=>t.title=n),modelModifiers:{trim:!0},clearable:"",placeholder:o(i)("titlePlaceholder"),class:"input-width",maxlength:"20"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(c,{label:o(i)("content")},{default:l(()=>[a(C,{modelValue:t.content,"onUpdate:modelValue":e[3]||(e[3]=n=>t.content=n)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["model","rules"])]),_:1})),[[$,s.value]]),w("div",Z,[w("div",ee,[a(b,{type:"primary",onClick:e[4]||(e[4]=n=>R(f.value))},{default:l(()=>[h(V(o(i)("save")),1)]),_:1}),a(b,{onClick:e[5]||(e[5]=n=>v())},{default:l(()=>[h(V(o(i)("cancel")),1)]),_:1})])])])}}});export{Se as default};
|
||||||
1
webroot/public/admin/assets/aliapp-4ba92bac.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{O as t}from"./index-ab1f467e.js";function e(){return t.get("aliapp/config")}function p(a){return t.put("aliapp/config",a,{showSuccessMessage:!0})}function n(){return t.get("aliapp/static")}export{n as a,e as g,p as s};
|
||||||
BIN
webroot/public/admin/assets/alipay1-029c00a2.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
webroot/public/admin/assets/alipay2-f74219b9.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
webroot/public/admin/assets/alipay3-0895ce6e.png
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
webroot/public/admin/assets/alipay4-92fef352.png
Normal file
|
After Width: | Height: | Size: 112 KiB |
BIN
webroot/public/admin/assets/alipay4_1-ad9b08e3.jpg
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
webroot/public/admin/assets/alipay4_2-cbaa820b.jpg
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
webroot/public/admin/assets/alipay4_3-4a213289.jpg
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
webroot/public/admin/assets/alipay4_4-7924cbdd.jpg
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
webroot/public/admin/assets/alipay5-6dba1989.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
webroot/public/admin/assets/alipay6-f1e18995.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
webroot/public/admin/assets/alipay7-c805d7c0.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
webroot/public/admin/assets/alipay8-3097d150.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
1
webroot/public/admin/assets/app.authorize-82383970.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const e="授权主体",t="授权域名",o="授权联系人",s="授权码",c="授权秘钥",a="授权时间",n="到期时间",d="授权应用",u="应用标识",p="授权域名不匹配",i="请输入授权码",h="请输入授权秘钥",r="重新绑定",l="还没有授权?去购买",T="授权码和授权秘钥可在Niucloud官网我的授权 授权详情中查看",m="是否要进行云编译该操作可能会影响到正在访问的客户是否要继续操作?",A="已经升级到最新版本",C={companyName:e,siteAddress:t,contactName:o,authCode:s,authSecret:c,createTime:a,expireTime:n,authApp:d,authAppKey:u,siteAddressTips:p,authCodePlaceholder:i,authSecretPlaceholder:h,updateCode:r,notHaveAuth:l,authInfoTips:T,cloudBuildTips:m,versionTips:A};export{d as authApp,u as authAppKey,s as authCode,i as authCodePlaceholder,T as authInfoTips,c as authSecret,h as authSecretPlaceholder,m as cloudBuildTips,e as companyName,o as contactName,a as createTime,C as default,n as expireTime,l as notHaveAuth,t as siteAddress,p as siteAddressTips,r as updateCode,A as versionTips};
|
||||||
1
webroot/public/admin/assets/app.index-6de21f8a.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const a="应用名称",p="请输入应用名称",e="暂无应用",t={appName:a,appNamePlaceholder:p,emptyAppData:e};export{a as appName,p as appNamePlaceholder,t as default,e as emptyAppData};
|
||||||
1
webroot/public/admin/assets/app.store-318dd53b.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const t="搜索应用名称",n="应用名/版本信息",o="简介",s="类型",e="应用",l="插件",a="暂无应用",c="安装",i="卸载",d="已安装",p="未安装",r="版本",u="名称",h="简介",T="插件信息",g="作者",m="详情",I="插件安装",b="目录读写权限",C="路径",P="要求",k="可读",v="可写",f="包管理工具",w="名称",A="插件安装成功",L="环境检查",x="安装进度",D="安装完成",S="插件管理",y="官方市场",N="安装任务尚未完成,关闭将取消安装任务,是否要继续关闭?",M="官方市场正在开发中!",j="任务队列未启动 请在服务端源码部署目录打开终端执行 php think queue:listen",B="冲突文件",E="启动进程",F="开启",H="下载",R="插件版本",U="版本号",V="发布时间",q="已购买",_="安装后需手动更新插件引用的依赖和编译各个端口的前端源码",z="本地安装",G="一键云安装",J="云安装可实现一键安装,安装后无需手动更新依赖和编译前端源码",K="有插件正在安装中请等待安装完成之后再进行其他操作,点击查看",O="安装进度",Q="下载中",W="云安装需先绑定授权码,如果已有授权请先进行绑定,没有授权可到niucloud官网购买云服务之后再进行操作",X="绑定授权",Y="去niucloud官网",Z="暂无任何应用,马上去",$="官方应用市场",tt="逛逛",nt="授权域名不匹配",ot="请输入授权码",st="请输入授权秘钥",et="重新绑定",lt="还没有授权?去购买",at="授权码和授权秘钥可在Niucloud官网我的授权 授权详情中查看",ct="插件卸载",it="应用标识",dt="标识指开发应用或插件的文件夹名称",pt={search:t,appName:n,introduction:o,type:s,app:e,addon:l,noPlug:a,install:c,unload:i,installLabel:d,uninstalledLabel:p,version:r,title:u,desc:h,plugDetail:T,author:g,detail:m,addonInstall:I,dirPermission:b,path:C,demand:P,readable:k,write:v,packageManageTool:f,name:w,addonInstallSuccess:A,envCheck:L,installProgress:x,installComplete:D,localAppText:S,marketAppText:y,installShowDialogCloseTips:N,marketDevelopMessage:M,jobError:j,conflictFiles:B,process:E,open:F,down:H,addonVersion:R,versionCode:U,createTime:V,buyLabel:q,installTips:_,localInstall:z,cloudInstall:G,cloudInstallTips:J,installingTips:K,installPercent:O,downloading:Q,authTips:W,toBind:X,toNiucloud:Y,descriptionLeft:Z,link:$,descriptionRight:tt,"installed-empty":"暂未安装任何应用,请先安装",siteAddressTips:nt,authCodePlaceholder:ot,authSecretPlaceholder:st,updateCode:et,notHaveAuth:lt,authInfoTips:at,addonUninstall:ct,appIdentification:it,tipText:dt};export{l as addon,I as addonInstall,A as addonInstallSuccess,ct as addonUninstall,R as addonVersion,e as app,it as appIdentification,n as appName,ot as authCodePlaceholder,at as authInfoTips,st as authSecretPlaceholder,W as authTips,g as author,q as buyLabel,G as cloudInstall,J as cloudInstallTips,B as conflictFiles,V as createTime,pt as default,P as demand,h as desc,Z as descriptionLeft,tt as descriptionRight,m as detail,b as dirPermission,H as down,Q as downloading,L as envCheck,c as install,D as installComplete,d as installLabel,O as installPercent,x as installProgress,N as installShowDialogCloseTips,_ as installTips,K as installingTips,o as introduction,j as jobError,$ as link,S as localAppText,z as localInstall,y as marketAppText,M as marketDevelopMessage,w as name,a as noPlug,lt as notHaveAuth,F as open,f as packageManageTool,C as path,T as plugDetail,E as process,k as readable,t as search,nt as siteAddressTips,dt as tipText,u as title,X as toBind,Y as toNiucloud,s as type,p as uninstalledLabel,i as unload,et as updateCode,r as version,U as versionCode,v as write};
|
||||||
BIN
webroot/public/admin/assets/app_auth-d99146b6.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
1
webroot/public/admin/assets/app_default-ef62993a.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAAEH5aXCAAAAAXNSR0IArs4c6QAACWVJREFUeAHtXYlXFDcYD/ex3LciCAiKVQGrePTV93z2727t66FVqkA9AJVTREWQazkWZGm+WTKbyUxm58tOZrfb5D1IJvnyXb/MbCaTo2h3P3FCkKEYSW+Rh1Pp5ydTBP5Y+GP8LUvacRFv05vFz+T9p69WYUtDLVnb3LEJf7p92U4rqeeQBKy+bu9aHJvqYla8e5AgscoKK83+lbIExAsf1sjs8hcr62xrA1n5smkXS9U7/HZsEx0epdN25mnCYVNHc51d3tGSTtuZpwmXTSKB17VDkheBV55SJbR6aCnZVfj79YLVQMdezls2T899dNnusIFvzTylFH2eqLqynL+00w4Jx8kk2Yrvk9rqSlJWWmIT8QlHo/x1bIYvs9OBVLKphQTarQ4bBGael2gJ6ApolTz1zJCJ1ioDP8/iSIQ4GhWvxvLnDTKz8InPstJdHU3k4vl2xxMeCuprq8jN73osGvGf1JK9g0OR1rrePzhyCYCCrZ19T3rIlAppbkg96MWaLY0xwt8urHz0Sg9LumK5kPoaFzFkdLY1eua/W1r1zIdMKSbwQ+kVJmeWHT+ajGZjZ48lXbHUEhdlFhnmZkQ5z7gL5a5ImnDhCJE+Vk5OTsgvT6cdvr9/8xIpKUkZn6Tlj8bfkTbaPYVHv1+QNmG/PtSjiVmyn3D+FHg9mZlgJUxEAcDst2dvGE9XrCTExYVmHHGvAmJ5aEKaJb8/IFBJyNBAp6gsGRnscuWxDCnwQMDeuRgxe/di1/H9BKmpcr6DsTI+ljZh6EiMTy3xtGT0Si+pq6kkT1/MkZ29hKNMqXU9npx1MIGLsVepdwhRAJTJmjyUKWECFTHBCMF4i/g2YRQnH2KDiY9z3EWF465IWpfbgeHnRAJJ+Gq7ORpD3D7JbY5BJLf+d0uX9rjcpOkcv45PmiqVenDrMikqSufC4KxsmKe1sZYMXTyXJkak0I9f/qtEEDnw5WL40jkCgy7PXy8GqUJ+GLlAqiq8x4dlDCK7R4IaAYrCGxw2RGYIVjEsfWSG+L21iEpjaFld9D0CFR+OTZNkMtgHSlGpg8QR+XPiHZNvx/A8uHfjovRTiE0oSSgZIuGV02z04xfGah4KYzl+Ftz7foCUl5VaIyF+AxU8j2r6tfTucB+flTGNvkf8Bsi9pE3Npb5VBDUCeOzRT7/YgDYEKyAqemNIYE9z3ZPAdRQI0YjAYGxNdeZhM9ClsqKMDJ/2nW4P9QVW78frA4FpGWHBPH7RiDAP5FtsDDGIaPJAwTQt89TS1EKU2RZM0zKGKLcBTRUNIpocq8zWIKLsOk0VDSKaHKvMtmAQQY9rgcvm6UT8xZU1ciwZbSyi3xG66fTU/u42Tw+vbcbJHJ3IH6eTQWpjFaS/q5001lV70gbNRHcaZXM1vQTW0nf7W9f67KLDo2/k9+fu1RSM4P4onbRVrNZI0LX4VRpMAVnMz46BATo/I4AHzG6HWWkqAW2IihCo4zd5jOcJA+QqIRJDoEkFDQCICiaRGLJ0uoAoqDEfV9OreILWicQQr3mKfgru028o2BCJIfU1uEdrPZ2rhw2RGAK/KZjQQj9TY0MkhoBSsQDTLIHOb0IplMtCZIbcoYPYmQbm4cfQb9KqzAjIRxvit25EFHRNmF37gC5zbOdW//H059obCfyyqwZ0F4UJgmkYxydJdumIi6nvGzL0neCXfpf2tWpilaT0dC65gwnyQtkQpBzt5Eq9X5iO4begB7QWO4zb8QN7hrKfVXeHLxDZOkW/euh75PHkXEYjQCB0GFn/CroobJq1nzJQBlO04RM4NqANwXw6Zp+kZ9+nFhEHVW5pZT0oqU2HNsSuiUj4LWj2YsMvhvYq98qLxBAvwWHnGUPC9mi2/Awi2Xow7PrRIJKptxiCVZEYwm8TEURnLD3wRBuCmSdyZ+iCpTf0eGFeSpAA81zqaqqCkDpoCqbTiEbE4YY8ujCG5BEYlioGEYOIJg+YpqXJscpsDSLKrtNUsWAQKZi+liagI2dbMC0rcs9pEmgA0eRYVbYGEFXPaapnANHkWFW2BhBVz2mqZwDR5FhVtgYQVc9pqmcA0eRYVbYGEFXPaapnANHkWFW2BhBVz2mqpzRHC6tL4vAbmZhZslYkYOvK6OGD6silbjrRM/O+QnCUAayIAD0yBdj1o7+rlbQ24We3ZuIdpFz74OI23X9/7NVCEF2UaK72d3rO8YQDKMan35OEwkRupgh8Hb8+2G1t5cLydMfaH1mf1re12uDFf/LNMvmLTlLMBgxQGtYYwSoX2ZbtOgzTDogOpR08hYmbz6YWydpG+jAYB63iBRw083p2RbE2rtp/HxDOXvit2NyWHyjAkaKTH9e2Ak0LRjMWKhQUILrAYD7TzR/kFBQgpZKDe5hDs43LSvW7S7+EbL2AqN/Z1oCgxpHCYuOOFn38mTYFBQgsPhvsO8NsCzWGdV5hrDLKpJT2F8NyzY+R8jLn+WKd9Ey7ulgVeUaPMpAtrc/kFL68gm4nOXq1h1SUB5vZy9dVSWt/MYQFRU/+mVfaLjKTQXDYG6xkhD04vQKcnPHy7QffQ0S86kFeasu/rsBbBMr4YPO1A8IUgkVY03Tfz0zL4hi9XwxL5wZ7z1onhvjR8WU7uwcEuq5fNuLkQDi/BujgSBMYLjnTWo/e5pmXk206MkCyVfT/Ut/7XtdoPZwvGd9NSJfz+omGpb4xenfIzqUU67Jlv0mFzSJKiorpcuEK5V1MRF2CXkcCCAwwwpBG0N2ygyoPi8nbmpzHxa5+3SYv6O9GmKG4uIjcuHxeaRkOVg/tj6z1rTiZoKOuusJgb4d9+OOH1Q0yPe8+SzMs2SN05Le53vuUy7BkaH8PWd9MncsclsIin7WNNH8+LdKFcb1Od5rSHbQDotuAQuNvAMkzRA0gBpA880CeqWPuEANInnkgz9TRfoeobLuE8VF1ZXoUtopLY3gEpdVtC+ihHRDYbg3OctMRYJCxvzt9gvYATUOejgA2gC26g/Y3dWYAbAi7QLfEgjf3OB15VflWAV/twOGNdTHS29liH3HOZLD4+DhpbTe8QYffYS8ylc1oS+hwCWx9Bzsp9pxtpqccRrABDTUgMkCYs0zs7wHtjyx/8aZU9IABRPRIjq8NIDkGQBRvABE9kuNrA0iOARDFG0BEj+T42gCSYwBE8QYQ0SM5vjaA5BgAUbwBRPRIjq8NIDkGQBT/L6Jfu8Mv7Hz7AAAAAElFTkSuQmCC";export{A as _};
|
||||||
1
webroot/public/admin/assets/app_manage-4b60621c.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as I,f as V,j as R,r as y,n as T,R as M,h as l,c as x,a as e,t as s,u as a,q as o,e as u,w as c,F as N,T as j,A as D,s as U,i as q,B as k,dh as b,G as w,E as z,J as G,aT as J,di as O,a9 as P,Y,p as $,g as H}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css */import{_ as K}from"./apply_empty-cdca3e85.js";import{g as Q}from"./addon-615e0d79.js";import{_ as W}from"./_plugin-vue_export-helper-c27b6911.js";const X=""+new URL("app_store_default-c0531792.png",import.meta.url).href,f=d=>($("data-v-cd580eb6"),d=d(),H(),d),Z={class:"box-border pt-[68px] px-[76px] overview-top"},ee={key:0},te={class:"flex justify-between items-center"},se={class:"font-[600] text-[26px] text-[#222] leading-[37px]"},ae={class:"font-[500] text-[14px] text-[#222] leading-[20px] mt-[12px]"},oe=f(()=>e("div",{class:"mr-[9px] text-[#3F3F3F] iconfont iconxiazai01"},null,-1)),ne={class:"font-[600] text-[14px] text-[#222] leading-[20px]"},pe={class:"flex flex-wrap mt-[40px]"},ce=["onClick"],ie={class:"bg-[#F7FAFB] py-[18px] px-[24px] flex items-center app-item-head"},re=f(()=>e("div",{class:"image-slot"},[e("img",{class:"w-[40px] h-[40px] rounded-[8px]",src:X})],-1)),le={class:"py-[18px] px-[24px]"},de={class:"font-[600] leading-[1] text-[14px] text-[#222]"},_e={class:"text-[13px] text-[#6D7278] leading-[18px] mt-[6px] truncate"},xe=f(()=>e("div",{class:"w-[230px] mx-auto"},[e("img",{src:K,class:"max-w-full",alt:""})],-1)),ue={class:"flex items-center"},me=I({__name:"app_manage",setup(d){const v=V(),m=R(),n=y(!0),_=T({appList:[]}),h=y({});(()=>{n.value=!0,Q().then(p=>{Object.values(p.data).forEach((t,i)=>{t.type=="app"&&_.appList.push(t)}),m.routers.forEach((t,i)=>{t.children&&t.children.length?(t.name=b(t.children),h.value[t.meta.app]=b(t.children)):h.value[t.meta.app]=t.name}),n.value=!1}).catch(()=>{n.value=!1})})();const L=p=>{w.set({key:"menuAppStorage",data:p.key}),w.set({key:"plugMenuTypeStorage",data:""});const t=m.appMenuList;t.push(p.key),m.setAppMenuList(t);const i=h.value[p.key];v.push({name:i})},g=()=>{v.push("/app_manage/app_store")};return(p,t)=>{const i=z,F=G,E=J,S=O,A=P,B=Y;return M((l(),x("div",Z,[_.appList&&!n.value?(l(),x("div",ee,[e("div",te,[e("div",null,[e("div",se,s(a(o)("app")),1),e("div",ae,s(a(o)("versionInfo"))+" "+s(a(o)("currentVersion")),1)]),u(i,{onClick:g,class:"px-[15px]"},{default:c(()=>[oe,e("span",ne,s(a(o)("appStore")),1)]),_:1})]),e("div",pe,[(l(!0),x(N,null,j(_.appList,(r,C)=>(l(),x("div",{key:C,class:"app-item w-[280px] box-border !bg-[#fff] rounded-[6px] cursor-pointer mr-[20px] mb-[20px] overflow-hidden",onClick:fe=>L(r)},[e("div",ie,[u(F,{class:"w-[44px] h-[44px] rounded-[8px]",src:a(D)(r.icon),fit:"contain"},{error:c(()=>[re]),_:2},1032,["src"])]),e("div",le,[e("div",de,s(r.title),1),u(E,{class:"box-item",effect:"light",content:r.desc,placement:"bottom-start"},{default:c(()=>[e("div",_e,s(r.desc),1)]),_:2},1032,["content"])])],8,ce))),128)),!_.appList.length&&!n.value?(l(),U(A,{key:0,class:"mx-auto overview-empty"},{image:c(()=>[xe]),description:c(()=>[e("p",ue,[e("span",null,s(a(o)("descriptionLeft")),1),u(S,{type:"primary",onClick:g,class:"mx-[5px]"},{default:c(()=>[q(s(a(o)("link")),1)]),_:1}),e("span",null,s(a(o)("descriptionRight")),1)])]),_:1})):k("",!0)])])):k("",!0)])),[[B,n.value]])}}});const Ce=W(me,[["__scopeId","data-v-cd580eb6"]]);export{Ce as default};
|
||||||
1
webroot/public/admin/assets/app_manage-e6af37fd.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.main-container[data-v-cd580eb6]{background:linear-gradient(180deg,rgba(253,253,253,.24) 0%,#FAFAFA 100%);min-height:calc(100vh - 64px)}.overview-top[data-v-cd580eb6]{background-image:url(./overview-85d8713c.png);background-repeat:no-repeat;background-size:cover;height:calc(100vh - 120px)}.app-item[data-v-cd580eb6]{box-shadow:0 2px 4px #0000002e}.app-item:hover .app-item-head[data-v-cd580eb6]{background-color:#fdf4ef}.overview-empty .el-empty__image{width:auto!important}
|
||||||
BIN
webroot/public/admin/assets/app_store_default-c0531792.png
Normal file
|
After Width: | Height: | Size: 156 KiB |
BIN
webroot/public/admin/assets/apply_empty-3450716b.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
1
webroot/public/admin/assets/apply_empty-cdca3e85.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const p=""+new URL("apply_empty-3450716b.png",import.meta.url).href;export{p as _};
|
||||||
1
webroot/public/admin/assets/article-45ec0907.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{O as t}from"./index-ab1f467e.js";function c(e){return t.get("cms/article",{params:e})}function s(e){return t.get(`cms/article/${e}`)}function o(e){return t.post("cms/article",e,{showSuccessMessage:!0})}function u(e){return t.put(`cms/article/${e.id}`,e,{showSuccessMessage:!0})}function a(e){return t.delete(`cms/article/${e}`,{showSuccessMessage:!0})}function i(e){return t.get("cms/category",{params:e})}function n(e){return t.get("cms/category/all",e)}function g(e){return t.get(`cms/category/${e}`)}function l(e){return t.post("cms/category",e,{showSuccessMessage:!0})}function f(e){return t.put(`cms/category/${e.category_id}`,e,{showSuccessMessage:!0})}function d(e){return t.delete(`cms/category/${e}`,{showSuccessMessage:!0})}export{i as a,l as b,g as c,d,f as e,s as f,c as g,n as h,u as i,o as j,a as k};
|
||||||
1
webroot/public/admin/assets/article.category-231dd734.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const e="栏目名称",t="排序",o="是否显示",r="请输入栏目名称",s="请输入排序",a="是否显示",c="添加栏目",l="编辑栏目",n="确定要删除该栏目吗?",i="名称不能超过20个字符",d="排序号必须是数字",h="排序号不能超过10000",m="显示",w="不显示",g="文章数量",u={name:e,sort:t,isShow:o,namePlaceholder:r,sortPlaceholder:s,isShowPlaceholder:a,addArticleCategory:c,updateArticleCategory:l,articleCategoryDeleteTips:n,nameMax:i,sortNumber:d,sortBetween:h,show:m,hide:w,articleNumber:g};export{c as addArticleCategory,n as articleCategoryDeleteTips,g as articleNumber,u as default,w as hide,o as isShow,a as isShowPlaceholder,e as name,i as nameMax,r as namePlaceholder,m as show,t as sort,h as sortBetween,d as sortNumber,s as sortPlaceholder,l as updateArticleCategory};
|
||||||
1
webroot/public/admin/assets/article.edit-c1d25987.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const t="文章栏目",e="文章标题",o="简介",c="文章摘要",a="文章图片",r="作者",l="文章内容",s="实际浏览量",i="初始浏览量",n="是否显示",h="排序",d="请选择文章栏目",u="请输入文章标题",m="请输入简介",P="请输入文章摘要",w="请上传文章图片",x="请输入作者",g="请输入文章内容",y="请输入实际浏览量",M="请输入初始浏览量",v="是否显示",N="请输入排序",S="添加文章",b="编辑文章",A="文章标题不能超过20个字符",B="文章简介不能超过50个字符",V="文章摘要不能超过50个字符",p="图片路径太长",I="文章作者不能超过20个字符",f="是否显示必须是数字",_="是否显示只能是0或者1",j="排序号必须是数字",k="排序号需要在0-10000之间",q="未读取到文章信息!",z={categoryName:t,title:e,intro:o,summary:c,image:a,author:r,content:l,visit:s,visitVirtual:i,isShow:n,sort:h,categoryIdPlaceholder:d,titlePlaceholder:u,introPlaceholder:m,summaryPlaceholder:P,imagePlaceholder:w,authorPlaceholder:x,contentPlaceholder:g,visitPlaceholder:y,visitVirtualPlaceholder:M,isShowPlaceholder:v,sortPlaceholder:N,addArticle:S,updateArticle:b,titleMax:A,introMax:B,summaryMax:V,imageMax:p,authorMax:I,isShowNumber:f,isShowBetween:_,sortNumber:j,sortBetween:k,articleNull:q};export{S as addArticle,q as articleNull,r as author,I as authorMax,x as authorPlaceholder,d as categoryIdPlaceholder,t as categoryName,l as content,g as contentPlaceholder,z as default,a as image,p as imageMax,w as imagePlaceholder,o as intro,B as introMax,m as introPlaceholder,n as isShow,_ as isShowBetween,f as isShowNumber,v as isShowPlaceholder,h as sort,k as sortBetween,j as sortNumber,N as sortPlaceholder,c as summary,V as summaryMax,P as summaryPlaceholder,e as title,A as titleMax,u as titlePlaceholder,b as updateArticle,s as visit,y as visitPlaceholder,i as visitVirtual,M as visitVirtualPlaceholder};
|
||||||
1
webroot/public/admin/assets/article.list-e3213d9d.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const t="栏目",e="ID",c="标题",o="简介",i="摘要",s="封面",a="作者",r="文章内容",n="浏览量",l="初始浏览量",d="是否显示",m="排序",u="创建时间",h="更新时间",p="添加文章",g="编辑文章",y="请输入文章标题",T="请选择文章栏目",D="确定要删除该文章吗?",I={categoryName:t,ID:e,title:c,intro:o,summary:i,image:s,author:a,content:r,visit:n,visitVirtual:l,isShow:d,sort:m,createTime:u,updateTime:h,addArticle:p,updateArticle:g,titlePlaceholder:y,categoryIdPlaceholder:T,articleDeleteTips:D};export{e as ID,p as addArticle,D as articleDeleteTips,a as author,T as categoryIdPlaceholder,t as categoryName,r as content,u as createTime,I as default,s as image,o as intro,d as isShow,m as sort,i as summary,c as title,y as titlePlaceholder,g as updateArticle,h as updateTime,n as visit,l as visitVirtual};
|
||||||
1
webroot/public/admin/assets/attachment-24bbca58.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as f,x as h,r as x,h as m,c as s,e,w as o,a as i,t as y,u as p,F as b,T as v,q as g,aw as w,ax as V,a6 as E}from"./index-ab1f467e.js";/* empty css *//* empty css */import T from"./attachment-80449eff.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang-7c5306d3.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-dropdown-item-4ed993c7.js";import"./index.vue_vue_type_script_setup_true_lang-5748d357.js";/* empty css *//* empty css */import"./index.vue_vue_type_script_setup_true_lang-ded002e3.js";import"./_plugin-vue_export-helper-c27b6911.js";const k={class:"main-container attachment-container"},B={class:"flex justify-between items-center mb-[20px]"},C={class:"text-page-title"},st=f({__name:"attachment",setup(N){const l=h().meta.title,a=["image","video","icon"],n=x(a[0]);return(j,r)=>{const c=w,_=V,d=E;return m(),s("div",k,[e(d,{class:"box-card !border-none full-container",shadow:"never"},{default:o(()=>[i("div",B,[i("span",C,y(p(l)),1)]),e(_,{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=t=>n.value=t)},{default:o(()=>[(m(),s(b,null,v(a,(t,u)=>e(c,{label:p(g)(t),name:t,key:u},{default:o(()=>[e(T,{scene:"attachment",type:t},null,8,["type"])]),_:2},1032,["label","name"])),64))]),_:1},8,["modelValue"])]),_:1})])}}});export{st as default};
|
||||||
1
webroot/public/admin/assets/attachment-80449eff.js
Normal file
1
webroot/public/admin/assets/attachment-a7195135.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.attachment-container{overflow:hidden;min-height:calc(100vh - 94px);background-color:var(--el-bg-color-overlay)}.attachment-container .full-container{height:calc(100vh - 100px)}.attachment-container .el-card__body{height:100%}.attachment-container .el-tabs{display:flex;flex-direction:column;height:calc(100% - 40px)}.attachment-container .el-tabs__content{flex:1}.attachment-container .el-tabs__content .el-tab-pane{height:100%}.attachment-container .el-tabs__nav-wrap:after{height:1px}.attachment-container .main-wrap{border:none}.attachment-container .main-wrap .group-wrap{padding:0 15px 0 0}.attachment-container .main-wrap .attachment-list-wrap{padding:0 0 0 15px}
|
||||||
1
webroot/public/admin/assets/attachment-b3b41609.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.group-list .group-item[data-v-1df784e9]{height:32px;margin-top:3px}.group-list .group-item .operate[data-v-1df784e9]{display:none}.group-list .group-item.active[data-v-1df784e9]{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.group-list .group-item[data-v-1df784e9]:hover{background-color:var(--el-color-primary-light-9)}.group-list .group-item:hover .operate[data-v-1df784e9],.attachment-item:hover .attachment-action[data-v-1df784e9]{display:block}.attachment-list-wrap .attachment-wrap[data-v-1df784e9]{background:var(--el-border-color-extra-light)}.file-box-active[data-v-1df784e9]:after{content:"";display:block;position:absolute;border:15px solid;border-bottom-color:var(--el-color-primary);border-right-color:var(--el-color-primary);border-top-color:transparent;border-left-color:transparent;bottom:0;right:0}.file-box-active span[data-v-1df784e9]{font-style:normal}.video-preview{background:none!important;box-shadow:none!important}.video-preview .el-dialog__headerbtn .el-dialog__close{border-radius:50%;width:34px;height:34px;font-size:24px;color:#fff;background-color:var(--el-text-color-regular);border-color:#fff}.el-upload-list{position:absolute!important;z-index:10}.el-upload-list .el-upload-list__item{background:#fff!important;box-shadow:var(--el-box-shadow-light)}
|
||||||
1
webroot/public/admin/assets/attr-0f8d0160.js
Normal file
1
webroot/public/admin/assets/attr_edit-46730b14.js
Normal file
1
webroot/public/admin/assets/auth.log-71585a97.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const e="登录IP",s="管理员姓名",l="链接",o="详情",a="参数",r="请求方式",c="操作时间",t="请输入登录IP",d="请输入管理员id",n="请输入管理员姓名",p="请输入链接",u="请输入参数",P="请输入请求方式",h="请输入操作时间",i="添加管理员操作记录表",m="编辑管理员操作记录表",y="确定要删除该管理员操作记录表吗?",g={ip:e,username:s,url:l,detail:o,params:a,type:r,createTime:c,ipPlaceholder:t,uidPlaceholder:d,usernamePlaceholder:n,urlPlaceholder:p,paramsPlaceholder:u,typePlaceholder:P,createTimePlaceholder:h,addSysUserLog:i,updateSysUserLog:m,sys_user_logDeleteTips:y};export{i as addSysUserLog,c as createTime,h as createTimePlaceholder,g as default,o as detail,e as ip,t as ipPlaceholder,a as params,u as paramsPlaceholder,y as sys_user_logDeleteTips,r as type,P as typePlaceholder,d as uidPlaceholder,m as updateSysUserLog,l as url,p as urlPlaceholder,s as username,n as usernamePlaceholder};
|
||||||
1
webroot/public/admin/assets/auth.menu-5826e62a.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const e="菜单名称",n="类型",t="api路径",o="目录",a="菜单",u="按钮",c="删除菜单会删除当前菜单以及该菜单下所有子菜单,是否确认删除?",l="重置菜单",i="重置菜单会将应用或插件的dict目录下的菜单配置文件中,菜单配置更新到数据库一般用做开发者修改了dict菜单配置文件后,同步到数据库操作。",s="如果用户手动调整过以下菜单项,通常允许进行本项操作,操作会重置为原始菜单。 请谨慎使用!",m="添加菜单",d="编辑菜单",h="路由路径",r="组件路径",p="选择应用",P="父级菜单",T="菜单图标",y="权重",M="权限标识",I="请输入菜单名称",N="请输入权限标识",v="菜单标识只能使用字母数字下划线并且开头不能为数字",w="请输入路由路径",z="请输入组件路径",K="请输入api路径",D="请选择菜单图标",S="顶级",B="菜单短标题",L="请输入菜单短标题",O={menuName:e,menuType:n,authId:t,menuTypeDir:o,menuTypeMenu:a,menuTypeButton:u,menuDeleteTips:c,initializeMenu:l,initializeMenuTipsOne:i,initializeMenuTipsTwo:s,addMenu:m,updateMenu:d,routePath:h,viewPath:r,addon:p,parentMenu:P,menuIcon:T,sort:y,menuKey:M,menuNamePlaceholder:I,menuKeyPlaceholder:N,menuKeyValidata:v,routePathPlaceholder:w,viewPathPlaceholder:z,authIdPlaceholder:K,selectIconPlaceholder:D,topLevel:S,menuShortName:B,menuShortNamePlaceholder:L};export{m as addMenu,p as addon,t as authId,K as authIdPlaceholder,O as default,l as initializeMenu,i as initializeMenuTipsOne,s as initializeMenuTipsTwo,c as menuDeleteTips,T as menuIcon,M as menuKey,N as menuKeyPlaceholder,v as menuKeyValidata,e as menuName,I as menuNamePlaceholder,B as menuShortName,L as menuShortNamePlaceholder,n as menuType,u as menuTypeButton,o as menuTypeDir,a as menuTypeMenu,P as parentMenu,h as routePath,w as routePathPlaceholder,D as selectIconPlaceholder,y as sort,S as topLevel,d as updateMenu,r as viewPath,z as viewPathPlaceholder};
|
||||||
1
webroot/public/admin/assets/auth.menu-b101f965.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const e="Menu name",n="Type",t="Permission ID",o="Dir",u="Menu",a="Button",c="Are you sure you want to delete this menu?",s="Add menu",l="Update menu",m="Route path",h="Component path",r="Parent menu",d="Menu Icon",p="Please enter a menu name",P="Please enter routing path",i="Please enter the component path",y="Please enter Permission id",M="Please select the menu icon",T="top-level",I={menuName:e,menuType:n,authId:t,menuTypeDir:o,menuTypeMenu:u,menuTypeButton:a,menuDeleteTips:c,addMenu:s,updateMenu:l,routePath:m,viewPath:h,parentMenu:r,menuIcon:d,menuNamePlaceholder:p,routePathPlaceholder:P,viewPathPlaceholder:i,authIdPlaceholder:y,selectIconPlaceholder:M,topLevel:T};export{s as addMenu,t as authId,y as authIdPlaceholder,I as default,c as menuDeleteTips,d as menuIcon,e as menuName,p as menuNamePlaceholder,n as menuType,a as menuTypeButton,o as menuTypeDir,u as menuTypeMenu,r as parentMenu,m as routePath,P as routePathPlaceholder,M as selectIconPlaceholder,T as topLevel,l as updateMenu,h as viewPath,i as viewPathPlaceholder};
|
||||||
1
webroot/public/admin/assets/auth.role-2e897342.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const e="新增角色",o="编辑角色",l="角色名称",t="确定要删除该角色吗?",c="请输入角色名称",s="请选择权限",r="父子级不关联",a="权限",d="展开/折叠",n={addRole:e,updateRole:o,roleName:l,roleDeleteTips:t,roleNamePlaceholder:c,rulesPlaceholder:s,checkStrictly:r,permission:a,foldText:d};export{e as addRole,r as checkStrictly,n as default,d as foldText,a as permission,t as roleDeleteTips,l as roleName,c as roleNamePlaceholder,s as rulesPlaceholder,o as updateRole};
|
||||||
1
webroot/public/admin/assets/auth.site_menu-d26c9801.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const e="菜单名称",n="类型",t="权限标识",o="目录",a="菜单",c="按钮",u="确定要删除该菜单吗?",s="添加菜单",i="重置菜单",l="重置菜单会将应用或插件的dict目录下的菜单配置文件中,菜单配置更新到数据库一般用做开发者修改了dict菜单配置文件后,同步到数据库操作。",m="如果用户手动调整过以下菜单项,通常允许进行本项操作,操作会重置为原始菜单。 请谨慎使用!",d="编辑菜单",h="路由路径",r="组件路径",p="父级菜单",P="菜单图标",y="权重",T="菜单标识",M="请输入菜单名称",I="请输入菜单标识",N="菜单标识只能使用字母数字下划线并且开头不能为数字",v="请输入路由路径",w="请输入组件路径",z="请输入权限标识",K="请选择菜单图标",D="顶级",S="菜单短标题",B="请输入菜单短标题",L="选择应用",O="系统菜单",V="应用菜单",_={menuName:e,menuType:n,authId:t,menuTypeDir:o,menuTypeMenu:a,menuTypeButton:c,menuDeleteTips:u,addMenu:s,initializeMenu:i,initializeMenuTipsOne:l,initializeMenuTipsTwo:m,updateMenu:d,routePath:h,viewPath:r,parentMenu:p,menuIcon:P,sort:y,menuKey:T,menuNamePlaceholder:M,menuKeyPlaceholder:I,menuKeyValidata:N,routePathPlaceholder:v,viewPathPlaceholder:w,authIdPlaceholder:z,selectIconPlaceholder:K,topLevel:D,menuShortName:S,menuShortNamePlaceholder:B,addon:L,system:O,application:V};export{s as addMenu,L as addon,V as application,t as authId,z as authIdPlaceholder,_ as default,i as initializeMenu,l as initializeMenuTipsOne,m as initializeMenuTipsTwo,u as menuDeleteTips,P as menuIcon,T as menuKey,I as menuKeyPlaceholder,N as menuKeyValidata,e as menuName,M as menuNamePlaceholder,S as menuShortName,B as menuShortNamePlaceholder,n as menuType,c as menuTypeButton,o as menuTypeDir,a as menuTypeMenu,p as parentMenu,h as routePath,v as routePathPlaceholder,K as selectIconPlaceholder,y as sort,O as system,D as topLevel,d as updateMenu,r as viewPath,w as viewPathPlaceholder};
|
||||||
1
webroot/public/admin/assets/auth.user-8e7f7033.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const s="新增管理员",e="编辑管理员",o="姓名",a="最后登录时间",r="最后登录IP",t="请输入账号",n="请输入密码",c="请再次确认密码",l="请输入姓名",d="两次输入的密码不一致",i="角色",u="超级管理员",m="请选择角色",P="锁定",h="解锁",p="用户状态",g="正常",k="锁定",T="超级管理员不可编辑",w="确定要解锁该管理员吗?",A="确定要锁定该管理员吗?",L="用户类型",N="平台管理员",R="站点管理员",U="请选择用户类型",b="站点管理员不可编辑",f="用户",y="请选择用户",D="选择或者新增用户作为管理员",I="新增用户",E={addUser:s,updateUser:e,userRealName:o,lastLoginTime:a,lastLoginIP:r,accountNumberPlaceholder:t,passwordPlaceholder:n,confirmPasswordPlaceholder:c,userRealNamePlaceholder:l,confirmPasswordError:d,userRoleName:i,administrator:u,userRolePlaceholder:m,lock:P,unlock:h,status:p,statusUnlock:g,statusLock:k,adminDisabled:T,userUnlockTips:w,userLockTips:A,userType:L,adminAdministrators:N,siteAdministrators:R,userTypePlaceholder:U,siteAdministratorsDisabled:b,manager:f,managerPlaceholder:y,managerTips:D,newAddManager:I};export{t as accountNumberPlaceholder,s as addUser,N as adminAdministrators,T as adminDisabled,u as administrator,d as confirmPasswordError,c as confirmPasswordPlaceholder,E as default,r as lastLoginIP,a as lastLoginTime,P as lock,f as manager,y as managerPlaceholder,D as managerTips,I as newAddManager,n as passwordPlaceholder,R as siteAdministrators,b as siteAdministratorsDisabled,p as status,k as statusLock,g as statusUnlock,h as unlock,e as updateUser,A as userLockTips,o as userRealName,l as userRealNamePlaceholder,i as userRoleName,m as userRolePlaceholder,L as userType,U as userTypePlaceholder,w as userUnlockTips};
|
||||||
1
webroot/public/admin/assets/authorize-3299c5a1.js
Normal file
1
webroot/public/admin/assets/authorize-4ad920f8.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);list-style:none;margin:0}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{display:block;height:calc(50% - 10px)}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{padding-left:28px;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;left:4px;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{align-items:center;background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);border-radius:50%;box-sizing:border-box;display:flex;justify-content:center;position:absolute}.el-timeline-item__node--normal{height:var(--el-timeline-node-size-normal);left:-1px;width:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{height:var(--el-timeline-node-size-large);left:-2px;width:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{align-items:center;display:flex;justify-content:center;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);font-size:var(--el-font-size-small);line-height:1}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}
|
||||||
1
webroot/public/admin/assets/balance-ba4fb947.js
Normal file
1
webroot/public/admin/assets/batch_delivery-9e258dcb.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as b,r as d,n as w,H as m,l as g,Q as c,h as E,s as F,w as i,e as n,a,R,i as j,a0 as B,au as C,K as N,L as O,M as k}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css */const D={class:"flex items-center"},I=a("span",{class:"ml-[10px] el-form-item__label"},"消费折扣",-1),M={class:"w-[120px]"},U=a("div",{class:"text-sm text-gray-400 mb-[5px]"},"会员购买产品默认折扣,需要商品设置参与会员折扣有效",-1),S=b({__name:"benefits-discount",props:{modelValue:{type:Object,default:()=>({})}},emits:["update:modelValue"],setup(p,{expose:_,emit:f}){const v=p,e=d({is_use:0,discount:""}),r=d(null),x=w({discount:[{validator:(l,t,s)=>{e.value.is_use&&(m.empty(e.value.discount)&&s("请输入折扣"),m.decimal(e.value.discount,1)||s("折扣格式错误"),(parseFloat(e.value.discount)<.1||parseFloat(e.value.discount)>9.9)&&s("折扣只能输入0.1~9.9之间的值"),e.value.discount<=0&&s("折扣不能小于等于0")),s()}}]}),o=g({get(){return v.modelValue},set(l){f("update:modelValue",l)}});return c(()=>o.value,(l,t)=>{(!t||!Object.keys(t).length)&&Object.keys(l).length&&(e.value=o.value)},{immediate:!0}),c(()=>e.value,()=>{o.value=e.value},{deep:!0}),_({verify:async()=>{var t;let l=!0;return await((t=r.value)==null?void 0:t.validate(s=>{l=s})),l}}),(l,t)=>{const s=C,V=N,h=O,y=k;return E(),F(y,{ref_key:"formRef",ref:r,model:e.value,rules:x},{default:i(()=>[n(h,{label:"",prop:"discount",class:"!mb-[10px]"},{default:i(()=>[a("div",null,[a("div",D,[n(s,{modelValue:e.value.is_use,"onUpdate:modelValue":t[0]||(t[0]=u=>e.value.is_use=u),"true-label":1,"false-label":0,label:"",size:"large"},null,8,["modelValue"]),I,R(a("div",M,[n(V,{modelValue:e.value.discount,"onUpdate:modelValue":t[1]||(t[1]=u=>e.value.discount=u),modelModifiers:{trim:!0},clearable:""},{append:i(()=>[j("折")]),_:1},8,["modelValue"])],512),[[B,e.value.is_use]])]),U])]),_:1})]),_:1},8,["model","rules"])}}});export{S as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as x,r as o,n as y,l as V,Q as r,h as k,s as g,w as m,e as u,a,au as j,L as w,M as B}from"./index-ab1f467e.js";/* empty css *//* empty css */const C={class:"flex items-center"},E=a("span",{class:"ml-[10px] el-form-item__label"},"包邮",-1),O=a("div",{class:"text-sm text-gray-400 mb-[5px]"},"该包邮仅针对物流配送",-1),D=x({__name:"benefits-free-shipping",props:{modelValue:{type:Object,default:()=>({})}},emits:["update:modelValue"],setup(n,{expose:c,emit:i}){const d=n,e=o({is_use:0}),_=o(null),p=y({}),s=V({get(){return d.modelValue},set(l){i("update:modelValue",l)}});return r(()=>s.value,(l,t)=>{(!t||!Object.keys(t).length)&&Object.keys(l).length&&(e.value=s.value)},{immediate:!0}),r(()=>e.value,()=>{s.value=e.value},{deep:!0}),c({verify:async()=>!0}),(l,t)=>{const f=j,v=w,b=B;return k(),g(b,{ref_key:"formRef",ref:_,model:e.value,rules:p},{default:m(()=>[u(v,{label:"",prop:"money",class:"!mb-0"},{default:m(()=>[a("div",C,[u(f,{modelValue:e.value.is_use,"onUpdate:modelValue":t[0]||(t[0]=h=>e.value.is_use=h),"true-label":1,"false-label":0,label:"",size:"large",class:"!mr-0"},null,8,["modelValue"]),E])]),_:1}),O]),_:1},8,["model","rules"])}}});export{D as default};
|
||||||
1
webroot/public/admin/assets/brand-edit-1c99c58d.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.diy-dialog-wrap .el-form-item__label{height:auto!important}
|
||||||
1
webroot/public/admin/assets/brand-edit-7c79b908.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./brand-edit.vue_vue_type_style_index_0_lang-081675d8.js";import"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./index-1b502051.js";/* empty css */import"./index.vue_vue_type_style_index_0_lang-99902804.js";import"./attachment-80449eff.js";import"./index.vue_vue_type_script_setup_true_lang-7c5306d3.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-dropdown-item-4ed993c7.js";import"./index.vue_vue_type_script_setup_true_lang-5748d357.js";/* empty css *//* empty css */import"./index.vue_vue_type_script_setup_true_lang-ded002e3.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./sortable.esm-be94e56d.js";import"./goods-3f99dba1.js";export{o as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as U,r as p,n as k,l as C,q as t,h as v,s as V,w as d,a as M,e as r,i as w,t as y,u as o,R as P,dn as R,K as q,L as I,M as j,E as K,X as L,Y as O}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import $ from"./index-1b502051.js";/* empty css */import{p as S,q as T,r as X}from"./goods-3f99dba1.js";const Y={class:"dialog-footer"},te=U({__name:"brand-edit",emits:["complete"],setup(z,{expose:x,emit:B}){const u=p(!1),s=p(!1),f=p(""),_={brand_id:"",brand_name:"",logo:"",desc:"",sort:""},l=k({..._}),b=p(),h=C(()=>({brand_name:[{required:!0,message:t("brandNamePlaceholder"),trigger:"blur"}]})),D=async i=>{if(s.value||!i)return;const e=l.brand_id?S:T;await i.validate(async n=>{n&&(s.value=!0,e(l).then(c=>{s.value=!1,u.value=!1,B("complete")}).catch(c=>{s.value=!1}))})};return x({showDialog:u,setFormData:async(i=null)=>{if(Object.assign(l,_),s.value=!0,i){const e=await(await X(i.brand_id)).data;f.value=t("updateBrand"),e&&Object.keys(l).forEach(n=>{e[n]!=null&&(l[n]=e[n])})}else f.value=t("addBrand");s.value=!1}}),(i,e)=>{const n=q,m=I,c=$,E=j,g=K,N=L,F=O;return v(),V(N,{modelValue:u.value,"onUpdate:modelValue":e[9]||(e[9]=a=>u.value=a),title:f.value,width:"500px",class:"diy-dialog-wrap","destroy-on-close":!0},{footer:d(()=>[M("span",Y,[r(g,{onClick:e[7]||(e[7]=a=>u.value=!1)},{default:d(()=>[w(y(o(t)("cancel")),1)]),_:1}),r(g,{type:"primary",loading:s.value,onClick:e[8]||(e[8]=a=>D(b.value))},{default:d(()=>[w(y(o(t)("confirm")),1)]),_:1},8,["loading"])])]),default:d(()=>[P((v(),V(E,{model:l,"label-width":"120px",ref_key:"formRef",ref:b,rules:o(h),class:"page-form"},{default:d(()=>[r(m,{label:o(t)("brandName"),prop:"brand_name"},{default:d(()=>[r(n,{modelValue:l.brand_name,"onUpdate:modelValue":e[0]||(e[0]=a=>l.brand_name=a),modelModifiers:{trim:!0},clearable:"",placeholder:o(t)("brandNamePlaceholder"),class:"input-width",maxlength:"20",onBlur:e[1]||(e[1]=a=>l.brand_name=a.target.value)},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(m,{label:o(t)("logo")},{default:d(()=>[r(c,{modelValue:l.logo,"onUpdate:modelValue":e[2]||(e[2]=a=>l.logo=a)},null,8,["modelValue"])]),_:1},8,["label"]),r(m,{label:o(t)("desc")},{default:d(()=>[r(n,{modelValue:l.desc,"onUpdate:modelValue":e[3]||(e[3]=a=>l.desc=a),modelModifiers:{trim:!0},type:"textarea",clearable:"",placeholder:o(t)("descPlaceholder"),class:"input-width",maxlength:"200"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(m,{label:o(t)("sort")},{default:d(()=>[r(n,{modelValue:l.sort,"onUpdate:modelValue":e[4]||(e[4]=a=>l.sort=a),modelModifiers:{trim:!0},maxlength:"6","show-word-limit":"",clearable:"",placeholder:o(t)("sortPlaceholder"),class:"input-width",onKeyup:e[5]||(e[5]=a=>o(R)(a)),onBlur:e[6]||(e[6]=a=>l.sort=a.target.value)},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[F,s.value]])]),_:1},8,["modelValue","title"])}}});export{te as _};
|
||||||
BIN
webroot/public/admin/assets/brand_default-ac73116e.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
1
webroot/public/admin/assets/brand_list-f15f6459.js
Normal file
8
webroot/public/admin/assets/browser-a1ac24ac.js
Normal file
1
webroot/public/admin/assets/cash_out-1103d9d9.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as O,x as S,r as g,n as E,h as i,c as R,e as n,w as o,a as b,t as u,u as l,R as K,s as d,q as r,dx as k,B as f,i as p,F as L,T as W,aR as j,L as G,K as H,as as I,at as M,au as P,dy as q,a6 as Y,M as $,E as J,Y as Q}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{b as X,T as Z,U as ee}from"./member-51e5f24a.js";const ae={class:"main-container"},te={class:"flex justify-between items-center"},oe={class:"text-page-title"},le=b("span",{class:"ml-2"},"%",-1),se={class:"fixed-footer-wrap"},re={class:"fixed-footer"},Re=O({__name:"cash_out",setup(ne){const C=S().meta.title,c=g(!0),y=g(),a=E({is_auto_transfer:"0",is_auto_verify:"0",is_open:"0",min:"0.01",rate:"0",transfer_type:[]}),w=g([]);(async()=>{w.value=await(await X()).data})(),(async(m=0)=>{const e=await(await Z()).data;Object.keys(a).forEach(s=>{e[s]!=null&&(a[s]=e[s])}),a.is_open=Boolean(Number(a.is_open)),c.value=!1})();const F=E({min:[{validator:(m,e,s)=>{Number(e)<.01?s(new Error(r("cashWithdrawalAmountHint"))):s()},trigger:"blur"}],rate:[{validator:(m,e,s)=>{Number(e)>100||Number(e)<0?s(new Error(r("commissionRatioHint"))):s()},trigger:"blur"}]}),N=async m=>{c.value||!m||await m.validate(e=>{if(e){const s={...a};s.is_open=Number(s.is_open).toString(),ee(s).then(()=>{c.value=!1}).catch(()=>{c.value=!1})}})};return(m,e)=>{const s=j,_=G,V=H,v=I,h=M,T=P,B=q,x=Y,U=$,D=J,z=Q;return i(),R("div",ae,[n(x,{class:"box-card !border-none",shadow:"never"},{default:o(()=>[b("div",te,[b("span",oe,u(l(C)),1)]),K((i(),d(U,{class:"page-form mt-[20px]",model:a,"label-width":"150px",ref_key:"ruleFormRef",ref:y,rules:F},{default:o(()=>[n(x,{class:"box-card !border-none",shadow:"never"},{default:o(()=>[n(_,{label:l(r)("isOpen")},{default:o(()=>[n(s,{modelValue:a.is_open,"onUpdate:modelValue":e[0]||(e[0]=t=>a.is_open=t)},null,8,["modelValue"])]),_:1},8,["label"]),a.is_open?(i(),d(_,{key:0,label:l(r)("cashWithdrawalAmount"),prop:"min"},{default:o(()=>[n(V,{modelValue:a.min,"onUpdate:modelValue":e[1]||(e[1]=t=>a.min=t),onKeyup:e[2]||(e[2]=t=>l(k)(t)),class:"input-width",placeholder:l(r)("cashWithdrawalAmountPlaceholder")},null,8,["modelValue","placeholder"])]),_:1},8,["label"])):f("",!0),a.is_open?(i(),d(_,{key:1,label:l(r)("commissionRatio"),prop:"rate"},{default:o(()=>[n(V,{modelValue:a.rate,"onUpdate:modelValue":e[3]||(e[3]=t=>a.rate=t),onKeyup:e[4]||(e[4]=t=>l(k)(t)),class:"input-width",placeholder:l(r)("commissionRatioPlaceholder")},null,8,["modelValue","placeholder"]),le]),_:1},8,["label"])):f("",!0),a.is_open?(i(),d(_,{key:2,label:l(r)("audit"),class:"items-center"},{default:o(()=>[n(h,{modelValue:a.is_auto_verify,"onUpdate:modelValue":e[5]||(e[5]=t=>a.is_auto_verify=t)},{default:o(()=>[n(v,{label:"0",size:"large"},{default:o(()=>[p(u(l(r)("manualAudit")),1)]),_:1}),n(v,{label:"1",size:"large"},{default:o(()=>[p(u(l(r)("automaticAudit")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"])):f("",!0),a.is_open?(i(),d(_,{key:3,label:l(r)("transfer"),class:"items-center"},{default:o(()=>[n(h,{modelValue:a.is_auto_transfer,"onUpdate:modelValue":e[6]||(e[6]=t=>a.is_auto_transfer=t)},{default:o(()=>[n(v,{label:"0",size:"large"},{default:o(()=>[p(u(l(r)("manualTransfer")),1)]),_:1}),n(v,{label:"1",size:"large"},{default:o(()=>[p(u(l(r)("automatedTransit")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"])):f("",!0),a.is_open?(i(),d(_,{key:4,label:l(r)("transferMode"),class:"items-center"},{default:o(()=>[n(B,{modelValue:a.transfer_type,"onUpdate:modelValue":e[7]||(e[7]=t=>a.transfer_type=t),size:"large"},{default:o(()=>[(i(!0),R(L,null,W(w.value,(t,A)=>(i(),d(T,{label:t.key,key:"a"+A},{default:o(()=>[p(u(t.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"])):f("",!0)]),_:1})]),_:1},8,["model","rules"])),[[z,c.value]])]),_:1}),b("div",se,[b("div",re,[n(D,{type:"primary",onClick:e[8]||(e[8]=t=>N(y.value))},{default:o(()=>[p(u(l(r)("save")),1)]),_:1})])])])}}});export{Re as default};
|
||||||
1
webroot/public/admin/assets/cash_out-1be5f2b7.js
Normal file
1
webroot/public/admin/assets/category-714445d1.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as $,x as z,n as V,r as b,h as y,c as N,e as o,w as r,a as _,t as s,u as t,i as p,q as a,R as L,s as R,ao as S,a4 as j,E as A,K as U,L as I,M,a6 as q,ab as K,ac as W,W as Y,Y as G}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{a as H,d as J}from"./article-45ec0907.js";import{_ as O}from"./edit-category.vue_vue_type_script_setup_true_lang-d5e834e3.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */const Q={class:"main-container"},X={class:"flex justify-between items-center"},Z={class:"text-page-title"},ee={class:"mt-[10px]"},te={class:"mt-[16px] flex justify-end"},Be=$({__name:"category",setup(ae){const v=z().meta.title,e=V({page:1,limit:10,total:0,loading:!0,data:[],searchParam:{name:""}}),g=b(),C=i=>{i&&(i.resetFields(),m())},m=S((i=1)=>{e.loading=!0,e.page=i,H({page:e.page,limit:e.limit,...e.searchParam}).then(l=>{e.loading=!1,e.data=l.data.data,e.total=l.data.total}).catch(()=>{e.loading=!1})});m();const d=b(null),w=()=>{d.value.setFormData(),d.value.showDialog=!0},x=i=>{d.value.setFormData(i),d.value.showDialog=!0},k=i=>{j.confirm(a("articleCategoryDeleteTips"),a("warning"),{confirmButtonText:a("confirm"),cancelButtonText:a("cancel"),type:"warning"}).then(()=>{J(i).then(()=>{m()}).catch(()=>{})})};return(i,l)=>{const c=A,E=U,f=I,D=M,h=q,u=K,B=W,F=Y,P=G;return y(),N("div",Q,[o(h,{class:"box-card !border-none",shadow:"never"},{default:r(()=>[_("div",X,[_("span",Z,s(t(v)),1),o(c,{type:"primary",onClick:w},{default:r(()=>[p(s(t(a)("addArticleCategory")),1)]),_:1})]),o(h,{class:"box-card !border-none my-[10px] table-search-wrap",shadow:"never"},{default:r(()=>[o(D,{inline:!0,model:e.searchParam,ref_key:"searchFormRef",ref:g},{default:r(()=>[o(f,{label:t(a)("name"),prop:"name"},{default:r(()=>[o(E,{modelValue:e.searchParam.name,"onUpdate:modelValue":l[0]||(l[0]=n=>e.searchParam.name=n),placeholder:t(a)("namePlaceholder"),class:"w-[190px]","prefix-icon":"Search",clearable:""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),o(f,null,{default:r(()=>[o(c,{type:"primary",onClick:l[1]||(l[1]=n=>t(m)())},{default:r(()=>[p(s(t(a)("search")),1)]),_:1}),o(c,{onClick:l[2]||(l[2]=n=>C(g.value))},{default:r(()=>[p(s(t(a)("reset")),1)]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),_("div",ee,[L((y(),R(B,{data:e.data,size:"large"},{empty:r(()=>[_("span",null,s(e.loading?"":t(a)("emptyData")),1)]),default:r(()=>[o(u,{prop:"name",label:t(a)("name"),"min-width":"150"},null,8,["label"]),o(u,{prop:"article_num",label:t(a)("articleNumber"),"min-width":"140"},null,8,["label"]),o(u,{prop:"is_show",label:t(a)("isShow"),"min-width":"150"},{default:r(({row:n})=>[p(s(n.is_show==1?t(a)("show"):t(a)("hide")),1)]),_:1},8,["label"]),o(u,{prop:"sort",label:t(a)("sort"),"min-width":"120"},null,8,["label"]),o(u,{label:t(a)("operation"),fixed:"right",width:"130",align:"right"},{default:r(({row:n})=>[o(c,{type:"primary",link:"",onClick:T=>x(n)},{default:r(()=>[p(s(t(a)("edit")),1)]),_:2},1032,["onClick"]),o(c,{type:"primary",link:"",onClick:T=>k(n.category_id)},{default:r(()=>[p(s(t(a)("delete")),1)]),_:2},1032,["onClick"])]),_:1},8,["label"])]),_:1},8,["data"])),[[P,e.loading]]),_("div",te,[o(F,{"current-page":e.page,"onUpdate:current-page":l[3]||(l[3]=n=>e.page=n),"page-size":e.limit,"onUpdate:page-size":l[4]||(l[4]=n=>e.limit=n),layout:"total, sizes, prev, pager, next, jumper",total:e.total,onSizeChange:l[5]||(l[5]=n=>t(m)()),onCurrentChange:t(m)},null,8,["current-page","page-size","total","onCurrentChange"])])]),o(O,{ref_key:"editCategoryDialog",ref:d,onComplete:l[6]||(l[6]=n=>t(m)())},null,512)]),_:1})])}}});export{Be as default};
|
||||||
1
webroot/public/admin/assets/category-8a3fdc0e.js
Normal file
1
webroot/public/admin/assets/category-ade45f55.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
[data-v-5c4b8772] .el-table__row>.el-table__cell:nth-child(1) .cell{display:flex;align-items:center}[data-v-5c4b8772] .el-table__row>.el-table__cell:nth-child(1) .cell .el-table__expand-icon,[data-v-5c4b8772] .el-table__row>.el-table__cell:nth-child(1) .cell .el-table__placeholder{order:1}
|
||||||
1
webroot/public/admin/assets/category-edit-df097545.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./category-edit.vue_vue_type_style_index_0_lang-63478e82.js";import"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./index-1b502051.js";/* empty css */import"./index.vue_vue_type_style_index_0_lang-99902804.js";import"./attachment-80449eff.js";import"./index.vue_vue_type_script_setup_true_lang-7c5306d3.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-dropdown-item-4ed993c7.js";import"./index.vue_vue_type_script_setup_true_lang-5748d357.js";/* empty css *//* empty css */import"./index.vue_vue_type_script_setup_true_lang-ded002e3.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./sortable.esm-be94e56d.js";import"./goods-3f99dba1.js";export{o as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as U,r as m,n as q,l as I,q as l,h as _,s as f,w as r,a as S,e as o,i as b,t as V,u as s,R as O,c as j,F as M,T,K as $,L as A,aa as K,aB as X,aR as Y,M as z,E as G,X as H,Y as J}from"./index-ab1f467e.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import Q from"./index-1b502051.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{s as W,v as Z,w as ee,a as ae}from"./goods-3f99dba1.js";const te={class:"dialog-footer"},we=U({__name:"category-edit",emits:["complete"],setup(le,{expose:C,emit:E}){const u=m(!1),i=m(!1),g=m(""),v={category_id:"",category_name:"",image:"",pid:0,is_show:1,child_count:0,level:1},a=q({...v}),y=m(),D=I(()=>({category_id:[{required:!0,message:l("categoryIdPlaceholder"),trigger:"blur"}],category_name:[{required:!0,message:l("categoryNamePlaceholder"),trigger:"blur"}],pid:[{required:!0,message:l("pidPlaceholder"),trigger:"change"}]})),h=m([]),F=async n=>{if(i.value||!n)return;const e=a.category_id?W:Z;await n.validate(async d=>{d&&(i.value=!0,e(a).then(p=>{i.value=!1,u.value=!1,E("complete")}).catch(p=>{i.value=!1}))})},x=()=>{ae({level:1}).then(n=>{h.value=n.data.filter(e=>e.category_id!=a.category_id)})};return C({showDialog:u,setFormData:async(n=null)=>{if(Object.assign(a,v),i.value=!0,n){g.value=l("updateCategory");const e=await(await ee(n.category_id)).data;e&&Object.keys(a).forEach(d=>{e[d]!=null&&(a[d]=e[d])})}else g.value=l("addCategory");x(),i.value=!1}}),(n,e)=>{const d=$,c=A,p=K,k=X,B=Q,N=Y,L=z,w=G,P=H,R=J;return _(),f(P,{modelValue:u.value,"onUpdate:modelValue":e[6]||(e[6]=t=>u.value=t),title:g.value,width:"480",class:"diy-dialog-wrap","destroy-on-close":!0},{footer:r(()=>[S("span",te,[o(w,{onClick:e[4]||(e[4]=t=>u.value=!1)},{default:r(()=>[b(V(s(l)("cancel")),1)]),_:1}),o(w,{type:"primary",loading:i.value,onClick:e[5]||(e[5]=t=>F(y.value))},{default:r(()=>[b(V(s(l)("confirm")),1)]),_:1},8,["loading"])])]),default:r(()=>[O((_(),f(L,{model:a,"label-width":"120px",ref_key:"formRef",ref:y,rules:s(D),class:"page-form"},{default:r(()=>[o(c,{label:s(l)("categoryName"),prop:"category_name"},{default:r(()=>[o(d,{modelValue:a.category_name,"onUpdate:modelValue":e[0]||(e[0]=t=>a.category_name=t),modelModifiers:{trim:!0},clearable:"",placeholder:s(l)("categoryNamePlaceholder"),class:"input-width",maxlength:"10","show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),o(c,{label:s(l)("pid"),prop:"pid"},{default:r(()=>[o(k,{modelValue:a.pid,"onUpdate:modelValue":e[1]||(e[1]=t=>a.pid=t),clearable:"",disabled:a.child_count,placeholder:s(l)("pidPlaceholder"),class:"input-width"},{default:r(()=>[o(p,{label:"顶级分类",value:0}),(_(!0),j(M,null,T(h.value,t=>(_(),f(p,{key:t.category_id,label:t.category_name,value:t.category_id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","disabled","placeholder"])]),_:1},8,["label"]),o(c,{label:s(l)("image")},{default:r(()=>[o(B,{modelValue:a.image,"onUpdate:modelValue":e[2]||(e[2]=t=>a.image=t)},null,8,["modelValue"])]),_:1},8,["label"]),o(c,{label:s(l)("isShow"),prop:"is_show"},{default:r(()=>[o(N,{modelValue:a.is_show,"onUpdate:modelValue":e[3]||(e[3]=t=>a.is_show=t),class:"input-width","active-value":1,"inactive-value":2},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[R,i.value]])]),_:1},8,["modelValue","title"])}}});export{we as _};
|
||||||
1
webroot/public/admin/assets/category_config-7b1d52af.js
Normal file
1
webroot/public/admin/assets/category_config-8045032f.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.border-color[data-v-c5ed29e8]{border-color:var(--el-color-primary)}.text-color[data-v-c5ed29e8]{color:var(--el-color-primary)}.bg-color[data-v-c5ed29e8]{background-color:var(--el-color-primary)}.carStyle[data-v-c5ed29e8] .el-form-item__label{height:50px;line-height:50px}
|
||||||
1
webroot/public/admin/assets/category_default-03996666.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const t=""+new URL("category_default-74216c25.png",import.meta.url).href;export{t as _};
|
||||||
BIN
webroot/public/admin/assets/category_default-74216c25.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
@ -0,0 +1 @@
|
|||||||
|
const e="接入流程",c="支付宝小程序",s="支付宝小程序接入流程",t="支付宝小程序认证",n="点击注册打开支付宝小程序官方,注册支付宝小程序后点击企业认证,申请之后等待支付宝官方审核",a="点击注册",p="扫描二维码进入支付宝小程序",o="没有小程序马上注册",l="支付宝小程序配置",i="点击配置支付宝小程序",w="上传小程序",A="支付宝小程序认证之后按照官方提供的手册进行配置",r="配置信息",u="版本管理中存放上传的支付宝小程序历更版本,通过uniapp版本编译小程序然后打包上传提交",g="提交审核",h="提交uniapp对应版本,可以通过支付宝小程序查看版本的审核进度,审核成功后就可以使用了",k="查看审核进度",S="小程序配置",b="订阅消息",m="版本管理",B="您正在体验通用版小程序,不发布你将不可用",I={weappAccessFlow:e,title:c,weappInlet:s,weappAttestation:t,weappAttest:n,clickAccess:a,clickAccess2:p,clickAccess3:o,weappSetting:l,weappSettingBtn:i,uploadVersion:w,emplace:A,settingInfo:r,releaseCourse:u,completeAccess:g,wechatAccess:h,wechatAccessBtn:k,wechatSet:S,subscribeMessage:b,weappRelease:m,alert:B};export{B as alert,a as clickAccess,p as clickAccess2,o as clickAccess3,g as completeAccess,I as default,A as emplace,u as releaseCourse,r as settingInfo,b as subscribeMessage,c as title,w as uploadVersion,e as weappAccessFlow,n as weappAttest,t as weappAttestation,s as weappInlet,m as weappRelease,l as weappSetting,i as weappSettingBtn,h as wechatAccess,k as wechatAccessBtn,S as wechatSet};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
const e="小程序设置",a="小程序名称",p="APPID",i="小程序二维码",l="建议尺寸上传430px*430px宽高的二维码",o="应用私钥",t="开发者密码",c="downloadFile合法域名",n="小程序信息",s="开发设置",r="接口内容加密设置",d="服务器配置信息",y="消息加解密方式",P="兼容模式",h="安全模式(推荐)",K="请输入小程序名称",A="请输入APPID",S="请输入应用私钥",u="请输入Token",g="请输入EncodingAESKey",T="接口加签方式",b="证书",f="应用公钥证书",E="支付宝公钥证书",C="支付宝根证书",m="上传appCertPublicKey_***.crt文件",v="上传alipayCertPublicKey_RSA2.crt文件",I="上传alipayRootCert.crt文件",W="AES秘钥",D="服务器域名白名单",M="请输入AES秘钥",N={aliappSet:e,aliappName:a,aliappOriginal:p,aliappQrcode:i,aliappQrcodeTips:l,aliappAppid:o,aliappAppsecret:t,downloadUrl:c,aliappInfo:n,aliappDevelopInfo:s,theServerSetting:r,functionSetting:d,encryptionType:y,compatibleMode:P,safeMode:h,aliappNamePlaceholder:K,aliappOriginalPlaceholder:A,appidPlaceholder:S,tokenPlaceholder:u,encodingAesKeyPlaceholder:g,countersignType:T,certificate:b,publicKey:f,alipayPublicKey:E,alipayWithCrt:C,publicKeyTips:m,alipayPublicKeyTips:v,alipayWithCrtTips:I,AESKey:W,serveWhiteList:D,AESKeyPlaceholder:M};export{W as AESKey,M as AESKeyPlaceholder,o as aliappAppid,t as aliappAppsecret,s as aliappDevelopInfo,n as aliappInfo,a as aliappName,K as aliappNamePlaceholder,p as aliappOriginal,A as aliappOriginalPlaceholder,i as aliappQrcode,l as aliappQrcodeTips,e as aliappSet,E as alipayPublicKey,v as alipayPublicKeyTips,C as alipayWithCrt,I as alipayWithCrtTips,S as appidPlaceholder,b as certificate,P as compatibleMode,T as countersignType,N as default,c as downloadUrl,g as encodingAesKeyPlaceholder,y as encryptionType,d as functionSetting,f as publicKey,m as publicKeyTips,h as safeMode,D as serveWhiteList,r as theServerSetting,u as tokenPlaceholder};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
const s="登录",a="支付宝开放平台open.alipay.com",e="选择小程序应用,没有需先创建。点击进入小程序",p="先在小程序内进行产品绑定和开发配置, 绑定下图内这些产品",i="获取会员手机号需进行申请",o="配置开发配置,配置接口加签方式,接口加签方式选择证书",T="配置接口内容加密方式",r="配置服务器域名白名单可在商城后台支付宝配置中复制",l={alipayCourseTipsOne1:s,alipayCourseTipsOne2:a,alipayCourseTipsOne3:e,alipayCourseTipsTwo1:p,alipayCourseTipsTwo2:i,alipayCourseTipsThree1:o,alipayCourseTipsThree2:T,alipayCourseTipsThree3:r};export{s as alipayCourseTipsOne1,a as alipayCourseTipsOne2,e as alipayCourseTipsOne3,o as alipayCourseTipsThree1,T as alipayCourseTipsThree2,r as alipayCourseTipsThree3,p as alipayCourseTipsTwo1,i as alipayCourseTipsTwo2,l as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
const n="是否开启",c="h5域名",i="点击访问",o="h5配置信息",s={isOpen:n,h5DomainName:c,clickVisit:i,H5Info:o};export{o as H5Info,i as clickVisit,s as default,c as h5DomainName,n as isOpen};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
const n="电脑端信息",c="预览图",o="复制",e="点击访问",i="pc域名",s="最新消息",t="是否开启",p={pcInfo:n,preview:c,copy:o,clickVisit:e,PCDomainName:i,newInfo:s,isOpen:t};export{i as PCDomainName,e as clickVisit,o as copy,p as default,t as isOpen,s as newInfo,n as pcInfo,c as preview};
|
||||||