update admin code

This commit is contained in:
全栈小学生 2024-06-15 15:46:25 +08:00
parent 0c48dbea8d
commit 23fc1f966a
938 changed files with 609 additions and 658 deletions

View File

@ -1 +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-ae2d9b78.js";/* empty css */import{_ as B}from"./_plugin-vue_export-helper-c27b6911.js";const k=""+new URL("error-da01d378.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 a=d(5),c=v();return s=setInterval(()=>{a.value===0?(clearInterval(s),c.go(-1)):a.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(c).go(-1))},{default:f(()=>[w(S(a.value)+" 秒后返回上一页",1)]),_:1})])])])])}}});const z=B($,[["__scopeId","data-v-8fc03fb0"]]);export{z as default};
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-34979a7f.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};

View File

@ -0,0 +1 @@
import{cS as f}from"./index-34979a7f.js";export{f as default};

View File

@ -1 +0,0 @@
import{ek as e}from"./index-ae2d9b78.js";export{e as default};

View File

@ -1 +0,0 @@
import z from"./VerifySlide-d7164638.js";import g from"./VerifyPoints-06b2a601.js";import{O as k,r as o,l as w,aW as T,P as B,a6 as V,h as p,c as u,a as c,i as N,B as y,aX as d,s as C,aY as O,v}from"./index-ae2d9b78.js";import{_ as P}from"./_plugin-vue_export-helper-c27b6911.js";import"./index-0ee12384.js";const j={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:I,blockSize:R,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),W=[E];function q(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))},W)])):y("",!0),c("div",{class:"verifybox-bottom",style:d({padding:e.mode=="pop"?"15px":"0"})},[t.componentType?(p(),C(O(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 J=P(j,[["render",q]]);export{J as default};

View File

@ -0,0 +1 @@
import z from"./VerifySlide-156dabb4.js";import g from"./VerifyPoints-520fb04e.js";import{P as k,r as o,l as w,aX 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,aY as P,v}from"./index-34979a7f.js";import{_ as j}from"./_plugin-vue_export-helper-c27b6911.js";import"./index-c5129ebc.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:I,blockSize:W,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 q(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 J=j(O,[["render",q]]);export{J as default};

View File

@ -1 +0,0 @@
import{r as F,a as V,b as K,c as Q}from"./index-0ee12384.js";import{O as X,r as s,n as m,aQ as G,h as H,c as I,a as l,aX as O,P as Y,a6 as U,F as Z,Q as $,t as L,a_ as ee,a$ as te}from"./index-ae2d9b78.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(A,f){const{mode:_,captchaType:e,vSpace:R,imgSize:q,barSize:c}=X(A),{proxy:n}=ee(),h=s(""),z=s(3),p=m([]),a=m([]),o=s(1),N=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)})};G(()=>{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=P(k(S,i));const t=M(a,u);a.length=0,a.push(...t),setTimeout(()=>{const g=h.value?V(v.value+"---"+JSON.stringify(a),h.value):v.value+"---"+JSON.stringify(a),r={captchaType:e.value,captcha_code:h.value?V(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,T()},1500),n.$parent.$emit("success",{captchaVerification:g})):(n.$parent.$emit("error",n),b.value="#d9534f",x.value="#d9534f",d.value="验证失败",setTimeout(()=>{T()},700))})},400)}o.value<z.value&&(o.value=P(k(S,i)))},k=function(i,t){const g=t.offsetX,r=t.offsetY;return{x:g,y:r}},P=function(i){return y.push(Object.assign({},i)),o.value+1},T=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};Q(i).then(t=>{t.code==1?(N.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:N,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:P,refresh:T,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(A,f,_,e,R,q){return H(),I("div",ne,[l("div",se,[l("div",{class:"verify-img-panel",style:O({width:e.setSize.imgWidth,height:e.setSize.imgHeight,"background-size":e.setSize.imgWidth+" "+e.setSize.imgHeight,"margin-bottom":_.vSpace+"px"})},[Y(l("div",{class:"verify-refresh",style:{"z-index":"3"},onClick:f[0]||(f[0]=(...c)=>e.refresh&&e.refresh(...c))},re,512),[[U,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(Z,null,$(e.tempPoints,(c,n)=>(H(),I("div",{key:n,class:"point-area",style:O({"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"})},L(n+1),5))),128))],4)]),l("div",{class:"verify-bar-area",style:O({width:e.setSize.imgWidth,color:this.barAreaColor,"border-color":this.barAreaBorderColor,"line-height":this.barSize.height})},[l("span",le,L(e.text),1)],4)])}const fe=ae(ie,[["render",he]]);export{fe as default};

View File

@ -0,0 +1 @@
import{r as F,a as R,b as K,c as G}from"./index-c5129ebc.js";import{P as X,r as s,n as m,aJ as Y,h as H,c as I,a as l,$ as A,R as Q,a0 as U,F as Z,T as $,t as V,a_ as ee,a$ as te}from"./index-34979a7f.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"})},[Q(l("div",{class:"verify-refresh",style:{"z-index":"3"},onClick:f[0]||(f[0]=(...c)=>e.refresh&&e.refresh(...c))},re,512),[[U,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(Z,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};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{d as V,x as N,f as B,r as d,aJ 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 R,ax as I,E as J,aK as M,aL as $,aM as D,J as F,aN as K,a6 as L}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as P}from"./aliapp-e5e8464f.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=N(),m=B(),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=R,C=I,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};

View File

@ -1 +0,0 @@
.progress-point[data-v-b27f373c]{flex-grow:1;list-style:none}.border-color[data-v-b27f373c]{border-color:var(--el-color-primary)}.bg-color[data-v-b27f373c]{background-color:var(--el-color-primary)}.text-color[data-v-b27f373c]{color:var(--el-color-primary)}.bg-color1[data-v-b27f373c]{background-color:var(--el-color-info-light-8)}[data-v-b27f373c] .el-tabs__item:hover{border-bottom:2px solid var(--el-color-primary)}[data-v-b27f373c] .el-tabs__item{padding:0}[data-v-b27f373c] .el-tabs__item+.el-tabs__item{margin-right:20px;margin-left:20px}[data-v-b27f373c] .el-tabs--top .el-tabs__active-bar{display:none}[data-v-b27f373c] .el-tabs--top .el-tabs__item.is-active{border-bottom:2px solid var(--el-color-primary)}[data-v-b27f373c] .el-tabs--top .el-tabs__item.is-top:nth-child(2){margin-right:20px}[data-v-b27f373c] .el-step.is-vertical .el-step__icon.is-icon{padding:8px 0;height:40px;background-color:#fff}[data-v-b27f373c] .el-step__title{height:40px;line-height:40px!important}

View File

@ -1 +0,0 @@
.progress-point[data-v-e99a4238]{flex-grow:1;list-style:none}.border-color[data-v-e99a4238]{border-color:var(--el-color-primary)}.bg-color[data-v-e99a4238]{background-color:var(--el-color-primary)}.text-color[data-v-e99a4238]{color:var(--el-color-primary)}.bg-color1[data-v-e99a4238]{background-color:var(--el-color-info-light-8)}[data-v-e99a4238] .el-tabs__item:hover{border-bottom:2px solid var(--el-color-primary)}[data-v-e99a4238] .el-tabs__item{padding:0}[data-v-e99a4238] .el-tabs__item+.el-tabs__item{margin-right:20px;margin-left:20px}[data-v-e99a4238] .el-tabs--top .el-tabs__item.is-top:nth-child(2){margin-right:20px}[data-v-e99a4238] .el-step.is-vertical .el-step__icon.is-icon{padding:8px 0;height:40px;background-color:#fff}[data-v-e99a4238] .el-step__title{height:40px;line-height:40px!important}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{d as W,x as $,f as j,r,aJ as F,aT as L,o as M,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 R,s as U,A as z,aw as I,ax as J,E as D,aK as G,aL as K,aM as P,J as Q,aN as H,a6 as O}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as X}from"./wechat-dfab8bd4.js";import{a as Y}from"./wxoplatform-ce4e21d6.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 L().then(({data:l})=>{x.value=l}),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&g()})}),M(()=>{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=I,B=J,i=D,v=G,N=K,b=P,T=Q,V=H,q=O;return w(),y("div",Z,[a(q,{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(V,null,{default:s(()=>[a(b,{span:20},{default:s(()=>[a(N,{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(R,{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(),U(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(T,{class:"w-[180px] h-[180px]",src:m.value?e(z)(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};

View File

@ -1 +0,0 @@
import{d as I,f as S,r as v,aQ as V,Y as q,h as T,c as B,a as e,t as l,u as n,q as a,e as s,w as t,aR as b,i as w,A as N,aD as z,aE as F,X as R,E as $,ae as D,af as M,ag as Q,I as P,ah as U}from"./index-ae2d9b78.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as W}from"./wechat-7913b0c8.js";import{_ as X}from"./_plugin-vue_export-helper-c27b6911.js";const Y={class:"w-full p-5 bg-body"},G={class:"flex justify-between items-center mb-[20px]"},H={class:"text-page-title"},J={class:"p-[20px]"},K={class:"text-[16px] mb-[20px]"},L={class:"text-[14px] text-[#303133] font-[700]"},O={class:"text-[#999]"},Z={class:"mt-[20px] mb-[40px] h-[32px]"},ee={class:"text-[14px] text-[#303133] font-[700]"},te={class:"text-[#999]"},se={class:"mt-[20px] mb-[40px] h-[32px]"},ne={class:"text-[14px] text-[#303133] font-[700]"},ae={class:"text-[#999]"},le={class:"mt-[20px] mb-[40px] h-[32px]"},oe={class:"flex justify-center"},ce={class:"w-[100%] h-[100%] flex items-center justify-center bg-[#f5f7fa]"},ie={class:"mt-[22px] text-center"},pe={class:"text-[14px] text-[#303133] font-[700]"},de=I({__name:"access",setup(re){const _=S(),u=v("/channel/wechat"),c=v(2),p=v("");V(async()=>{const i=await W();p.value=i.data.qr_code});const y=i=>{window.open(i,"_blank")},k=i=>{_.push({path:u.value})};return(i,o)=>{const d=z,C=F,x=q("CircleCheckFilled"),f=R,m=$,h=D,E=M,g=Q,A=P,j=U;return T(),B("div",Y,[e("div",G,[e("span",H,l(n(a)("title")),1)]),s(C,{modelValue:u.value,"onUpdate:modelValue":o[0]||(o[0]=r=>u.value=r),class:"demo-tabs",onTabChange:k},{default:t(()=>[s(d,{label:n(a)("wechatAccessFlow"),name:"/channel/wechat"},null,8,["label"]),s(d,{label:n(a)("customMenu"),name:"/channel/wechat/menu"},null,8,["label"]),s(d,{label:n(a)("wechatTemplate"),name:"/channel/wechat/message"},null,8,["label"]),s(d,{label:n(a)("reply"),name:"/channel/wechat/reply"},null,8,["label"])]),_:1},8,["modelValue"]),e("div",J,[e("p",K,l(n(a)("wechatInlet")),1),s(j,null,{default:t(()=>[s(g,{span:20},{default:t(()=>[s(E,{direction:"vertical"},{default:t(()=>[s(h,null,b({title:t(()=>[e("p",L,l(n(a)("wechatAttestation")),1)]),description:t(()=>[e("span",O,l(n(a)("wechatAttestation1")),1),e("div",Z,[s(m,{type:"primary",onClick:o[1]||(o[1]=r=>y("https://mp.weixin.qq.com/"))},{default:t(()=>[w(l(n(a)("clickAccess")),1)]),_:1})])]),_:2},[c.value>1?{name:"icon",fn:t(()=>[s(f,{size:"25px",class:"text-color"},{default:t(()=>[s(x)]),_:1})]),key:"0"}:c.value==1?{name:"icon",fn:t(()=>[e("div",{class:"w-[24px] h-[24px] box-border rounded-full bg-color1 flex items-center justify-center"},[e("div",{class:"h-[12px] w-[12px] bg-color rounded-full"})])]),key:"1"}:{name:"icon",fn:t(()=>[e("div",{class:"w-[24px] h-[24px] text-[#fff] bg-[#778aa3] text-center leading-[24px] rounded-full"}," 1")]),key:"2"}]),1024),s(h,null,b({title:t(()=>[e("p",ee,l(n(a)("wechatSetting")),1)]),description:t(()=>[e("span",te,l(n(a)("wechatSetting1")),1),e("div",se,[s(m,{type:"primary",plain:"",onClick:o[2]||(o[2]=r=>n(_).push("/channel/wechat/config"))},{default:t(()=>[w(l(n(a)("settingInfo")),1)]),_:1})])]),_:2},[c.value>2?{name:"icon",fn:t(()=>[s(f,{size:"25px"},{default:t(()=>[s(x)]),_:1})]),key:"0"}:c.value==2?{name:"icon",fn:t(()=>[e("div",{class:"w-[24px] h-[24px] box-border rounded-full bg-color1 flex items-center justify-center"},[e("div",{class:"h-[12px] w-[12px] bg-color rounded-full"})])]),key:"1"}:{name:"icon",fn:t(()=>[e("div",{class:"w-[24px] h-[24px] text-[#fff] bg-[#778aa3] text-center leading-[24px] rounded-full"}," 2")]),key:"2"}]),1024),s(h,null,b({title:t(()=>[e("p",ne,l(n(a)("wechatAccess")),1)]),description:t(()=>[e("span",ae,l(n(a)("wechatAccess")),1),e("div",le,[s(m,{type:"primary",plain:"",onClick:o[3]||(o[3]=r=>n(_).push("/channel/wechat/course"))},{default:t(()=>[w(l(n(a)("releaseCourse")),1)]),_:1})])]),_:2},[c.value>3?{name:"icon",fn:t(()=>[s(f,{size:"25px"},{default:t(()=>[s(x)]),_:1})]),key:"0"}:c.value==3?{name:"icon",fn:t(()=>[e("div",{class:"w-[24px] h-[24px] box-border rounded-full bg-color1 flex items-center justify-center"},[e("div",{class:"h-[12px] w-[12px] bg-color rounded-full"})])]),key:"1"}:{name:"icon",fn:t(()=>[e("div",{class:"w-[24px] h-[24px] text-[#fff] bg-[#778aa3] text-center leading-[24px] rounded-full"}," 3")]),key:"2"}]),1024)]),_:1})]),_:1}),s(g,{span:4},{default:t(()=>[e("div",oe,[s(A,{class:"w-[180px] h-[180px]",src:p.value?n(N)(p.value):""},{error:t(()=>[e("div",ce,[e("span",null,l(p.value?n(a)("fileErr"):n(a)("emptyQrCode")),1)])]),_:1},8,["src"])]),e("div",ie,[e("p",pe,l(n(a)("clickAccess2")),1)])]),_:1})]),_:1})])])}}});const ye=X(de,[["__scopeId","data-v-b27f373c"]]);export{ye as default};

View File

@ -0,0 +1 @@
import{d as W,x as $,f as j,r as d,aJ as F,aT as L,o as M,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 U,aw as z,ax as I,E as J,aK as D,aL as G,aM as K,J as P,aN as Q,a6 as H}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as O}from"./weapp-d2859b61.js";import{a as X}from"./wxoplatform-ce4e21d6.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]"},Ne=W({__name:"access",setup(we){const k=$(),_=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 L().then(({data:p})=>{x.value=p}),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&b()})}),M(()=>{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=z,V=I,i=J,m=D,N=G,y=K,q=P,R=Q,T=H;return w(),g("div",Y,[n(T,{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(N,{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(q,{class:"w-[180px] h-[180px]",src:u.value?e(U)(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{Ne as default};

View File

@ -1 +0,0 @@
.progress-point[data-v-dfc0259d]{flex-grow:1;list-style:none}.border-color[data-v-dfc0259d]{border-color:var(--el-color-primary)}.bg-color[data-v-dfc0259d]{background-color:var(--el-color-primary)}.text-color[data-v-dfc0259d]{color:var(--el-color-primary)}.bg-color1[data-v-dfc0259d]{background-color:var(--el-color-info-light-8)}[data-v-dfc0259d] .el-tabs__item:hover{border-bottom:2px solid var(--el-color-primary)}[data-v-dfc0259d] .el-tabs__item{padding:0}[data-v-dfc0259d] .el-tabs__item+.el-tabs__item{margin-right:20px;margin-left:20px}[data-v-dfc0259d] .el-tabs--top .el-tabs__active-bar{display:none}[data-v-dfc0259d] .el-tabs--top .el-tabs__item.is-active{border-bottom:2px solid var(--el-color-primary)}[data-v-dfc0259d] .el-tabs--top .el-tabs__item.is-top:nth-child(2){margin-right:20px}[data-v-dfc0259d] .el-step.is-vertical .el-step__icon.is-icon{padding:8px 0;height:40px;background-color:#fff}[data-v-dfc0259d] .el-step__title{height:40px;line-height:40px!important}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{_ as o}from"./add-member.vue_vue_type_script_setup_true_lang-1ec7060f.js";import"./index-ae2d9b78.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-form-item-4ed993c7.js";/* empty css */import"./member-4f56ccd3.js";export{o as default};

View File

@ -0,0 +1 @@
import{_ as o}from"./add-member.vue_vue_type_script_setup_true_lang-9e0ad6a3.js";import"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./member-3d8539dd.js";export{o as default};

View File

@ -1 +0,0 @@
import{d as B,r as c,n as $,l as H,q as l,h as V,s as h,w as m,a as I,e as s,i as y,t as N,u as t,P as L,dk as R,J as j,K,L as O,E as T,a1 as z,U as A}from"./index-ae2d9b78.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-form-item-4ed993c7.js";/* empty css */import{k as J,v as S,w as Z}from"./member-4f56ccd3.js";const G={class:"dialog-footer"},de=B({__name:"add-member",emits:["complete"],setup(Q,{expose:P,emit:k}){const u=c(!1),i=c(!1),p=c(!1);let b="",f="";const _={member_id:"",nickname:"",member_no:"",init_member_no:"",mobile:"",password:"",password_copy:""},o=$({..._}),w=c(),D=H(()=>({member_no:[{required:!0,message:l("memberNoPlaceholder"),trigger:"blur"},{validator:C,trigger:"blur"}],mobile:[{required:!0,message:l("mobilePlaceholder"),trigger:"blur"},{validator:E,trigger:"blur"}],password:[{required:!0,message:l("passwordPlaceholder"),trigger:"blur"}],password_copy:[{required:!0,message:l("passwordPlaceholder"),trigger:"blur"},{validator:x,trigger:"blur"}]})),E=(d,e,a)=>{e&&!/^1[3-9]\d{9}$/.test(e)?a(new Error(l("mobileHint"))):a()},x=(d,e,a)=>{e!=o.password?a(l("doubleCipherHint")):a()},C=(d,e,a)=>{e&&!/^[0-9a-zA-Z]*$/g.test(e)?a(new Error(l("memberNoHint"))):a()},U=async()=>{await S().then(d=>{f=d.data}).catch(()=>{})},q=async d=>{if(i.value||!d)return;const e=Z;await d.validate(async a=>{if(a){if(i.value=!0,p.value)return;p.value=!0,e(o).then(g=>{i.value=!1,p.value=!1,u.value=!1,k("complete")}).catch(()=>{i.value=!1,p.value=!1})}})};return P({showDialog:u,setFormData:async(d=null)=>{if(i.value=!0,Object.assign(o,_),b=l("addMember"),d){b=l("updateMember");const e=await(await J(d.member_id)).data;e&&Object.keys(o).forEach(a=>{e[a]!=null&&(o[a]=e[a])})}else await U(),o.member_no=f,o.init_member_no=f;i.value=!1}}),(d,e)=>{const a=j,n=K,g=O,v=T,F=z,M=A;return V(),h(F,{modelValue:u.value,"onUpdate:modelValue":e[8]||(e[8]=r=>u.value=r),title:t(b),width:"500px","destroy-on-close":!0},{footer:m(()=>[I("span",G,[s(v,{onClick:e[6]||(e[6]=r=>u.value=!1)},{default:m(()=>[y(N(t(l)("cancel")),1)]),_:1}),s(v,{type:"primary",loading:i.value,onClick:e[7]||(e[7]=r=>q(w.value))},{default:m(()=>[y(N(t(l)("confirm")),1)]),_:1},8,["loading"])])]),default:m(()=>[L((V(),h(g,{model:o,"label-width":"90px",ref_key:"formRef",ref:w,rules:t(D),class:"page-form"},{default:m(()=>[s(n,{label:t(l)("memberNo"),prop:"member_no"},{default:m(()=>[s(a,{modelValue:o.member_no,"onUpdate:modelValue":e[0]||(e[0]=r=>o.member_no=r),clearable:"",maxlength:"20",placeholder:t(l)("memberNoPlaceholder"),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),s(n,{label:t(l)("mobile"),prop:"mobile"},{default:m(()=>[s(a,{modelValue:o.mobile,"onUpdate:modelValue":e[1]||(e[1]=r=>o.mobile=r),clearable:"",placeholder:t(l)("mobilePlaceholder"),onKeyup:e[2]||(e[2]=r=>t(R)(r)),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),s(n,{label:t(l)("nickname")},{default:m(()=>[s(a,{modelValue:o.nickname,"onUpdate:modelValue":e[3]||(e[3]=r=>o.nickname=r),clearable:"",placeholder:t(l)("nickNamePlaceholder"),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),s(n,{label:t(l)("password"),prop:"password"},{default:m(()=>[s(a,{modelValue:o.password,"onUpdate:modelValue":e[4]||(e[4]=r=>o.password=r),type:"password",placeholder:t(l)("passwordPlaceholder"),clearable:"",class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),s(n,{label:t(l)("passwordCopy"),prop:"password_copy"},{default:m(()=>[s(a,{modelValue:o.password_copy,"onUpdate:modelValue":e[5]||(e[5]=r=>o.password_copy=r),type:"password",placeholder:t(l)("passwordPlaceholder"),clearable:"",class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[M,i.value]])]),_:1},8,["modelValue","title"])}}});export{de as _};

View File

@ -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,bU as O,K as T,L as z,M as A,E as S,X,Y}from"./index-34979a7f.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-3d8539dd.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:U,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()},U=(n,e,a)=>{e&&!/^[0-9a-zA-Z]*$/g.test(e)?a(new Error(o("memberNoHint"))):a()},M=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 M(),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 _};

View File

@ -0,0 +1 @@
import{_ as o}from"./add-table.vue_vue_type_script_setup_true_lang-20b05fa8.js";import"./index-34979a7f.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-0c519445.js";export{o as default};

View File

@ -1 +0,0 @@
import{_ as o}from"./add-table.vue_vue_type_script_setup_true_lang-d7365838.js";import"./index-ae2d9b78.js";/* 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"./tools-5f7ff811.js";export{o as default};

View File

@ -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-34979a7f.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-0c519445.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 _};

View File

@ -1 +0,0 @@
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,P as x,u as t,t as h,q as n,e as d,i as B,aa as z,J as P,E as U,ac as q,a1 as F,U as G}from"./index-ae2d9b78.js";/* 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{k as I,l as J}from"./tools-5f7ff811.js";const le=N({__name:"add-table",setup(R,{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,I().then(a=>{e.loading=!1,e.data=a.data}).catch(()=>{e.loading=!1})};c();const w=a=>{const l=a.Name;e.loading=!0,J({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=P,D=U,V=q,y=F,T=G;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:$=>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 _};

View File

@ -1 +1 @@
import{N as t}from"./index-ae2d9b78.js";function a(n){return t.get("addon/local",n,{showSuccessMessage:!0})}function l(n){return t.post(`addon/install/${n.addon}`,n)}function o(n){return t.post(`addon/cloudinstall/${n.addon}`,n)}function d(n){return t.post(`addon/uninstall/${n.addon}`,n,{showSuccessMessage:!0})}function e(n){return t.get(`addon/install/check/${n}`)}function u(){return t.get("addon/installtask")}function c(n){return t.get(`addon/cloudinstall/${n}`)}function r(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,o as c,c as d,r as e,i as f,g,l as i,e as p,d as u};
import{O as t}from"./index-34979a7f.js";function a(n){return t.get("addon/local",n,{showSuccessMessage:!0})}function l(n){return t.post(`addon/install/${n.addon}`,n)}function o(n){return t.post(`addon/cloudinstall/${n.addon}`,n)}function d(n){return t.post(`addon/uninstall/${n.addon}`,n,{showSuccessMessage:!0})}function e(n){return t.get(`addon/install/check/${n}`)}function u(){return t.get("addon/installtask")}function c(n){return t.get(`addon/cloudinstall/${n}`)}function r(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,o as c,c as d,r as e,i as f,g,l as i,e as p,d as u};

View 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,bX as S,bY as I,aS as L,L as O,a6 as R,M as U,E as y,Y as T}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css */import j from"./index-0da618fa.js";/* empty css *//* empty css */import"./index.vue_vue_type_style_index_0_lang-645eb1b7.js";/* empty css *//* empty css */import"./attachment-0daaf0f6.js";import"./index.vue_vue_type_script_setup_true_lang-d47218dc.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-0998f18f.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang-e10327f5.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./sortable.esm-be94e56d.js";const J={class:"main-container"},Y={class:"panel-title !text-sm"},k={class:"form-tip"},q={class:"panel-title !text-sm"},M={class:"form-tip"},X={class:"fixed-footer-wrap"},$={class:"fixed-footer"},Dt=w({__name:"adminlogin",setup(z){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 S()).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]))}),I(a).then(()=>{p.value=!1}).catch(()=>{p.value=!1})}})};return(d,t)=>{const a=L,l=O,u=j,f=R,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",Y,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",k,c(s(i)("adminBgImgTip")),1)]),_:1},8,["label"])]),_:1}),o(f,{class:"box-card mt-[15px] !border-none",shadow:"never"},{default:n(()=>[m("h3",q,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",M,c(s(i)("siteBgImgTip")),1)]),_:1},8,["label"])]),_:1})]),_:1},8,["model"])),[[x,p.value]]),m("div",X,[m("div",$,[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};

View File

@ -1 +0,0 @@
import{d as B,x as C,r as g,n as E,h as b,c as N,a as r,t as p,u as s,P as D,s as y,w as m,e as o,q as i,i as F,dn as I,dp as U,aU as S,K as L,a0 as O,L as j,E as R,U as T}from"./index-ae2d9b78.js";/* empty css *//* empty css *//* empty css *//* empty css */import J from"./index-b111e282.js";import"./el-form-item-4ed993c7.js";/* empty css */import{_ as k}from"./_plugin-vue_export-helper-c27b6911.js";/* empty css */import"./index.vue_vue_type_style_index_0_lang-b2ddc674.js";/* empty css *//* empty css */import"./attachment-8d650cb6.js";import"./index.vue_vue_type_script_setup_true_lang-57aca5c9.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 */import"./index.vue_vue_type_script_setup_true_lang-43b3de63.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang-657c47c5.js";/* empty css */const q={class:"main-container"},K={class:"flex ml-[18px] justify-between items-center mt-[20px]"},P={class:"text-page-title"},$={class:"panel-title !text-sm"},z={class:"form-tip"},A={class:"panel-title !text-sm"},G={class:"form-tip"},H={class:"fixed-footer-wrap"},M={class:"fixed-footer"},Q=B({__name:"adminlogin",setup(W){const h=C().meta.title,c=g(!0),d=g(),e=E({is_captcha:0,is_site_captcha:0,bg:"",site_bg:""});(async(_=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]}),c.value=!1})();const v=async _=>{c.value||!_||await _.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]))}),U(a).then(()=>{c.value=!1}).catch(()=>{c.value=!1})}})};return(_,t)=>{const a=S,l=L,u=J,f=O,x=j,V=R,w=T;return b(),N("div",q,[r("div",K,[r("span",P,p(s(h)),1)]),D((b(),y(x,{model:e,"label-width":"150px",ref_key:"ruleFormRef",ref:d,class:"page-form"},{default:m(()=>[o(f,{class:"box-card !border-none",shadow:"never"},{default:m(()=>[r("h3",$,p(s(i)("admin")),1),o(l,{label:s(i)("isCaptcha"),prop:"formData.is_auth_register"},{default:m(()=>[o(a,{modelValue:e.is_captcha,"onUpdate:modelValue":t[0]||(t[0]=n=>e.is_captcha=n)},null,8,["modelValue"])]),_:1},8,["label"]),o(l,{label:s(i)("bgImg")},{default:m(()=>[o(u,{modelValue:e.bg,"onUpdate:modelValue":t[1]||(t[1]=n=>e.bg=n)},null,8,["modelValue"]),r("div",z,p(s(i)("adminBgImgTip")),1)]),_:1},8,["label"])]),_:1}),o(f,{class:"box-card !border-none mt-4",shadow:"never"},{default:m(()=>[r("h3",A,p(s(i)("site")),1),o(l,{label:s(i)("isCaptcha"),prop:"formData.is_auth_register"},{default:m(()=>[o(a,{modelValue:e.is_site_captcha,"onUpdate:modelValue":t[2]||(t[2]=n=>e.is_site_captcha=n)},null,8,["modelValue"])]),_:1},8,["label"]),o(l,{label:s(i)("bgImg")},{default:m(()=>[o(u,{modelValue:e.site_bg,"onUpdate:modelValue":t[3]||(t[3]=n=>e.site_bg=n)},null,8,["modelValue"]),r("div",G,p(s(i)("siteBgImgTip")),1)]),_:1},8,["label"])]),_:1})]),_:1},8,["model"])),[[w,c.value]]),r("div",H,[r("div",M,[o(V,{type:"primary",onClick:t[4]||(t[4]=n=>v(d.value))},{default:m(()=>[F(p(s(i)("save")),1)]),_:1})])])])}}});const St=k(Q,[["__scopeId","data-v-ef32cbf8"]]);export{St as default};

View File

@ -1 +0,0 @@
.el-form .form-tip[data-v-ef32cbf8]{line-height:1.5;margin-top:5px}

View File

@ -1 +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,P as C,s as B,q as n,i as p,dq as N,aa as T,E as D,ac as L,a0 as A,U as V}from"./index-ae2d9b78.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css */const j={class:"main-container"},q={class:"flex justify-between items-center"},R={class:"text-page-title"},$={class:"mt-[20px]"},Y=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=V;return m(),E("div",j,[a(b,{class:"box-card !border-none",shadow:"never"},{default:o(()=>[i("div",q,[i("span",R,r(t(_)),1)]),i("div",$,[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:S=>g(c)},{default:o(()=>[p(r(t(n)("config")),1)]),_:2},1032,["onClick"])]),_:1},8,["label"])]),_:1},8,["data"])),[[w,e.loading]])])]),_:1})])}}});export{Y as default};
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,bZ as N,ab as T,E as D,ac as L,a6 as A,Y as R}from"./index-34979a7f.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]"},W=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,b=L,f=A,w=R;return m(),E("div",V,[a(f,{class:"box-card !border-none",shadow:"never"},{default:o(()=>[i("div",j,[i("span",$,r(t(_)),1)]),i("div",q,[C((m(),B(b,{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{W as default};

View File

@ -0,0 +1 @@
import{d as N,x as P,f as S,r as y,b_ as q,n as I,l as M,q as i,h as k,c as T,e as a,w as l,u as o,aP as U,R as j,s as A,a as w,i as h,t as V,b$ as L,c0 as O,aQ as H,a6 as K,K as Q,L as Y,M as z,E as G,Y as J}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css */import{_ as W}from"./index.vue_vue_type_script_setup_true_lang-56df2e92.js";/* empty css *//* empty css *//* empty css */import"./index.vue_vue_type_style_index_0_lang-645eb1b7.js";/* empty css *//* empty css */import"./attachment-0daaf0f6.js";import"./index.vue_vue_type_script_setup_true_lang-d47218dc.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-0998f18f.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang-e10327f5.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 L(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,O(r).then(p=>{s.value=!1,g()}).catch(()=>{s.value=!1})}})},g=()=>{E.removeTab(d.path),x.push({path:"/setting/agreement"})};return(m,e)=>{const r=H,p=K,v=Q,c=Y,$=W,C=z,b=G,F=J;return k(),T("div",X,[a(p,{class:"card !border-none",shadow:"never"},{default:l(()=>[a(r,{content:o(B),icon:o(U),onBack:e[0]||(e[0]=n=>m.$router.back())},null,8,["content","icon"])]),_:1}),j((k(),A(p,{class:"box-card mt-[15px] !border-none",shadow:"never"},{default:l(()=>[a(C,{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(v,{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(v,{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($,{modelValue:t.content,"onUpdate:modelValue":e[3]||(e[3]=n=>t.content=n)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["model","rules"])]),_:1})),[[F,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=>g())},{default:l(()=>[h(V(o(i)("cancel")),1)]),_:1})])])])}}});export{Se as default};

View File

@ -1 +0,0 @@
import{d as R,x as N,f as S,r as y,dr as T,n as U,l as $,q as n,h as k,c as j,a as l,u as o,t as c,P as q,s as I,w as m,e as s,i as x,ds as A,dt as L,J as M,K as O,L as z,a0 as J,E as K,U as G}from"./index-ae2d9b78.js";/* empty css *//* empty css *//* empty css *//* empty css */import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-e1657841.js";import"./el-form-item-4ed993c7.js";/* empty css */import"./index.vue_vue_type_style_index_0_lang-b2ddc674.js";/* empty css *//* empty css */import"./attachment-8d650cb6.js";import"./index.vue_vue_type_script_setup_true_lang-57aca5c9.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 */import"./index.vue_vue_type_script_setup_true_lang-43b3de63.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang-657c47c5.js";/* empty css */import"./_plugin-vue_export-helper-c27b6911.js";const Q={class:"main-container"},W={class:"detail-head"},X=l("span",{class:"iconfont iconxiangzuojiantou !text-xs"},null,-1),Y={class:"ml-[1px]"},Z=l("span",{class:"adorn"},"|",-1),ee={class:"right"},te={class:"fixed-footer-wrap"},oe={class:"fixed-footer"},je=R({__name:"agreement_edit",setup(ae){const u=N(),_=S(),f=u.query.key||"",i=y(!1),V=T(),w=u.meta.title,g={agreement_key:"",content:"",title:"",agreement_key_name:""},t=U({...g});i.value=!0,f&&(async(d="")=>{Object.assign(t,g);const e=await(await A(d)).data;Object.keys(t).forEach(a=>{e[a]!=null&&(t[a]=e[a])}),i.value=!1})(f);const v=y(),E=$(()=>({title:[{required:!0,message:n("titlePlaceholder"),trigger:"blur"}]})),C=async d=>{i.value||!d||await d.validate(async e=>{if(e){i.value=!0;const a=t;a.key=t.agreement_key,L(a).then(p=>{i.value=!1,b()}).catch(()=>{i.value=!1})}})},b=()=>{V.removeTab(u.path),_.push({path:"/setting/agreement"})};return(d,e)=>{const a=M,p=O,D=H,B=z,F=J,h=K,P=G;return k(),j("div",Q,[l("div",W,[l("div",{class:"left",onClick:e[0]||(e[0]=r=>o(_).push({path:"/setting/agreement"}))},[X,l("span",Y,c(o(n)("returnToPreviousPage")),1)]),Z,l("span",ee,c(o(w)),1)]),q((k(),I(F,{class:"box-card !border-none",shadow:"never"},{default:m(()=>[s(B,{model:t,"label-width":"90px",ref_key:"formRef",ref:v,rules:o(E),class:"page-form"},{default:m(()=>[s(p,{label:o(n)("type")},{default:m(()=>[s(a,{modelValue:t.agreement_key_name,"onUpdate:modelValue":e[1]||(e[1]=r=>t.agreement_key_name=r),modelModifiers:{trim:!0},readonly:"",class:"input-width"},null,8,["modelValue"])]),_:1},8,["label"]),s(p,{label:o(n)("title"),prop:"title"},{default:m(()=>[s(a,{modelValue:t.title,"onUpdate:modelValue":e[2]||(e[2]=r=>t.title=r),modelModifiers:{trim:!0},clearable:"",placeholder:o(n)("titlePlaceholder"),class:"input-width",maxlength:"20"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),s(p,{label:o(n)("content")},{default:m(()=>[s(D,{modelValue:t.content,"onUpdate:modelValue":e[3]||(e[3]=r=>t.content=r)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["model","rules"])]),_:1})),[[P,i.value]]),l("div",te,[l("div",oe,[s(h,{type:"primary",onClick:e[4]||(e[4]=r=>C(v.value))},{default:m(()=>[x(c(o(n)("save")),1)]),_:1}),s(h,{onClick:e[5]||(e[5]=r=>b())},{default:m(()=>[x(c(o(n)("cancel")),1)]),_:1})])])])}}});export{je as default};

View File

@ -1 +1 @@
import{N as t}from"./index-ae2d9b78.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};
import{O as t}from"./index-34979a7f.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};

View File

@ -1 +0,0 @@
.main-container[data-v-e51b31c1]{background:linear-gradient(180deg,rgba(253,253,253,.24) 0%,#FAFAFA 100%);min-height:calc(100vh - 64px)}.overview-top[data-v-e51b31c1]{background-image:url(./overview-85d8713c.png);background-repeat:no-repeat;background-size:cover;height:calc(100vh - 120px)}.app-item[data-v-e51b31c1]{box-shadow:0 2px 4px #0000002e}.app-item:hover .app-item-head[data-v-e51b31c1]{background-color:#fdf4ef}.overview-empty .el-empty__image{width:auto!important}

View File

@ -0,0 +1 @@
import{d as I,f as V,j as M,r as y,n as R,R as N,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 T,T as j,A as D,s as U,i as q,B as k,bL as b,G as L,E as z,J as G,aU as J,bM as O,a9 as P,Y,p as $,g as H}from"./index-34979a7f.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-37fd48cc.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=M(),n=y(!0),_=R({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 w=p=>{L.set({key:"menuAppStorage",data:p.key}),L.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 N((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(T,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=>w(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};

View File

@ -1 +0,0 @@
import{d as C,f as V,j as M,r as y,n as N,P as R,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 j,Q as D,A as T,s as U,i as P,B as k,a7 as b,G as w,E as q,I as z,ab as G,ad as O,a4 as Q,U as $,p as H,g as J}from"./index-ae2d9b78.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 W}from"./addon-36ff97ba.js";import{_ as X}from"./_plugin-vue_export-helper-c27b6911.js";const Y=""+new URL("app_store_default-c0531792.png",import.meta.url).href,f=_=>(H("data-v-e51b31c1"),_=_(),J(),_),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:Y})],-1)),le={class:"py-[18px] px-[24px]"},_e={class:"font-[600] leading-[1] text-[14px] text-[#222]"},de={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=C({__name:"app_manage",setup(_){const v=V(),m=M(),n=y(!0),d=N({appList:[]}),h=y({});(()=>{n.value=!0,W().then(p=>{Object.values(p.data).forEach((t,i)=>{t.type=="app"&&d.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=q,F=z,E=G,S=O,A=Q,I=$;return R((l(),x("div",Z,[d.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(j,null,D(d.appList,(r,B)=>(l(),x("div",{key:B,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(T)(r.icon),fit:"contain"},{error:c(()=>[re]),_:2},1032,["src"])]),e("div",le,[e("div",_e,s(r.title),1),u(E,{class:"box-item",effect:"light",content:r.desc,placement:"bottom-start"},{default:c(()=>[e("div",de,s(r.desc),1)]),_:2},1032,["content"])])],8,ce))),128)),!d.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(()=>[P(s(a(o)("link")),1)]),_:1}),e("span",null,s(a(o)("descriptionRight")),1)])]),_:1})):k("",!0)])])):k("",!0)])),[[I,n.value]])}}});const Be=X(me,[["__scopeId","data-v-e51b31c1"]]);export{Be as default};

View 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}

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
.group-list .group-item[data-v-418ecbbf]{height:32px;margin-top:3px}.group-list .group-item .operate[data-v-418ecbbf]{display:none}.group-list .group-item.active[data-v-418ecbbf]{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.group-list .group-item[data-v-418ecbbf]:hover{background-color:var(--el-color-primary-light-9)}.group-list .group-item:hover .operate[data-v-418ecbbf],.attachment-item:hover .attachment-action[data-v-418ecbbf]{display:block}.attachment-list-wrap .attachment-wrap[data-v-418ecbbf]{background:var(--el-border-color-extra-light)}.file-box-active[data-v-418ecbbf]: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-418ecbbf]{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)}
.group-list .group-item[data-v-e9280fd3]{height:32px;margin-top:3px}.group-list .group-item .operate[data-v-e9280fd3]{display:none}.group-list .group-item.active[data-v-e9280fd3]{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.group-list .group-item[data-v-e9280fd3]:hover{background-color:var(--el-color-primary-light-9)}.group-list .group-item:hover .operate[data-v-e9280fd3],.attachment-item:hover .attachment-action[data-v-e9280fd3]{display:block}.attachment-list-wrap .attachment-wrap[data-v-e9280fd3]{background:var(--el-border-color-extra-light)}.file-box-active[data-v-e9280fd3]: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-e9280fd3]{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)}

View File

@ -1 +0,0 @@
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,Q as v,q as g,aD as E,aE as V,a0 as w}from"./index-ae2d9b78.js";/* empty css *//* empty css */import k from"./attachment-8d650cb6.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang-57aca5c9.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-form-item-4ed993c7.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"./index.vue_vue_type_script_setup_true_lang-43b3de63.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang-657c47c5.js";/* empty css */import"./_plugin-vue_export-helper-c27b6911.js";const B={class:"main-container attachment-container"},C={class:"flex justify-between items-center mb-[16px]"},N={class:"text-page-title"},pt=f({__name:"attachment",setup(T){const l=h().meta.title,a=["image","video","icon"],r=x(a[0]);return(F,n)=>{const c=E,_=V,d=w;return m(),s("div",B,[e(d,{class:"box-card !border-none full-container",shadow:"never"},{default:o(()=>[i("div",C,[i("span",N,y(p(l)),1)]),e(_,{modelValue:r.value,"onUpdate:modelValue":n[0]||(n[0]=t=>r.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(k,{scene:"attachment",type:t},null,8,["type"])]),_:2},1032,["label","name"])),64))]),_:1},8,["modelValue"])]),_:1})])}}});export{pt as default};

View File

@ -1 +0,0 @@
.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}

View 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-34979a7f.js";/* empty css *//* empty css */import T from"./attachment-0daaf0f6.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang-d47218dc.js";/* empty css *//* 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-0998f18f.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang-e10327f5.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};

File diff suppressed because one or more lines are too long

View 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}

View 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}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);margin:0;font-size:var(--el-font-size-base);list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{display:flex;align-items:center}.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{position:relative;padding-bottom:20px}.el-timeline-item__wrapper{position:relative;padding-left:28px;top:-3px}.el-timeline-item__tail{position:absolute;left:4px;height:100%;border-left:2px solid var(--el-timeline-node-color)}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{position:absolute;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;align-items:center}.el-timeline-item__node--normal{left:-1px;width:var(--el-timeline-node-size-normal);height:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{left:-2px;width:var(--el-timeline-node-size-large);height: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{position:absolute;display:flex;justify-content:center;align-items:center}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);line-height:1;font-size:var(--el-font-size-small)}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.app-text[data-v-49eb9654]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-o-text-overflow:ellipsis}.main[data-v-49eb9654]{background-color:var(--el-bg-color-overlay)}em[data-v-49eb9654]{font-style:normal}.timeline-log-wrap[data-v-49eb9654]{background:#F5F7F9}html.dark .timeline-log-wrap[data-v-49eb9654]{background:var(--el-bg-color);color:var(--el-text-color-regular)}.auth-code-dialog .el-overlay{background-color:transparent}.auth-code-dialog .el-dialog__header{padding:0}.auth-code-dialog .el-dialog__body{padding:20px 30px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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-34979a7f.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};

View File

@ -1 +0,0 @@
import{d as b,r as d,n as w,H as m,l as g,a5 as c,h as B,s as E,w as i,e as n,a as l,P as F,i as j,a6 as C,aB as N,J as O,K as R,L as k}from"./index-ae2d9b78.js";/* empty css */import"./el-form-item-4ed993c7.js";/* empty css *//* empty css */const D={class:"flex items-center"},I=l("span",{class:"ml-[10px] el-form-item__label"},"消费折扣",-1),U={class:"w-[120px]"},z=l("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:(a,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(a){f("update:modelValue",a)}});return c(()=>o.value,(a,t)=>{(!t||!Object.keys(t).length)&&Object.keys(a).length&&(e.value=o.value)},{immediate:!0}),c(()=>e.value,()=>{o.value=e.value},{deep:!0}),_({verify:async()=>{var t;let a=!0;return await((t=r.value)==null?void 0:t.validate(s=>{a=s})),a}}),(a,t)=>{const s=N,V=O,h=R,y=k;return B(),E(y,{ref_key:"formRef",ref:r,model:e.value,rules:x},{default:i(()=>[n(h,{label:"",prop:"discount",class:"!mb-[10px]"},{default:i(()=>[l("div",null,[l("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,F(l("div",U,[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),[[C,e.value.is_use]])]),z])]),_:1})]),_:1},8,["model","rules"])}}});export{S as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{d as O,x as S,r as v,n as x,h as i,c as E,a as b,t as u,u as l,P as K,s as d,w as o,e as n,q as r,du as k,B as f,i as _,F as L,Q as P,aU as W,K as j,J as G,az as H,aA as I,aB as q,dv as J,a0 as M,L as Q,E as $,U as X}from"./index-ae2d9b78.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-form-item-4ed993c7.js";/* empty css */import{b as Y,T as Z,U as ee}from"./member-4f56ccd3.js";const te={class:"main-container bg-[#fff] rounded-[4px]"},ae={class:"flex ml-[18px] justify-between items-center pt-[20px]"},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 R=S().meta.title,c=v(!0),y=v(),t=x({is_auto_transfer:"0",is_auto_verify:"0",is_open:"0",min:"0.01",rate:"0",transfer_type:[]}),V=v([]);(async()=>{V.value=await(await Y()).data})(),(async(m=0)=>{const e=await(await Z()).data;Object.keys(t).forEach(s=>{e[s]!=null&&(t[s]=e[s])}),t.is_open=Boolean(Number(t.is_open)),c.value=!1})();const C=x({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"}]}),F=async m=>{c.value||!m||await m.validate(e=>{if(e){const s={...t};s.is_open=Number(s.is_open).toString(),ee(s).then(()=>{c.value=!1}).catch(()=>{c.value=!1})}})};return(m,e)=>{const s=W,p=j,w=G,g=H,h=I,N=q,U=J,B=M,T=Q,z=$,A=X;return i(),E("div",te,[b("div",ae,[b("span",oe,u(l(R)),1)]),K((i(),d(T,{model:t,"label-width":"150px",ref_key:"ruleFormRef",ref:y,rules:C,class:"page-form"},{default:o(()=>[n(B,{class:"box-card !border-none",shadow:"never"},{default:o(()=>[n(p,{label:l(r)("isOpen")},{default:o(()=>[n(s,{modelValue:t.is_open,"onUpdate:modelValue":e[0]||(e[0]=a=>t.is_open=a)},null,8,["modelValue"])]),_:1},8,["label"]),t.is_open?(i(),d(p,{key:0,label:l(r)("cashWithdrawalAmount"),prop:"min"},{default:o(()=>[n(w,{modelValue:t.min,"onUpdate:modelValue":e[1]||(e[1]=a=>t.min=a),onKeyup:e[2]||(e[2]=a=>l(k)(a)),class:"input-width",placeholder:l(r)("cashWithdrawalAmountPlaceholder")},null,8,["modelValue","placeholder"])]),_:1},8,["label"])):f("",!0),t.is_open?(i(),d(p,{key:1,label:l(r)("commissionRatio"),prop:"rate"},{default:o(()=>[n(w,{modelValue:t.rate,"onUpdate:modelValue":e[3]||(e[3]=a=>t.rate=a),onKeyup:e[4]||(e[4]=a=>l(k)(a)),class:"input-width",placeholder:l(r)("commissionRatioPlaceholder")},null,8,["modelValue","placeholder"]),le]),_:1},8,["label"])):f("",!0),t.is_open?(i(),d(p,{key:2,label:l(r)("audit"),class:"items-center"},{default:o(()=>[n(h,{modelValue:t.is_auto_verify,"onUpdate:modelValue":e[5]||(e[5]=a=>t.is_auto_verify=a)},{default:o(()=>[n(g,{label:"0",size:"large"},{default:o(()=>[_(u(l(r)("manualAudit")),1)]),_:1}),n(g,{label:"1",size:"large"},{default:o(()=>[_(u(l(r)("automaticAudit")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"])):f("",!0),t.is_open?(i(),d(p,{key:3,label:l(r)("transfer"),class:"items-center"},{default:o(()=>[n(h,{modelValue:t.is_auto_transfer,"onUpdate:modelValue":e[6]||(e[6]=a=>t.is_auto_transfer=a)},{default:o(()=>[n(g,{label:"0",size:"large"},{default:o(()=>[_(u(l(r)("manualTransfer")),1)]),_:1}),n(g,{label:"1",size:"large"},{default:o(()=>[_(u(l(r)("automatedTransit")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"])):f("",!0),t.is_open?(i(),d(p,{key:4,label:l(r)("transferMode"),class:"items-center"},{default:o(()=>[n(U,{modelValue:t.transfer_type,"onUpdate:modelValue":e[7]||(e[7]=a=>t.transfer_type=a),size:"large"},{default:o(()=>[(i(!0),E(L,null,P(V.value,(a,D)=>(i(),d(N,{label:a.key,key:"a"+D},{default:o(()=>[_(u(a.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"])):f("",!0)]),_:1})]),_:1},8,["model","rules"])),[[A,c.value]]),b("div",se,[b("div",re,[n(z,{type:"primary",onClick:e[8]||(e[8]=a=>F(y.value))},{default:o(()=>[_(u(l(r)("save")),1)]),_:1})])])])}}});export{Re as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{d as S,x as O,r as g,n as E,h as i,c as k,e as n,w as o,a as b,t as u,u as l,R as K,s as d,q as r,c1 as R,B as f,i as p,F as L,T as W,aS as j,L as G,K as H,as as I,at as M,au as P,c2 as q,a6 as Y,M as $,E as J,Y as Q}from"./index-34979a7f.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-3d8539dd.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"},ke=S({__name:"cash_out",setup(ne){const C=O().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(),k("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(R)(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(R)(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),k(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{ke as default};

View File

@ -1 +0,0 @@
const e="接入流程",c="微信小程序",s="微信小程序接入流程",t="微信小程序认证",n="点击注册打开微信小程序官方,注册微信小程序后点击企业认证,申请之后等待微信官方审核",a="点击注册",p="扫描二维码进入小程序",o="没有小程序马上注册",l="微信小程序配置",w="点击配置微信小程序",i="上传小程序",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:w,uploadVersion:i,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,i as uploadVersion,e as weappAccessFlow,n as weappAttest,t as weappAttestation,s as weappInlet,m as weappRelease,l as weappSetting,w as weappSettingBtn,h as wechatAccess,k as wechatAccessBtn,S as wechatSet};

View File

@ -0,0 +1 @@
const e="接入流程",c="微信小程序",t="微信小程序接入流程",s="微信小程序认证",n="点击注册打开微信小程序官方,注册微信小程序后点击企业认证,申请之后等待微信官方审核",a="点击注册",p="扫描二维码进入小程序",o="没有小程序马上注册",i="微信小程序配置",l="点击配置微信小程序",w="上传小程序",A="微信小程序认证之后按照官方提供的手册进行配置",r="配置信息",h="版本管理中存放上传的微信小程序历更版本通过uniapp版本编译小程序然后打包上传提交",u="提交审核",g="提交uniapp对应版本可以通过微信小程序查看版本的审核进度审核成功后就可以使用了",k="查看审核进度",S="小程序配置",f="订阅消息",b="版本管理",m="您正在体验通用版小程序,不发布你将不可用",B="授权绑定微信小程序",C="点击配置微信小程序",I="查看配置",d="重新授权",F={weappAccessFlow:e,title:c,weappInlet:t,weappAttestation:s,weappAttest:n,clickAccess:a,clickAccess2:p,clickAccess3:o,weappSetting:i,weappSettingBtn:l,uploadVersion:w,emplace:A,settingInfo:r,releaseCourse:h,completeAccess:u,wechatAccess:g,wechatAccessBtn:k,wechatSet:S,subscribeMessage:f,weappRelease:b,alert:m,authWeapp:B,clickSetting:C,seeConfig:I,refreshAuth:d};export{m as alert,B as authWeapp,a as clickAccess,p as clickAccess2,o as clickAccess3,C as clickSetting,u as completeAccess,F as default,A as emplace,d as refreshAuth,h as releaseCourse,I as seeConfig,r as settingInfo,f as subscribeMessage,c as title,w as uploadVersion,e as weappAccessFlow,n as weappAttest,s as weappAttestation,t as weappInlet,b as weappRelease,i as weappSetting,l as weappSettingBtn,g as wechatAccess,k as wechatAccessBtn,S as wechatSet};

View File

@ -1 +0,0 @@
const o="操作提示",e="下载之后需使用微信开发者工具上传代码,微信开发者工具下载地址",s="上传之后登录微信公众平台,在版本管理中选择刚上传的版本提交审核,审核通过之后即可发布小程序。",n="小程序名称",c="小程序ID",t="小程序原始ID",p="小程序信息",a="小程序代码",i="版本",d="下载",l="代码下载",w="下载代码",r="请先完善小程序配置",T="下载小程序代码包",u="上传代码",h="下载完成之后,使用微信开发工具进行上传",D="发布小程序",P="上传之后提交审核,审核通过发布小程序",m="小程序版本",I="关闭",g="版本号",R="请输入版本号",f="小程序代码",v="请上传小程序代码",O="版本说明",b="接入流程",A="订阅消息",C="版本管理",N="请输入版本说明",S="小程序代码上传中",k="状态",x="预览",_="上传代码需先绑定授权码如果已有授权请先进行绑定没有授权可到niucloud官网购买云服务之后再进行操作",q="绑定授权",B="去niucloud官网",F="失败原因",K="去配置",M="一键云端发布",V="本地发布",W="请先将uni-app编译成微信小程序然后使用微信开发者工具进行上传",y="小程序上传成功后还需到<a href='https://mp.weixin.qq.com/' target='_blank' class='text-primary'>微信公众平台</a>提交审核,审核通过后发布才算正式上线。",j="我已知晓,不需要再次提示",z="上传代码需先绑定授权码,请联系平台管理员进行绑定",E={operatePrompt:o,operatePromptTipsOne:e,operatePromptTipsTwo:s,weappName:n,weappId:c,weappOriginalId:t,weappInfo:p,versionCode:a,version:i,down:d,codeDown:l,downWeappCode:w,weappTips:r,codeDownOneTips:T,codeDownTwoDesc:u,codeDownTwoTips:h,codeDownThreeDesc:D,codeDownThreeTips:P,weappVersion:m,close:I,code:g,codePlaceholder:R,path:f,pathPlaceholder:v,content:O,weappAccessFlow:b,subscribeMessage:A,weappRelease:C,contentPlaceholder:N,uploadingTips:S,status:k,preview:x,authTips:_,toBind:q,toNiucloud:B,failReason:F,toSetting:K,cloudRelease:M,localRelease:V,localInsertTips:W,uploadSuccessTips:y,knownToKnow:j,siteAuthTips:z};export{_ as authTips,I as close,M as cloudRelease,g as code,l as codeDown,T as codeDownOneTips,D as codeDownThreeDesc,P as codeDownThreeTips,u as codeDownTwoDesc,h as codeDownTwoTips,R as codePlaceholder,O as content,N as contentPlaceholder,E as default,d as down,w as downWeappCode,F as failReason,j as knownToKnow,W as localInsertTips,V as localRelease,o as operatePrompt,e as operatePromptTipsOne,s as operatePromptTipsTwo,f as path,v as pathPlaceholder,x as preview,z as siteAuthTips,k as status,A as subscribeMessage,q as toBind,B as toNiucloud,K as toSetting,y as uploadSuccessTips,S as uploadingTips,i as version,a as versionCode,b as weappAccessFlow,c as weappId,p as weappInfo,n as weappName,t as weappOriginalId,C as weappRelease,r as weappTips,m as weappVersion};

View File

@ -0,0 +1 @@
const o="操作提示",e="下载之后需使用微信开发者工具上传代码,微信开发者工具下载地址",s="上传之后登录微信公众平台,在版本管理中选择刚上传的版本提交审核,审核通过之后即可发布小程序。",n="小程序名称",c="小程序ID",t="小程序原始ID",p="小程序信息",a="小程序代码",i="版本",d="下载",l="代码下载",w="下载代码",r="请先完善小程序配置",T="下载小程序代码包",u="上传代码",h="下载完成之后,使用微信开发工具进行上传",D="发布小程序",P="上传之后提交审核,审核通过发布小程序",g="小程序版本",m="关闭",I="版本号",R="请输入版本号",f="小程序代码",v="请上传小程序代码",O="版本说明",b="接入流程",A="订阅消息",C="版本管理",N="请输入版本说明",S="小程序代码上传中",k="状态",x="预览",_="上传代码需先绑定授权码如果已有授权请先进行绑定没有授权可到niucloud官网购买云服务之后再进行操作",q="绑定授权",B="去niucloud官网",F="失败原因",K="去配置",M="一键云端发布",U="本地发布",V="请先将uni-app编译成微信小程序然后使用微信开发者工具进行上传",W="小程序上传成功后还需到<a href='https://mp.weixin.qq.com/' target='_blank' class='text-primary'>微信公众平台</a>提交审核,审核通过后发布才算正式上线。",y="我已知晓,不需要再次提示",j="上传代码需先绑定授权码,请联系平台管理员进行绑定",z="重新上传",E={operatePrompt:o,operatePromptTipsOne:e,operatePromptTipsTwo:s,weappName:n,weappId:c,weappOriginalId:t,weappInfo:p,versionCode:a,version:i,down:d,codeDown:l,downWeappCode:w,weappTips:r,codeDownOneTips:T,codeDownTwoDesc:u,codeDownTwoTips:h,codeDownThreeDesc:D,codeDownThreeTips:P,weappVersion:g,close:m,code:I,codePlaceholder:R,path:f,pathPlaceholder:v,content:O,weappAccessFlow:b,subscribeMessage:A,weappRelease:C,contentPlaceholder:N,uploadingTips:S,status:k,preview:x,authTips:_,toBind:q,toNiucloud:B,failReason:F,toSetting:K,cloudRelease:M,localRelease:U,localInsertTips:V,uploadSuccessTips:W,knownToKnow:y,siteAuthTips:j,againUpload:z};export{z as againUpload,_ as authTips,m as close,M as cloudRelease,I as code,l as codeDown,T as codeDownOneTips,D as codeDownThreeDesc,P as codeDownThreeTips,u as codeDownTwoDesc,h as codeDownTwoTips,R as codePlaceholder,O as content,N as contentPlaceholder,E as default,d as down,w as downWeappCode,F as failReason,y as knownToKnow,V as localInsertTips,U as localRelease,o as operatePrompt,e as operatePromptTipsOne,s as operatePromptTipsTwo,f as path,v as pathPlaceholder,x as preview,j as siteAuthTips,k as status,A as subscribeMessage,q as toBind,B as toNiucloud,K as toSetting,W as uploadSuccessTips,S as uploadingTips,i as version,a as versionCode,b as weappAccessFlow,c as weappId,p as weappInfo,n as weappName,t as weappOriginalId,C as weappRelease,r as weappTips,g as weappVersion};

View File

@ -0,0 +1 @@
const t="接入流程",c="微信公众号",e="微信公众号接入流程",s="微信公众号认证",n="点击接入打开微信公众号官方,注册微信公众号后申请服务号认证,申请之后等待微信官方审核",o="点击接入",a="微信公众号配置",h="微信公众号认证之后配置微信公众号连接,具体查看配置与发布教程",w="点击配置微信公众号",i="微信公众号发布",l="发布教程",A="完成接入",r="公众号配置",u="自定义菜单",g="查看审核进度",S="扫描二维码进入微信公众号",f="模板消息",p="自动回复",k="授权绑定微信公众号",m="点击配置微信公众号",C="查看配置",I="重新授权",y={wechatAccessFlow:t,title:c,wechatInlet:e,wechatAttestation:s,wechatAttestation1:n,clickAccess:o,wechatSetting:a,wechatSetting1:h,settingInfo:w,wechatAccess:i,releaseCourse:l,completeAccess:A,wechatSet:r,customMenu:u,wechatAccessBtn:g,clickAccess2:S,wechatTemplate:f,reply:p,authWechat:k,clickSetting:m,seeConfig:C,refreshAuth:I};export{k as authWechat,o as clickAccess,S as clickAccess2,m as clickSetting,A as completeAccess,u as customMenu,y as default,I as refreshAuth,l as releaseCourse,p as reply,C as seeConfig,w as settingInfo,c as title,i as wechatAccess,g as wechatAccessBtn,t as wechatAccessFlow,s as wechatAttestation,n as wechatAttestation1,e as wechatInlet,r as wechatSet,a as wechatSetting,h as wechatSetting1,f as wechatTemplate};

View File

@ -1 +0,0 @@
const t="接入流程",c="微信公众号",e="微信公众号接入流程",s="微信公众号认证",n="点击接入打开微信公众号官方,注册微信公众号后申请服务号认证,申请之后等待微信官方审核",o="点击接入",a="微信公众号配置",w="微信公众号认证之后配置微信公众号连接,具体查看配置与发布教程",h="点击配置",l="微信公众号发布",i="发布教程",A="完成接入",p="公众号配置",r="自定义菜单",u="查看审核进度",g="扫描二维码进入微信公众号",m="模板消息",S="自动回复",k={wechatAccessFlow:t,title:c,wechatInlet:e,wechatAttestation:s,wechatAttestation1:n,clickAccess:o,wechatSetting:a,wechatSetting1:w,settingInfo:h,wechatAccess:l,releaseCourse:i,completeAccess:A,wechatSet:p,customMenu:r,wechatAccessBtn:u,clickAccess2:g,wechatTemplate:m,reply:S};export{o as clickAccess,g as clickAccess2,A as completeAccess,r as customMenu,k as default,i as releaseCourse,S as reply,h as settingInfo,c as title,l as wechatAccess,u as wechatAccessBtn,t as wechatAccessFlow,s as wechatAttestation,n as wechatAttestation1,e as wechatInlet,p as wechatSet,a as wechatSetting,w as wechatSetting1,m as wechatTemplate};

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@ -1 +0,0 @@
.el-collapse[data-v-0f411e38],.el-collapse-item .el-collapse-item__wrap[data-v-0f411e38]{border:0px!important}[data-v-0f411e38] .el-tabs__item:hover{border-bottom:2px solid var(--el-color-primary)}[data-v-0f411e38] .el-tabs__item{padding:0}[data-v-0f411e38] .el-tabs__item+.el-tabs__item{margin-right:20px;margin-left:20px}[data-v-0f411e38] .el-tabs--top .el-tabs__active-bar{display:none}[data-v-0f411e38] .el-tabs--top .el-tabs__item.is-active{border-bottom:2px solid var(--el-color-primary)}[data-v-0f411e38] .el-tabs--top .el-tabs__item.is-top:nth-child(2){margin-right:20px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{N as b,d as B,x as D,r as v,n as P,aT as R,aS as U,a5 as F,R as g,q as a,P as I,h as j,c as L,a as l,t as u,u as i,e as n,w as r,i as M,aU as O,K as T,J as $,a0 as J,L as K,E as z,U as A}from"./index-ae2d9b78.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-form-item-4ed993c7.js";/* empty css */import{_ as G}from"./_plugin-vue_export-helper-c27b6911.js";function H(){return b.get("channel/pc/config")}function Q(_){return b.put("channel/pc/config",_,{showSuccessMessage:!0})}const W={class:"main-container bg-[#fff] rounded-[4px]"},X={class:"flex pl-[18px] justify-between items-center pt-[20px]"},Y={class:"text-page-title"},Z={class:"fixed-footer-wrap"},ee={class:"fixed-footer"},te=B({__name:"config",setup(_){const w=D().meta.title,s=v(!0),e=P({is_open:!1,request_url:""}),d=v();R().then(t=>{e.request_url=t.data.web_url+"/",s.value=!1}),H().then(t=>{Object.assign(e,t.data),e.is_open=Boolean(Number(e.is_open)),s.value=!1});const{copy:y,isSupported:h,copied:f}=U(),x=t=>{if(!h.value){g({message:a("notSupportCopy"),type:"warning"});return}y(t)};F(f,()=>{f.value&&g({message:a("copySuccess"),type:"success"})});const C=()=>{window.open(e.request_url)},E=async t=>{s.value||!t||await t.validate(async o=>{if(o){s.value=!0;const c={...e};c.is_open=Number(c.is_open),Q(c).then(()=>{s.value=!1}).catch(()=>{s.value=!1})}})};return(t,o)=>{const c=O,m=T,N=$,k=J,q=K,S=z,V=A;return I((j(),L("div",W,[l("div",X,[l("span",Y,u(i(w)),1)]),n(q,{model:e,"label-width":"150px",ref_key:"formRef",ref:d,class:"page-form"},{default:r(()=>[n(k,{class:"box-card !border-none",shadow:"never"},{default:r(()=>[n(m,{label:i(a)("isOpen")},{default:r(()=>[n(c,{modelValue:e.is_open,"onUpdate:modelValue":o[0]||(o[0]=p=>e.is_open=p)},null,8,["modelValue"])]),_:1},8,["label"]),n(m,{label:i(a)("PCDomainName")},{default:r(()=>[n(N,{"model-value":e.request_url,class:"input-width",readonly:!0},{append:r(()=>[l("div",{class:"cursor-pointer",onClick:o[1]||(o[1]=p=>x(e.request_url))},u(i(a)("copy")),1)]),_:1},8,["model-value"]),l("span",{class:"ml-2 cursor-pointer visit-btn",onClick:C},u(i(a)("clickVisit")),1)]),_:1},8,["label"])]),_:1})]),_:1},8,["model"]),l("div",Z,[l("div",ee,[n(S,{type:"primary",loading:s.value,onClick:o[2]||(o[2]=p=>E(d.value))},{default:r(()=>[M(u(i(a)("save")),1)]),_:1},8,["loading"])])])])),[[V,s.value]])}}});const _e=G(te,[["__scopeId","data-v-38d6bca0"]]);export{_e as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{O as y,d as k,x as q,r as v,n as B,aR as O,aO as R,Q as D,U as g,q as a,h as I,c as M,e as n,w as l,a as c,t as u,u as r,i as P,aS as U,L as j,K as F,M as $,a6 as K,E as L}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{_ as Q}from"./_plugin-vue_export-helper-c27b6911.js";function T(){return y.get("channel/pc/config")}function z(_){return y.put("channel/pc/config",_,{showSuccessMessage:!0})}const A={class:"main-container"},G={class:"flex justify-between items-center"},H={class:"text-page-title"},J={class:"ml-2 cursor-pointer visit-btn"},W={class:"fixed-footer-wrap"},X={class:"fixed-footer"},Y=k({__name:"config",setup(_){const h=q().meta.title,o=v(!0),e=B({is_open:!1,request_url:""}),d=v();O().then(t=>{e.request_url=t.data.web_url+"/",o.value=!1}),T().then(t=>{Object.assign(e,t.data),e.is_open=Boolean(Number(e.is_open)),o.value=!1});const{copy:b,isSupported:w,copied:m}=R(),x=t=>{if(!w.value){g({message:a("notSupportCopy"),type:"warning"});return}b(t)};D(m,()=>{m.value&&g({message:a("copySuccess"),type:"success"})});const C=async t=>{o.value||!t||await t.validate(async s=>{if(s){o.value=!0;const i={...e};i.is_open=Number(i.is_open),z(i).then(()=>{o.value=!1}).catch(()=>{o.value=!1})}})};return(t,s)=>{const i=U,f=j,E=F,N=$,S=K,V=L;return I(),M("div",A,[n(S,{class:"box-card !border-none",shadow:"never"},{default:l(()=>[c("div",G,[c("span",H,u(r(h)),1)]),n(N,{class:"page-form mt-[20px]",model:e,"label-width":"150px",ref_key:"formRef",ref:d},{default:l(()=>[n(f,{label:r(a)("isOpen")},{default:l(()=>[n(i,{modelValue:e.is_open,"onUpdate:modelValue":s[0]||(s[0]=p=>e.is_open=p)},null,8,["modelValue"])]),_:1},8,["label"]),n(f,{label:r(a)("PCDomainName")},{default:l(()=>[n(E,{"model-value":e.request_url,class:"input-width",readonly:!0},{append:l(()=>[c("div",{class:"cursor-pointer",onClick:s[1]||(s[1]=p=>x(e.request_url))},u(r(a)("copy")),1)]),_:1},8,["model-value"]),c("span",J,u(r(a)("clickVisit")),1)]),_:1},8,["label"])]),_:1},8,["model"])]),_:1}),c("div",W,[c("div",X,[n(V,{type:"primary",loading:o.value,onClick:s[2]||(s[2]=p=>C(d.value))},{default:l(()=>[P(u(r(a)("save")),1)]),_:1},8,["loading"])])])])}}});const ce=Q(Y,[["__scopeId","data-v-7d8e6c26"]]);export{ce as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
.visit-btn[data-v-38d6bca0]{color:var(--el-color-primary)}

View File

@ -1 +0,0 @@
import{N as w,d as D,x as R,r as v,n as U,aT as F,aS as I,a5 as j,R as g,q as a,h,c as H,a as n,t as u,u as l,P as L,s as M,w as i,e as r,i as O,aU as T,K as $,J,a0 as K,L as P,E as z,U as A}from"./index-ae2d9b78.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-form-item-4ed993c7.js";/* empty css */import{_ as G}from"./_plugin-vue_export-helper-c27b6911.js";function Q(){return w.get("channel/h5/config")}function W(_){return w.put("channel/h5/config",_,{showSuccessMessage:!0})}const X={class:"main-container bg-[#fff] rounded-[4px]"},Y={class:"flex ml-[18px] justify-between items-center pt-[20px]"},Z={class:"text-page-title"},ee={class:"fixed-footer-wrap"},te={class:"fixed-footer"},se=D({__name:"config",setup(_){const y=R().meta.title,o=v(!0),e=U({is_open:!0,request_url:""}),d=v();Q().then(t=>{Object.assign(e,t.data),e.is_open=Boolean(Number(e.is_open)),o.value=!1}),F().then(t=>{e.request_url=t.data.wap_url+"/"});const{copy:x,isSupported:b,copied:m}=I(),C=t=>{if(!b.value){g({message:a("notSupportCopy"),type:"warning"});return}x(t)};j(m,()=>{m.value&&g({message:a("copySuccess"),type:"success"})});const E=()=>{window.open(e.request_url)},k=async t=>{o.value||!t||await t.validate(async s=>{if(s){o.value=!0;const c={...e};c.is_open=Number(c.is_open),W(c).then(()=>{o.value=!1}).catch(()=>{o.value=!1})}})};return(t,s)=>{const c=T,f=$,N=J,q=K,S=P,V=z,B=A;return h(),H("div",X,[n("div",Y,[n("span",Z,u(l(y)),1)]),L((h(),M(S,{model:e,"label-width":"150px",ref_key:"formRef",ref:d,class:"page-form"},{default:i(()=>[r(q,{class:"box-card !border-none",shadow:"never"},{default:i(()=>[r(f,{label:l(a)("isOpen")},{default:i(()=>[r(c,{modelValue:e.is_open,"onUpdate:modelValue":s[0]||(s[0]=p=>e.is_open=p)},null,8,["modelValue"])]),_:1},8,["label"]),r(f,{label:l(a)("h5DomainName")},{default:i(()=>[r(N,{"model-value":e.request_url,class:"input-width",readonly:!0},{append:i(()=>[n("div",{class:"cursor-pointer",onClick:s[1]||(s[1]=p=>C(e.request_url))},u(l(a)("copy")),1)]),_:1},8,["model-value"]),n("span",{class:"ml-2 cursor-pointer visit-btn",onClick:E},u(l(a)("clickVisit")),1)]),_:1},8,["label"])]),_:1})]),_:1},8,["model"])),[[B,o.value]]),n("div",ee,[n("div",te,[r(V,{type:"primary",loading:o.value,onClick:s[2]||(s[2]=p=>k(d.value))},{default:i(()=>[O(u(l(a)("save")),1)]),_:1},8,["loading"])])])])}}});const de=G(se,[["__scopeId","data-v-7f2ec82c"]]);export{de as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
.visit-btn[data-v-7f2ec82c]{color:var(--el-color-primary)}

View File

@ -0,0 +1 @@
.visit-btn[data-v-8a5349bf]{color:var(--el-color-primary)}

View File

@ -0,0 +1 @@
.visit-btn[data-v-7d8e6c26]{color:var(--el-color-primary)}

View File

@ -0,0 +1 @@
import{O as h,d as V,x as B,r as v,n as O,aR as R,aO as D,Q as F,U as g,q as o,h as I,c as M,e as a,w as l,a as r,t as u,u as i,i as U,aS as j,L as H,K as $,M as K,a6 as L,E as Q}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{_ as T}from"./_plugin-vue_export-helper-c27b6911.js";function z(){return h.get("channel/h5/config")}function A(_){return h.put("channel/h5/config",_,{showSuccessMessage:!0})}const G={class:"main-container"},J={class:"flex justify-between items-center"},P={class:"text-page-title"},W={class:"fixed-footer-wrap"},X={class:"fixed-footer"},Y=V({__name:"config",setup(_){const y=B().meta.title,n=v(!0),e=O({is_open:!0,request_url:""}),d=v();z().then(t=>{Object.assign(e,t.data),e.is_open=Boolean(Number(e.is_open)),n.value=!1}),R().then(t=>{e.request_url=t.data.wap_url+"/"});const{copy:b,isSupported:w,copied:m}=D(),x=t=>{if(!w.value){g({message:o("notSupportCopy"),type:"warning"});return}b(t)};F(m,()=>{m.value&&g({message:o("copySuccess"),type:"success"})});const C=()=>{window.open(e.request_url)},E=async t=>{n.value||!t||await t.validate(async s=>{if(s){n.value=!0;const c={...e};c.is_open=Number(c.is_open),A(c).then(()=>{n.value=!1}).catch(()=>{n.value=!1})}})};return(t,s)=>{const c=j,f=H,k=$,q=K,N=L,S=Q;return I(),M("div",G,[a(N,{class:"box-card !border-none",shadow:"never"},{default:l(()=>[r("div",J,[r("span",P,u(i(y)),1)]),a(q,{class:"page-form mt-[20px]",model:e,"label-width":"150px",ref_key:"formRef",ref:d},{default:l(()=>[a(f,{label:i(o)("isOpen")},{default:l(()=>[a(c,{modelValue:e.is_open,"onUpdate:modelValue":s[0]||(s[0]=p=>e.is_open=p)},null,8,["modelValue"])]),_:1},8,["label"]),a(f,{label:i(o)("h5DomainName")},{default:l(()=>[a(k,{"model-value":e.request_url,class:"input-width",readonly:!0},{append:l(()=>[r("div",{class:"cursor-pointer",onClick:s[1]||(s[1]=p=>x(e.request_url))},u(i(o)("copy")),1)]),_:1},8,["model-value"]),r("span",{class:"ml-2 cursor-pointer visit-btn",onClick:C},u(i(o)("clickVisit")),1)]),_:1},8,["label"])]),_:1},8,["model"])]),_:1}),r("div",W,[r("div",X,[a(S,{type:"primary",loading:n.value,onClick:s[2]||(s[2]=p=>E(d.value))},{default:l(()=>[U(u(i(o)("save")),1)]),_:1},8,["loading"])])])])}}});const re=T(Y,[["__scopeId","data-v-8a5349bf"]]);export{re as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{d as k,x as U,r as g,n as f,q as o,h as v,c as E,R as P,s as R,w as i,e as a,a as c,t as u,u as t,i as D,c5 as C,c6 as N,L as B,K as F,a6 as L,M as S,E as q,Y as I}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import O from"./index-0da618fa.js";/* empty css */import"./index.vue_vue_type_style_index_0_lang-645eb1b7.js";/* empty css *//* empty css */import"./attachment-0daaf0f6.js";import"./index.vue_vue_type_script_setup_true_lang-d47218dc.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-0998f18f.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang-e10327f5.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./sortable.esm-be94e56d.js";const j={class:"main-container"},K={class:"panel-title !text-sm"},M={class:"panel-title !text-sm"},T={class:"fixed-footer-wrap"},Y={class:"fixed-footer"},ke=k({__name:"copyright",setup($){U().meta.title;const n=g(!0),l=f({icp:"",gov_record:"",gov_url:"",market_supervision_url:"",logo:"",company_name:"",copyright_link:"",copyright_desc:""});(async(m=0)=>{const e=await(await C()).data;Object.keys(l).forEach(p=>{e[p]!=null&&(l[p]=e[p])}),n.value=!1})();const _=g(),b=f({site_name:[{required:!0,message:o("siteNamePlaceholder"),trigger:"blur"}]}),y=async m=>{n.value||!m||await m.validate(async e=>{e&&(n.value=!0,N(l).then(()=>{n.value=!1}).catch(()=>{n.value=!1}))})};return(m,e)=>{const p=O,s=B,d=F,h=L,V=S,w=q,x=I;return v(),E("div",j,[P((v(),R(V,{class:"page-form",model:l,"label-width":"150px",ref_key:"formRef",ref:_,rules:b},{default:i(()=>[a(h,{class:"box-card !border-none",shadow:"never"},{default:i(()=>[c("h3",K,u(t(o)("copyrightEdit")),1),a(s,{label:t(o)("logo")},{default:i(()=>[a(p,{modelValue:l.logo,"onUpdate:modelValue":e[0]||(e[0]=r=>l.logo=r)},null,8,["modelValue"])]),_:1},8,["label"]),a(s,{label:t(o)("companyName"),prop:"company_name"},{default:i(()=>[a(d,{modelValue:l.company_name,"onUpdate:modelValue":e[1]||(e[1]=r=>l.company_name=r),placeholder:t(o)("companyNamePlaceholder"),class:"input-width",clearable:"",maxlength:"30"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(s,{label:t(o)("copyrightLink")},{default:i(()=>[a(d,{modelValue:l.copyright_link,"onUpdate:modelValue":e[2]||(e[2]=r=>l.copyright_link=r),placeholder:t(o)("copyrightLinkPlaceholder"),class:"input-width",clearable:""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(s,{label:t(o)("copyrightDesc")},{default:i(()=>[a(d,{modelValue:l.copyright_desc,"onUpdate:modelValue":e[3]||(e[3]=r=>l.copyright_desc=r),type:"textarea",rows:"4",clearable:"",placeholder:t(o)("copyrightDescPlaceholder"),class:"input-width",maxlength:"150"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1}),a(h,{class:"box-card mt-[15px] !border-none",shadow:"never"},{default:i(()=>[c("h3",M,u(t(o)("putOnRecordEdit")),1),a(s,{label:t(o)("icp"),prop:"icp"},{default:i(()=>[a(d,{modelValue:l.icp,"onUpdate:modelValue":e[4]||(e[4]=r=>l.icp=r),placeholder:t(o)("icpPlaceholder"),class:"input-width",clearable:"",maxlength:"20"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(s,{label:t(o)("govRecord")},{default:i(()=>[a(d,{modelValue:l.gov_record,"onUpdate:modelValue":e[5]||(e[5]=r=>l.gov_record=r),placeholder:t(o)("govRecordPlaceholder"),class:"input-width",clearable:"",maxlength:"50"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(s,{label:t(o)("govUrl")},{default:i(()=>[a(d,{modelValue:l.gov_url,"onUpdate:modelValue":e[6]||(e[6]=r=>l.gov_url=r),placeholder:t(o)("govUrlPlaceholder"),class:"input-width",clearable:""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(s,{label:t(o)("marketSupervisionUrl")},{default:i(()=>[a(d,{modelValue:l.market_supervision_url,"onUpdate:modelValue":e[7]||(e[7]=r=>l.market_supervision_url=r),rows:"4",clearable:"",placeholder:t(o)("marketSupervisionUrlPlaceholder"),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1})]),_:1},8,["model","rules"])),[[x,n.value]]),c("div",T,[c("div",Y,[a(w,{type:"primary",loading:n.value,onClick:e[8]||(e[8]=r=>y(_.value))},{default:i(()=>[D(u(t(o)("save")),1)]),_:1},8,["loading"])])])])}}});export{ke as default};

View File

@ -1 +0,0 @@
import{d as U,x as E,r as g,n as f,q as a,h as v,c as P,e as o,w as s,a as p,t as u,u as t,P as D,s as N,i as R,dy as C,dz as B,K as F,J as L,a0 as S,L as j,E as q,U as I}from"./index-ae2d9b78.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-form-item-4ed993c7.js";import O from"./index-b111e282.js";/* empty css */import"./index.vue_vue_type_style_index_0_lang-b2ddc674.js";/* empty css *//* empty css */import"./attachment-8d650cb6.js";import"./index.vue_vue_type_script_setup_true_lang-57aca5c9.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"./index.vue_vue_type_script_setup_true_lang-43b3de63.js";/* empty css */import"./index.vue_vue_type_script_setup_true_lang-657c47c5.js";/* empty css */import"./_plugin-vue_export-helper-c27b6911.js";const z={class:"main-container"},J={class:"flex justify-between items-center"},K={class:"text-page-title"},T={class:"panel-title !text-sm"},$={class:"panel-title !text-sm"},A={class:"fixed-footer-wrap"},G={class:"fixed-footer"},De=U({__name:"copyright",setup(H){const b=E().meta.title,n=g(!0),l=f({icp:"",gov_record:"",gov_url:"",market_supervision_url:"",logo:"",company_name:"",copyright_link:"",copyright_desc:""});(async(c=0)=>{const e=await(await C()).data;Object.keys(l).forEach(m=>{e[m]!=null&&(l[m]=e[m])}),n.value=!1})();const h=g(),y=f({site_name:[{required:!0,message:a("siteNamePlaceholder"),trigger:"blur"}]}),V=async c=>{n.value||!c||await c.validate(async e=>{e&&(n.value=!0,B(l).then(()=>{n.value=!1}).catch(()=>{n.value=!1}))})};return(c,e)=>{const m=O,i=F,d=L,_=S,w=j,x=q,k=I;return v(),P("div",z,[o(_,{class:"box-card !border-none",shadow:"never"},{default:s(()=>[p("div",J,[p("span",K,u(t(b)),1)]),D((v(),N(w,{model:l,"label-width":"150px",ref_key:"formRef",ref:h,rules:y,class:"page-form"},{default:s(()=>[o(_,{class:"box-card !border-none",shadow:"never"},{default:s(()=>[p("h3",T,u(t(a)("copyrightEdit")),1),o(i,{label:t(a)("logo")},{default:s(()=>[o(m,{modelValue:l.logo,"onUpdate:modelValue":e[0]||(e[0]=r=>l.logo=r)},null,8,["modelValue"])]),_:1},8,["label"]),o(i,{label:t(a)("companyName"),prop:"company_name"},{default:s(()=>[o(d,{modelValue:l.company_name,"onUpdate:modelValue":e[1]||(e[1]=r=>l.company_name=r),placeholder:t(a)("companyNamePlaceholder"),class:"input-width",clearable:"",maxlength:"30"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),o(i,{label:t(a)("copyrightLink")},{default:s(()=>[o(d,{modelValue:l.copyright_link,"onUpdate:modelValue":e[2]||(e[2]=r=>l.copyright_link=r),placeholder:t(a)("copyrightLinkPlaceholder"),class:"input-width",clearable:""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),o(i,{label:t(a)("copyrightDesc")},{default:s(()=>[o(d,{modelValue:l.copyright_desc,"onUpdate:modelValue":e[3]||(e[3]=r=>l.copyright_desc=r),type:"textarea",rows:"4",clearable:"",placeholder:t(a)("copyrightDescPlaceholder"),class:"input-width",maxlength:"150"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1}),o(_,{class:"box-card !border-none mt-[16px]",shadow:"never"},{default:s(()=>[p("h3",$,u(t(a)("putOnRecordEdit")),1),o(i,{label:t(a)("icp"),prop:"icp"},{default:s(()=>[o(d,{modelValue:l.icp,"onUpdate:modelValue":e[4]||(e[4]=r=>l.icp=r),placeholder:t(a)("icpPlaceholder"),class:"input-width",clearable:"",maxlength:"20"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),o(i,{label:t(a)("govRecord")},{default:s(()=>[o(d,{modelValue:l.gov_record,"onUpdate:modelValue":e[5]||(e[5]=r=>l.gov_record=r),placeholder:t(a)("govRecordPlaceholder"),class:"input-width",clearable:"",maxlength:"50"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),o(i,{label:t(a)("govUrl")},{default:s(()=>[o(d,{modelValue:l.gov_url,"onUpdate:modelValue":e[6]||(e[6]=r=>l.gov_url=r),placeholder:t(a)("govUrlPlaceholder"),class:"input-width",clearable:""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),o(i,{label:t(a)("marketSupervisionUrl")},{default:s(()=>[o(d,{modelValue:l.market_supervision_url,"onUpdate:modelValue":e[7]||(e[7]=r=>l.market_supervision_url=r),rows:"4",clearable:"",placeholder:t(a)("marketSupervisionUrlPlaceholder"),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1})]),_:1},8,["model","rules"])),[[k,n.value]])]),_:1}),p("div",A,[p("div",G,[o(x,{type:"primary",loading:n.value,onClick:e[8]||(e[8]=r=>V(h.value))},{default:s(()=>[R(u(t(a)("save")),1)]),_:1},8,["loading"])])])])}}});export{De as default};

View File

@ -0,0 +1 @@
import{d as w,x as u,f as h,h as f,c as g,e as r,w as i,u as t,aP as v,a as e,i as o,t as s,q as n,aQ as b,a6 as y,E as k}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css */const T=""+new URL("weapp_1-7017a047.png",import.meta.url).href,E=""+new URL("weapp_2-8fac7fa5.png",import.meta.url).href,R=""+new URL("weapp_3-07a2249e.png",import.meta.url).href,B=""+new URL("weapp_4-d837a9b1.png",import.meta.url).href,L={class:"main-container"},U={class:"flex"},j=e("div",{class:"min-w-[60px]"},[e("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"1")],-1),C={class:"flex items-center text-[14px]"},N=e("div",{class:"w-[100%] mt-[10px]"},[e("img",{class:"w-[100%]",src:T})],-1),q={class:"flex mt-[40px]"},O=e("div",{class:"min-w-[60px]"},[e("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"2")],-1),V={class:"flex items-center text-[14px]"},F=e("div",{class:"w-[100%] mt-[10px]"},[e("img",{class:"w-[100%]",src:E})],-1),P={class:"flex mt-[40px]"},S=e("div",{class:"min-w-[60px]"},[e("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"3")],-1),$={class:"flex items-center text-[14px]"},A={class:"text-primary"},D=e("div",{class:"w-[100%] mt-[10px]"},[e("img",{class:"w-[100%]",src:R})],-1),H={class:"flex mt-[40px]"},K=e("div",{class:"min-w-[60px]"},[e("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"4")],-1),Q={class:"flex items-center text-[14px]"},z=e("span",{class:"text-primary"},"URL / Token / EncondingAESKey",-1),G=e("div",{class:"w-[100%] mt-[10px]"},[e("img",{class:"w-[100%]",src:B})],-1),Z=w({__name:"course",setup(I){const p=u();h();const l=p.meta.title,d=()=>{window.open("https://mp.weixin.qq.com/","_blank")};return(_,a)=>{const m=b,c=y,x=k;return f(),g("div",L,[r(c,{class:"card !border-none",shadow:"never"},{default:i(()=>[r(m,{content:t(l),icon:t(v),onBack:a[0]||(a[0]=J=>_.$router.back())},null,8,["content","icon"])]),_:1}),r(c,{class:"box-card mt-[15px] !border-none",shadow:"never"},{default:i(()=>[e("div",U,[j,e("div",null,[e("p",C,[o(s(t(n)("writingTipsOne1")),1),r(x,{link:"",type:"primary",onClick:d},{default:i(()=>[o(s(t(n)("writingTipsOne2")),1)]),_:1}),o(","+s(t(n)("writingTipsOne3")),1)]),N])]),e("div",q,[O,e("div",null,[e("p",V,s(t(n)("writingTipsTwo1")),1),F])]),e("div",P,[S,e("div",null,[e("p",$,[o(s(t(n)("writingTipsThree1")),1),e("span",A,s(t(n)("writingTipsThree2")),1)]),D])]),e("div",H,[K,e("div",null,[e("p",Q,[o(s(t(n)("writingTipsFour1")),1),z,o(s(t(n)("writingTipsFour2")),1)]),G])])]),_:1})])}}});export{Z as default};

View File

@ -1 +0,0 @@
import{d as m,x as h,f as u,h as w,c as f,a as s,u as t,t as e,q as n,e as r,w as a,i,E as v,a0 as g}from"./index-ae2d9b78.js";/* empty css *//* empty css */const y=""+new URL("weapp_1-7017a047.png",import.meta.url).href,b=""+new URL("weapp_2-8fac7fa5.png",import.meta.url).href,T=""+new URL("weapp_3-07a2249e.png",import.meta.url).href,k=""+new URL("weapp_4-d837a9b1.png",import.meta.url).href,E={class:"main-container"},R={class:"detail-head"},j=s("span",{class:"iconfont iconxiangzuojiantou !text-xs"},null,-1),C={class:"ml-[1px]"},L=s("span",{class:"adorn"},"|",-1),U={class:"right"},B={class:"mt-[20px]"},N={class:"flex"},q=s("div",{class:"min-w-[60px]"},[s("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"1")],-1),O={class:"flex items-center text-[14px]"},V=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:y})],-1),F={class:"flex mt-[40px]"},P=s("div",{class:"min-w-[60px]"},[s("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"2")],-1),S={class:"flex items-center text-[14px]"},z=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:b})],-1),A={class:"flex mt-[40px]"},D=s("div",{class:"min-w-[60px]"},[s("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"3")],-1),K={class:"flex items-center text-[14px]"},$={class:"text-primary"},G=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:T})],-1),H={class:"flex mt-[40px]"},I=s("div",{class:"min-w-[60px]"},[s("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"4")],-1),J={class:"flex items-center text-[14px]"},M=s("span",{class:"text-primary"},"URL / Token / EncondingAESKey",-1),Q=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:k})],-1),es=m({__name:"course",setup(W){const c=h(),p=u(),l=c.meta.title,d=()=>{window.open("https://mp.weixin.qq.com/","_blank")};return(X,o)=>{const _=v,x=g;return w(),f("div",E,[s("div",R,[s("div",{class:"left",onClick:o[0]||(o[0]=Y=>t(p).push({path:"/channel/weapp"}))},[j,s("span",C,e(t(n)("returnToPreviousPage")),1)]),L,s("span",U,e(t(l)),1)]),r(x,{class:"box-card !border-none",shadow:"never"},{default:a(()=>[s("div",B,[s("div",N,[q,s("div",null,[s("p",O,[i(e(t(n)("writingTipsOne1")),1),r(_,{link:"",type:"primary",onClick:d},{default:a(()=>[i(e(t(n)("writingTipsOne2")),1)]),_:1}),i(","+e(t(n)("writingTipsOne3")),1)]),V])]),s("div",F,[P,s("div",null,[s("p",S,e(t(n)("writingTipsTwo1")),1),z])]),s("div",A,[D,s("div",null,[s("p",K,[i(e(t(n)("writingTipsThree1")),1),s("span",$,e(t(n)("writingTipsThree2")),1)]),G])]),s("div",H,[I,s("div",null,[s("p",J,[i(e(t(n)("writingTipsFour1")),1),M,i(e(t(n)("writingTipsFour2")),1)]),Q])])])]),_:1})])}}});export{es as default};

View File

@ -0,0 +1 @@
import{d as h,x as f,f as u,r as g,n as v,h as y,c as b,e as a,w as i,u as t,aP as k,a as e,i as o,t as s,q as n,aQ as T,a6 as E,E as R}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css */import{g as O}from"./wechat-dfab8bd4.js";const B=""+new URL("wechat_1-0a26d3a6.png",import.meta.url).href,C=""+new URL("wechat_4-94a271d5.png",import.meta.url).href,L=""+new URL("wechat_2-0513f476.png",import.meta.url).href,U=""+new URL("wechat_3-0a96f3fe.png",import.meta.url).href,j={class:"main-container"},q={class:"flex"},N=e("div",{class:"min-w-[60px]"},[e("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"1")],-1),V={class:"flex items-center text-[14px]"},D=e("span",{class:"text-primary"},"URL / Token / EncondingAESKey",-1),P=e("div",{class:"w-[100%] mt-[10px]"},[e("img",{class:"w-[100%]",src:B})],-1),S={class:"flex items-center text-[14px] mt-[20px]"},$=e("div",{class:"w-[100%] mt-[10px]"},[e("img",{class:"w-[100%]",src:C})],-1),A={class:"flex mt-[40px]"},H=e("div",{class:"min-w-[60px]"},[e("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"2")],-1),K={class:"flex items-center text-[14px]"},Q=e("div",{class:"w-[100%] mt-[10px]"},[e("img",{class:"w-[100%]",src:L})],-1),W={class:"flex mt-[40px]"},z=e("div",{class:"min-w-[60px]"},[e("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"3")],-1),F={class:"flex items-center text-[14px]"},G={class:"text-primary"},I=e("div",{class:"w-[100%] mt-[10px]"},[e("img",{class:"w-[100%]",src:U})],-1),ne=h({__name:"course",setup(J){const l=f().meta.title;u();const _=g(!0),d=v({wechat_name:"",wechat_original:"",app_id:"",app_secret:"",qr_code:"",token:"",encoding_aes_key:"",encryption_type:"not_encrypt"});O().then(r=>{Object.assign(d,r.data),_.value=!1});const m=()=>{window.open("https://mp.weixin.qq.com/","_blank")};return(r,c)=>{const x=T,p=E,w=R;return y(),b("div",j,[a(p,{class:"card !border-none",shadow:"never"},{default:i(()=>[a(x,{content:t(l),icon:t(k),onBack:c[0]||(c[0]=X=>r.$router.back())},null,8,["content","icon"])]),_:1}),a(p,{class:"box-card mt-[15px] pt-[20px] !border-none",shadow:"never"},{default:i(()=>[e("div",q,[N,e("div",null,[e("p",V,[o(s(t(n)("writingTipsOne1"))+"--",1),a(w,{link:"",type:"primary",onClick:m},{default:i(()=>[o(s(t(n)("writingTipsOne2")),1)]),_:1}),o(", "+s(t(n)("writingTipsOne3")),1),D,o(s(t(n)("writingTipsOne4")),1)]),P,e("p",S,s(t(n)("writingTipsOne5")),1),$])]),e("div",A,[H,e("div",null,[e("p",K,s(t(n)("writingTipsTwo1")),1),Q])]),e("div",W,[z,e("div",null,[e("p",F,[o(s(t(n)("writingTipsThree1")),1),e("span",G,s(t(n)("writingTipsThree2")),1)]),I])])]),_:1})])}}});export{ne as default};

View File

@ -0,0 +1 @@
import{d as g,x as y,f as v,r as b,n as R,h as C,c as T,e as t,w as a,u as e,aP as k,a as s,i as c,t as o,q as i,aQ as L,a6 as U,E as j,aM as E,aN as B}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css */import{g as N}from"./wechat-dfab8bd4.js";const O=""+new URL("alipay1-029c00a2.png",import.meta.url).href,V=""+new URL("alipay2-f74219b9.png",import.meta.url).href,q=""+new URL("alipay3-0895ce6e.png",import.meta.url).href,D=""+new URL("alipay4-92fef352.png",import.meta.url).href,P=""+new URL("alipay4_1-ad9b08e3.jpg",import.meta.url).href,$=""+new URL("alipay4_2-cbaa820b.jpg",import.meta.url).href,H=""+new URL("alipay4_3-4a213289.jpg",import.meta.url).href,M=""+new URL("alipay4_4-7924cbdd.jpg",import.meta.url).href,Q=""+new URL("alipay5-6dba1989.png",import.meta.url).href,S=""+new URL("alipay6-f1e18995.png",import.meta.url).href,W=""+new URL("alipay7-c805d7c0.png",import.meta.url).href,z=""+new URL("alipay8-3097d150.png",import.meta.url).href,A={class:"main-container"},F={class:"flex"},G=s("div",{class:"min-w-[60px]"},[s("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"1")],-1),I={class:"flex items-center text-[14px]"},J=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:O})],-1),K={class:"flex items-center text-[14px] mt-[20px]"},X=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:V})],-1),Y=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:q})],-1),Z={class:"flex mt-[40px]"},ss=s("div",{class:"min-w-[60px]"},[s("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"2")],-1),es={class:"flex items-center text-[14px]"},ts={class:"w-[100%] mt-[10px] flex flex-wrap"},as=s("div",{class:"w-[100%]"},[s("img",{class:"w-[100%]",src:D})],-1),os=s("div",{class:"w-[100%]"},[s("img",{class:"w-[100%]",src:P})],-1),is=s("div",{class:"w-[100%]"},[s("img",{class:"w-[100%]",src:$})],-1),ns=s("div",{class:"w-[100%]"},[s("img",{class:"w-[100%]",src:H})],-1),rs=s("div",{class:"w-[100%]"},[s("img",{class:"w-[100%]",src:M})],-1),cs={class:"flex mt-[40px]"},ps=s("div",{class:"min-w-[60px]"},[s("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"3")],-1),ls={class:"flex items-center text-[14px]"},_s=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:Q})],-1),ms=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:S})],-1),ds={class:"flex items-center text-[14px] mt-[20px]"},xs=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:W})],-1),us={class:"flex items-center text-[14px] mt-[20px]"},ws=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:z})],-1),Ts=g({__name:"course",setup(fs){const _=y();v();const m=_.meta.title,d=b(!0),x=R({wechat_name:"",wechat_original:"",app_id:"",app_secret:"",qr_code:"",token:"",encoding_aes_key:"",encryption_type:"not_encrypt"});N().then(r=>{Object.assign(x,r.data),d.value=!1});const u=()=>{window.open("https://open.alipay.com/develop/manage","_blank")};return(r,p)=>{const w=L,l=U,f=j,n=E,h=B;return C(),T("div",A,[t(l,{class:"card !border-none",shadow:"never"},{default:a(()=>[t(w,{content:e(m),icon:e(k),onBack:p[0]||(p[0]=hs=>r.$router.back())},null,8,["content","icon"])]),_:1}),t(l,{class:"box-card mt-[15px] !border-none",shadow:"never"},{default:a(()=>[s("div",F,[G,s("div",null,[s("p",I,[c(o(e(i)("alipayCourseTipsOne1"))+"--",1),t(f,{link:"",type:"primary",onClick:u},{default:a(()=>[c(o(e(i)("alipayCourseTipsOne2")),1)]),_:1}),c(", "+o(e(i)("alipayCourseTipsOne3")),1)]),J,s("p",K,o(e(i)("alipayCourseTipsTwo1")),1),X,Y])]),s("div",Z,[ss,s("div",null,[s("p",es,o(e(i)("alipayCourseTipsTwo2")),1),s("div",ts,[as,s("div",null,[t(h,{gutter:20},{default:a(()=>[t(n,{span:6},{default:a(()=>[os]),_:1}),t(n,{span:6},{default:a(()=>[is]),_:1}),t(n,{span:6},{default:a(()=>[ns]),_:1}),t(n,{span:6},{default:a(()=>[rs]),_:1})]),_:1})])])])]),s("div",cs,[ps,s("div",null,[s("p",ls,o(e(i)("alipayCourseTipsThree1")),1),_s,ms,s("p",ds,o(e(i)("alipayCourseTipsThree2")),1),xs,s("p",us,o(e(i)("alipayCourseTipsThree3")),1),ws])])]),_:1})])}}});export{Ts as default};

View File

@ -1 +0,0 @@
import{d as g,x as y,f as v,r as b,n as C,h as R,c as T,a as s,u as t,t as e,q as a,e as o,w as i,i as c,E as k,ag as L,ah as U,a0 as j}from"./index-ae2d9b78.js";/* empty css *//* empty css *//* empty css */import{g as E}from"./wechat-7913b0c8.js";const B=""+new URL("alipay1-029c00a2.png",import.meta.url).href,N=""+new URL("alipay2-f74219b9.png",import.meta.url).href,O=""+new URL("alipay3-0895ce6e.png",import.meta.url).href,V=""+new URL("alipay4-92fef352.png",import.meta.url).href,q=""+new URL("alipay4_1-ad9b08e3.jpg",import.meta.url).href,D=""+new URL("alipay4_2-cbaa820b.jpg",import.meta.url).href,P=""+new URL("alipay4_3-4a213289.jpg",import.meta.url).href,z=""+new URL("alipay4_4-7924cbdd.jpg",import.meta.url).href,S=""+new URL("alipay5-6dba1989.png",import.meta.url).href,W=""+new URL("alipay6-f1e18995.png",import.meta.url).href,$=""+new URL("alipay7-c805d7c0.png",import.meta.url).href,A=""+new URL("alipay8-3097d150.png",import.meta.url).href,F={class:"main-container"},G={class:"detail-head"},H=s("span",{class:"iconfont iconxiangzuojiantou !text-xs"},null,-1),I={class:"ml-[1px]"},J=s("span",{class:"adorn"},"|",-1),K={class:"right"},M={class:"mt-[20px]"},Q={class:"flex"},X=s("div",{class:"min-w-[60px]"},[s("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"1")],-1),Y={class:"flex items-center text-[14px]"},Z=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:B})],-1),ss={class:"flex items-center text-[14px] mt-[20px]"},ts=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:N})],-1),es=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:O})],-1),as={class:"flex mt-[40px]"},os=s("div",{class:"min-w-[60px]"},[s("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"2")],-1),is={class:"flex items-center text-[14px]"},ns={class:"w-[100%] mt-[10px] flex flex-wrap"},cs=s("div",{class:"w-[100%]"},[s("img",{class:"w-[100%]",src:V})],-1),rs=s("div",{class:"w-[100%]"},[s("img",{class:"w-[100%]",src:q})],-1),ps=s("div",{class:"w-[100%]"},[s("img",{class:"w-[100%]",src:D})],-1),ls=s("div",{class:"w-[100%]"},[s("img",{class:"w-[100%]",src:P})],-1),_s=s("div",{class:"w-[100%]"},[s("img",{class:"w-[100%]",src:z})],-1),ds={class:"flex mt-[40px]"},ms=s("div",{class:"min-w-[60px]"},[s("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"3")],-1),xs={class:"flex items-center text-[14px]"},hs=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:S})],-1),us=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:W})],-1),ws={class:"flex items-center text-[14px] mt-[20px]"},fs=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:$})],-1),gs={class:"flex items-center text-[14px] mt-[20px]"},ys=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:A})],-1),Us=g({__name:"course",setup(vs){const l=y(),_=v(),d=l.meta.title,m=b(!0),x=C({wechat_name:"",wechat_original:"",app_id:"",app_secret:"",qr_code:"",token:"",encoding_aes_key:"",encryption_type:"not_encrypt"});E().then(r=>{Object.assign(x,r.data),m.value=!1});const h=()=>{window.open("https://open.alipay.com/develop/manage","_blank")};return(r,p)=>{const u=k,n=L,w=U,f=j;return R(),T("div",F,[s("div",G,[s("div",{class:"left",onClick:p[0]||(p[0]=bs=>t(_).push({path:"/channel/aliapp"}))},[H,s("span",I,e(t(a)("returnToPreviousPage")),1)]),J,s("span",K,e(t(d)),1)]),o(f,{class:"box-card !border-none",shadow:"never"},{default:i(()=>[s("div",M,[s("div",Q,[X,s("div",null,[s("p",Y,[c(e(t(a)("alipayCourseTipsOne1"))+"--",1),o(u,{link:"",type:"primary",onClick:h},{default:i(()=>[c(e(t(a)("alipayCourseTipsOne2")),1)]),_:1}),c(", "+e(t(a)("alipayCourseTipsOne3")),1)]),Z,s("p",ss,e(t(a)("alipayCourseTipsTwo1")),1),ts,es])]),s("div",as,[os,s("div",null,[s("p",is,e(t(a)("alipayCourseTipsTwo2")),1),s("div",ns,[cs,s("div",null,[o(w,{gutter:20},{default:i(()=>[o(n,{span:6},{default:i(()=>[rs]),_:1}),o(n,{span:6},{default:i(()=>[ps]),_:1}),o(n,{span:6},{default:i(()=>[ls]),_:1}),o(n,{span:6},{default:i(()=>[_s]),_:1})]),_:1})])])])]),s("div",ds,[ms,s("div",null,[s("p",xs,e(t(a)("alipayCourseTipsThree1")),1),hs,us,s("p",ws,e(t(a)("alipayCourseTipsThree2")),1),fs,s("p",gs,e(t(a)("alipayCourseTipsThree3")),1),ys])])])]),_:1})])}}});export{Us as default};

View File

@ -1 +0,0 @@
import{d as w,x as u,f,r as g,n as v,h as y,c as b,a as t,u as s,t as e,q as n,e as c,w as r,i as o,E as T,a0 as k}from"./index-ae2d9b78.js";/* empty css *//* empty css */import{g as E}from"./wechat-7913b0c8.js";const R=""+new URL("wechat_1-0a26d3a6.png",import.meta.url).href,C=""+new URL("wechat_4-94a271d5.png",import.meta.url).href,O=""+new URL("wechat_2-0513f476.png",import.meta.url).href,j=""+new URL("wechat_3-0a96f3fe.png",import.meta.url).href,L={class:"main-container"},U={class:"detail-head"},q=t("span",{class:"iconfont iconxiangzuojiantou !text-xs"},null,-1),B={class:"ml-[1px]"},N=t("span",{class:"adorn"},"|",-1),V={class:"right"},D={class:"mt-[20px]"},P={class:"flex"},S=t("div",{class:"min-w-[60px]"},[t("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"1")],-1),z={class:"flex items-center text-[14px]"},A=t("span",{class:"text-primary"},"URL / Token / EncondingAESKey",-1),K=t("div",{class:"w-[100%] mt-[10px]"},[t("img",{class:"w-[100%]",src:R})],-1),W={class:"flex items-center text-[14px] mt-[20px]"},$=t("div",{class:"w-[100%] mt-[10px]"},[t("img",{class:"w-[100%]",src:C})],-1),F={class:"flex mt-[40px]"},G=t("div",{class:"min-w-[60px]"},[t("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"2")],-1),H={class:"flex items-center text-[14px]"},I=t("div",{class:"w-[100%] mt-[10px]"},[t("img",{class:"w-[100%]",src:O})],-1),J={class:"flex mt-[40px]"},M=t("div",{class:"min-w-[60px]"},[t("span",{class:"flex justify-center items-center block w-[40px] h-[40px] border-[1px] border-primary rounded-[999px] text-primary"},"3")],-1),Q={class:"flex items-center text-[14px]"},X={class:"text-primary"},Y=t("div",{class:"w-[100%] mt-[10px]"},[t("img",{class:"w-[100%]",src:j})],-1),at=w({__name:"course",setup(Z){const p=u().meta.title,l=f(),_=g(!0),d=v({wechat_name:"",wechat_original:"",app_id:"",app_secret:"",qr_code:"",token:"",encoding_aes_key:"",encryption_type:"not_encrypt"});E().then(i=>{Object.assign(d,i.data),_.value=!1});const m=()=>{window.open("https://mp.weixin.qq.com/","_blank")};return(i,a)=>{const x=T,h=k;return y(),b("div",L,[t("div",U,[t("div",{class:"left",onClick:a[0]||(a[0]=st=>s(l).push({path:"/channel/wechat"}))},[q,t("span",B,e(s(n)("returnToPreviousPage")),1)]),N,t("span",V,e(s(p)),1)]),c(h,{class:"box-card !border-none",shadow:"never"},{default:r(()=>[t("div",D,[t("div",P,[S,t("div",null,[t("p",z,[o(e(s(n)("writingTipsOne1"))+"--",1),c(x,{link:"",type:"primary",onClick:m},{default:r(()=>[o(e(s(n)("writingTipsOne2")),1)]),_:1}),o(", "+e(s(n)("writingTipsOne3")),1),A,o(e(s(n)("writingTipsOne4")),1)]),K,t("p",W,e(s(n)("writingTipsOne5")),1),$])]),t("div",F,[G,t("div",null,[t("p",H,e(s(n)("writingTipsTwo1")),1),I])]),t("div",J,[M,t("div",null,[t("p",Q,[o(e(s(n)("writingTipsThree1")),1),t("span",X,e(s(n)("writingTipsThree2")),1)]),Y])])])]),_:1})])}}});export{at as default};

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -0,0 +1 @@
import{_ as o}from"./create-site-limit.vue_vue_type_script_setup_true_lang-6cbf96b9.js";import"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./user-6b2d33a6.js";export{o as default};

View File

@ -0,0 +1 @@
import{d as k,r as f,l as F,q as l,Q as q,h as d,s as v,w as a,a as x,e as s,i as g,t as p,u as r,R as P,c as C,F as R,T as I,B as M,aa as T,aB as O,L as Z,K as $,M as j,E as K,X as Q,Y as X}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{e as Y,a as z,b as A}from"./user-6b2d33a6.js";const H={key:0,class:"text-[12px] text-[#a9a9a9] leading-normal mt-[5px]"},J={class:"dialog-footer"},pe=k({__name:"create-site-limit",props:{siteGroup:{type:Object,default:()=>({})},uid:{type:Number,default:0}},emits:["complete"],setup(w,{expose:y,emit:L}){const c=w,u=f(!1),b=f(null),t=f({id:0,uid:c.uid,group_id:"",num:1,month:1}),m=f(!1),S=F(()=>({group_id:[{required:!0,message:l("siteGroupPlaceholder"),trigger:"blur"}],num:[{required:!0,message:l("numPlaceholder"),trigger:"blur"},{validator:(i,e,n)=>{e<=0&&n(l("numCannotLtZero")),n()}}],month:[{required:!0,message:l("monthPlaceholder"),trigger:"blur"},{validator:(i,e,n)=>{e<=0&&n(l("monthCannotLtZero")),n()}}]})),E=async i=>{m.value||!i||await i.validate(async e=>{e&&(m.value=!0,(t.value.id?Y:z)(t.value).then(()=>{m.value=!1,u.value=!1,L("complete")}).catch(()=>{m.value=!1}))})},B=(i=0)=>{i?A(i).then(({data:e})=>{t.value=e,u.value=!0}):u.value=!0};return q(()=>u.value,()=>{u.value||(t.value={id:0,uid:c.uid,group_id:"",num:1,month:1})}),y({setFormData:B,loading:m}),(i,e)=>{const n=T,N=O,_=Z,h=$,U=j,V=K,D=Q,G=X;return d(),v(D,{modelValue:u.value,"onUpdate:modelValue":e[5]||(e[5]=o=>u.value=o),title:r(l)("userCreateSiteLimit"),width:"700px","destroy-on-close":!0},{footer:a(()=>[x("span",J,[s(V,{onClick:e[3]||(e[3]=o=>u.value=!1)},{default:a(()=>[g(p(r(l)("cancel")),1)]),_:1}),s(V,{type:"primary",loading:m.value,onClick:e[4]||(e[4]=o=>E(b.value))},{default:a(()=>[g(p(r(l)("confirm")),1)]),_:1},8,["loading"])])]),default:a(()=>[P((d(),v(U,{model:t.value,"label-width":"130px",ref_key:"formRef",ref:b,rules:r(S),class:"page-form",autocomplete:"off"},{default:a(()=>[s(_,{label:r(l)("siteGroup"),prop:"group_id"},{default:a(()=>[s(N,{modelValue:t.value.group_id,"onUpdate:modelValue":e[0]||(e[0]=o=>t.value.group_id=o),placeholder:r(l)("siteGroupPlaceholder"),disabled:t.value.id},{default:a(()=>[(d(!0),C(R,null,I(c.siteGroup,o=>(d(),v(n,{label:o.group_name,value:o.group_id},null,8,["label","value"]))),256))]),_:1},8,["modelValue","placeholder","disabled"])]),_:1},8,["label"]),s(_,{label:r(l)("createSiteNum"),prop:"num"},{default:a(()=>[x("div",null,[s(h,{modelValue:t.value.num,"onUpdate:modelValue":e[1]||(e[1]=o=>t.value.num=o),modelModifiers:{number:!0},class:"!w-[150px]"},null,8,["modelValue"]),t.value.group_id?(d(),C("p",H,p(r(l)("createdSiteNum"))+""+p(c.siteGroup[t.value.group_id].site_num),1)):M("",!0)])]),_:1},8,["label"]),s(_,{label:r(l)("createSiteTimeLimit"),prop:"month"},{default:a(()=>[s(h,{modelValue:t.value.month,"onUpdate:modelValue":e[2]||(e[2]=o=>t.value.month=o),modelModifiers:{number:!0},class:"!w-[150px]"},{append:a(()=>[g(p(r(l)("month")),1)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[G,m.value]])]),_:1},8,["modelValue","title"])}}});export{pe as _};

View File

@ -1 +0,0 @@
import{d as V,n as z,r as k,h as c,c as h,e as a,w as r,u as o,q as n,i as p,t as i,a as b,P as F,s as B,dA as U,J as $,K as L,da as N,E as Y,L as j,a0 as H,aa as I,ac as M,T as R,U as S}from"./index-ae2d9b78.js";/* 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-form-item-4ed993c7.js";import{_ as q}from"./cron-info.vue_vue_type_script_setup_true_lang-3a5dec9e.js";/* empty css *//* empty css */const A={class:"main-container"},J={class:"mt-[16px]"},K={key:0},G={key:1},O={class:"mt-[16px] flex justify-end"},be=V({__name:"cron",setup(Q){const e=z({page:1,limit:10,total:0,loading:!0,data:[],searchParam:{title:"",type:"",last_time:""}}),y=k(),m=(d=1)=>{e.loading=!0,e.page=d,U({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 _=k(null),w=d=>{_.value.setFormData(d),_.value.showDialog=!0};return(d,l)=>{const x=$,u=L,C=N,f=Y,D=j,v=H,s=I,E=M,P=R,T=S;return c(),h("div",A,[a(v,{class:"box-card !border-none",shadow:"never"},{default:r(()=>[a(v,{class:"box-card !border-none my-[16px] table-search-wrap",shadow:"never"},{default:r(()=>[a(D,{inline:!0,model:e.searchParam,ref_key:"searchFormRef",ref:y},{default:r(()=>[a(u,{label:o(n)("title"),prop:"title"},{default:r(()=>[a(x,{modelValue:e.searchParam.title,"onUpdate:modelValue":l[0]||(l[0]=t=>e.searchParam.title=t),placeholder:o(n)("titlePlaceholder")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(u,{label:o(n)("lastTime"),prop:"last_time"},{default:r(()=>[a(C,{modelValue:e.searchParam.last_time,"onUpdate:modelValue":l[1]||(l[1]=t=>e.searchParam.last_time=t),type:"datetimerange","value-format":"YYYY-MM-DD HH:mm:ss","start-placeholder":o(n)("startDate"),"end-placeholder":o(n)("endDate")},null,8,["modelValue","start-placeholder","end-placeholder"])]),_:1},8,["label"]),a(u,null,{default:r(()=>[a(f,{type:"primary",onClick:l[2]||(l[2]=t=>m())},{default:r(()=>[p(i(o(n)("search")),1)]),_:1}),a(f,{onClick:l[3]||(l[3]=t=>{var g;return(g=y.value)==null?void 0:g.resetFields()})},{default:r(()=>[p(i(o(n)("reset")),1)]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),b("div",J,[F((c(),B(E,{data:e.data,size:"large"},{empty:r(()=>[b("span",null,i(e.loading?"":o(n)("emptyData")),1)]),default:r(()=>[a(s,{prop:"title","show-overflow-tooltip":!0,label:o(n)("title"),"min-width":"150"},null,8,["label"]),a(s,{prop:"type_name",label:o(n)("typeName"),"min-width":"120"},null,8,["label"]),a(s,{label:o(n)("crondType"),"min-width":"180",align:"center"},{default:r(({row:t})=>[t.type=="crond"?(c(),h("span",K,i(t.crond_length)+i(t.crond_type_name),1)):(c(),h("span",G,i(o(n)("cron")),1))]),_:1},8,["label"]),a(s,{prop:"count",label:o(n)("count"),"min-width":"120"},null,8,["label"]),a(s,{label:o(n)("lastTime"),"min-width":"180",align:"center"},{default:r(({row:t})=>[p(i(t.last_time||""),1)]),_:1},8,["label"]),a(s,{label:o(n)("nextTime"),"min-width":"180",align:"center"},{default:r(({row:t})=>[p(i(t.next_time||""),1)]),_:1},8,["label"]),a(s,{label:o(n)("operation"),align:"right",fixed:"right",width:"100"},{default:r(({row:t})=>[a(f,{type:"primary",link:"",onClick:g=>w(t)},{default:r(()=>[p(i(o(n)("info")),1)]),_:2},1032,["onClick"])]),_:1},8,["label"])]),_:1},8,["data"])),[[T,e.loading]]),b("div",O,[a(P,{"current-page":e.page,"onUpdate:current-page":l[4]||(l[4]=t=>e.page=t),"page-size":e.limit,"onUpdate:page-size":l[5]||(l[5]=t=>e.limit=t),layout:"total, sizes, prev, pager, next, jumper",total:e.total,onSizeChange:l[6]||(l[6]=t=>m()),onCurrentChange:m},null,8,["current-page","page-size","total"])])])]),_:1}),a(q,{ref_key:"cronDialog",ref:_,onComplete:m},null,512)])}}});export{be as default};

View File

@ -1 +1 @@
import{_ as o}from"./cron-info.vue_vue_type_script_setup_true_lang-3a5dec9e.js";import"./index-ae2d9b78.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-form-item-4ed993c7.js";export{o as default};
import{_ as o}from"./cron-info.vue_vue_type_script_setup_true_lang-22d03670.js";import"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */export{o as default};

View File

@ -0,0 +1 @@
import{d as E,r as m,n as V,l as B,h as r,s as h,w as e,a as n,e as o,i as F,t as l,u as a,q as s,R as N,c as b,L as T,M as R,E as C,X as O,Y as j}from"./index-34979a7f.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */const I={class:"input-width"},L={class:"input-width"},S={key:0,class:"input-width"},q={key:1,class:"input-width"},J={class:"input-width"},M={class:"input-width"},U={class:"input-width"},X={class:"input-width"},Y={class:"input-width"},$={class:"input-width"},z={class:"input-width"},A={class:"dialog-footer"},et=E({__name:"cron-info",setup(G,{expose:v}){const c=m(!1),u=m(!0),p={count:0,create_time:"",crond_length:"",crond_type:"",crond_type_name:"",data:"",delete_time:"",last_time:"",next_time:"",status_desc:"",title:"",type:"",type_name:"",update_time:""},t=V({...p}),y=m(),w=B(()=>({}));return v({showDialog:c,setFormData:async(_=null)=>{u.value=!0,Object.assign(t,p),_&&Object.keys(t).forEach(d=>{_[d]!=null&&(t[d]=_[d])}),u.value=!1}}),(_,d)=>{const i=T,g=R,x=C,D=O,k=j;return r(),h(D,{modelValue:c.value,"onUpdate:modelValue":d[1]||(d[1]=f=>c.value=f),title:a(s)("cronInfo"),width:"550px","destroy-on-close":!0},{footer:e(()=>[n("span",A,[o(x,{type:"primary",onClick:d[0]||(d[0]=f=>c.value=!1)},{default:e(()=>[F(l(a(s)("confirm")),1)]),_:1})])]),default:e(()=>[N((r(),h(g,{model:t,"label-width":"110px",ref_key:"formRef",ref:y,rules:a(w),class:"page-form"},{default:e(()=>[o(i,{label:a(s)("title")},{default:e(()=>[n("div",I,l(t.title),1)]),_:1},8,["label"]),o(i,{label:a(s)("typeName")},{default:e(()=>[n("div",L,l(t.type_name),1)]),_:1},8,["label"]),o(i,{label:a(s)("crondType")},{default:e(()=>[t.type=="crond"?(r(),b("div",S,l(t.crond_length)+" "+l(t.crond_type_name),1)):(r(),b("div",q,l(a(s)("cron")),1))]),_:1},8,["label"]),o(i,{label:a(s)("count")},{default:e(()=>[n("div",J,l(t.count),1)]),_:1},8,["label"]),o(i,{label:a(s)("task")},{default:e(()=>[n("div",M,l(t.task),1)]),_:1},8,["label"]),o(i,{label:a(s)("data")},{default:e(()=>[n("div",U,l(JSON.stringify(t.data)),1)]),_:1},8,["label"]),o(i,{label:a(s)("statusDesc")},{default:e(()=>[n("div",X,l(t.status_desc),1)]),_:1},8,["label"]),o(i,{label:a(s)("lastTime")},{default:e(()=>[n("div",Y,l(t.last_time),1)]),_:1},8,["label"]),o(i,{label:a(s)("nextTime")},{default:e(()=>[n("div",$,l(t.next_time),1)]),_:1},8,["label"]),o(i,{label:a(s)("createTime")},{default:e(()=>[n("div",z,l(t.create_time),1)]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[k,u.value]])]),_:1},8,["modelValue","title"])}}});export{et as _};

Some files were not shown because too many files have changed in this diff Show More