mirror of
https://gitee.com/niucloud-team/niucloud.git
synced 2025-12-12 18:02:47 +00:00
0.2.1
This commit is contained in:
parent
89e2bf05f1
commit
53e99ccc30
3
niucloud/public/.gitignore
vendored
3
niucloud/public/.gitignore
vendored
@ -2,6 +2,3 @@
|
|||||||
upload
|
upload
|
||||||
nginx.htaccess
|
nginx.htaccess
|
||||||
.htaccess
|
.htaccess
|
||||||
admin
|
|
||||||
wap
|
|
||||||
web
|
|
||||||
|
|||||||
1
niucloud/public/admin/assets/404-7c612cc6.js
Normal file
1
niucloud/public/admin/assets/404-7c612cc6.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as l,r as d,o as i,c as p,a as t,b as u,e as m,w as f,u as x,f as v,E as h,p as b,g,h as I,i as w,t as S}from"./index-022827e1.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};
|
||||||
1
niucloud/public/admin/assets/access-25232b03.js
Normal file
1
niucloud/public/admin/assets/access-25232b03.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/access-3cb29049.css
Normal file
1
niucloud/public/admin/assets/access-3cb29049.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.progress-point[data-v-9064cd27]{flex-grow:1;list-style:none}.border-color[data-v-9064cd27]{border-color:var(--el-color-primary)}.bg-color[data-v-9064cd27]{background-color:var(--el-color-primary)}.text-color[data-v-9064cd27]{color:var(--el-color-primary)}.bg-color1[data-v-9064cd27]{background-color:var(--el-color-info-light-8)}[data-v-9064cd27] .el-tabs__item:hover{border-bottom:2px solid var(--el-color-primary)}[data-v-9064cd27] .el-tabs__item{padding:0}[data-v-9064cd27] .el-tabs__item+.el-tabs__item{margin-right:20px;margin-left:20px}[data-v-9064cd27] .el-tabs--top .el-tabs__item.is-top:nth-child(2){margin-right:20px}[data-v-9064cd27] .el-step.is-vertical .el-step__icon.is-icon{padding:8px 0;height:40px;background-color:#fff}[data-v-9064cd27] .el-step__title{height:40px;line-height:40px!important}
|
||||||
1
niucloud/public/admin/assets/access-a769ecff.js
Normal file
1
niucloud/public/admin/assets/access-a769ecff.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/access-b5367e97.js
Normal file
1
niucloud/public/admin/assets/access-b5367e97.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as S,f as V,r as v,v as q,a8 as I,h as N,c as T,a as e,t as l,u as n,N as a,e as s,w as t,a$ as b,i as w,R as B,aO as $,aP as z,a7 as F,E as R,ao as M,ap as P,aq as D,Y as O,ar as Q}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as U}from"./wechat-c3dec9f6.js";import{_ as W}from"./_plugin-vue_export-helper-c27b6911.js";const Y={class:"w-full p-5 bg-white"},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]"},X={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=S({__name:"access",setup(re){const _=V(),u=v("/channel/wechat"),c=v(2),p=v("");q(async()=>{const i=await U();p.value=i.data.qr_code});const y=i=>{window.open(i,"_blank")},k=i=>{_.push({path:u.value})};return(i,o)=>{const d=$,C=z,x=I("CircleCheckFilled"),m=F,f=R,h=M,E=P,g=D,A=O,j=Q;return N(),T("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",X,l(n(a)("wechatAttestation1")),1),e("div",Z,[s(f,{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(m,{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(f,{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(m,{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(f,{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(m,{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(B)(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=W(de,[["__scopeId","data-v-ba564dbc"]]);export{ye as default};
|
||||||
1
niucloud/public/admin/assets/access-b65a1b53.css
Normal file
1
niucloud/public/admin/assets/access-b65a1b53.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.progress-point[data-v-ba564dbc]{flex-grow:1;list-style:none}.border-color[data-v-ba564dbc]{border-color:var(--el-color-primary)}.bg-color[data-v-ba564dbc]{background-color:var(--el-color-primary)}.text-color[data-v-ba564dbc]{color:var(--el-color-primary)}.bg-color1[data-v-ba564dbc]{background-color:var(--el-color-info-light-8)}[data-v-ba564dbc] .el-tabs__item:hover{border-bottom:2px solid var(--el-color-primary)}[data-v-ba564dbc] .el-tabs__item{padding:0}[data-v-ba564dbc] .el-tabs__item+.el-tabs__item{margin-right:20px;margin-left:20px}[data-v-ba564dbc] .el-tabs--top .el-tabs__active-bar{display:none}[data-v-ba564dbc] .el-tabs--top .el-tabs__item.is-active{border-bottom:2px solid var(--el-color-primary)}[data-v-ba564dbc] .el-tabs--top .el-tabs__item.is-top:nth-child(2){margin-right:20px}[data-v-ba564dbc] .el-step.is-vertical .el-step__icon.is-icon{padding:8px 0;height:40px;background-color:#fff}[data-v-ba564dbc] .el-step__title{height:40px;line-height:40px!important}
|
||||||
1
niucloud/public/admin/assets/access-cbbcd54a.css
Normal file
1
niucloud/public/admin/assets/access-cbbcd54a.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.progress-point[data-v-165848f0]{flex-grow:1;list-style:none}.border-color[data-v-165848f0]{border-color:var(--el-color-primary)}.bg-color[data-v-165848f0]{background-color:var(--el-color-primary)}.text-color[data-v-165848f0]{color:var(--el-color-primary)}.bg-color1[data-v-165848f0]{background-color:var(--el-color-info-light-8)}[data-v-165848f0] .el-tabs__item:hover{border-bottom:2px solid var(--el-color-primary)}[data-v-165848f0] .el-tabs__item{padding:0}[data-v-165848f0] .el-tabs__item+.el-tabs__item{margin-right:20px;margin-left:20px}[data-v-165848f0] .el-tabs--top .el-tabs__active-bar{display:none}[data-v-165848f0] .el-tabs--top .el-tabs__item.is-active{border-bottom:2px solid var(--el-color-primary)}[data-v-165848f0] .el-tabs--top .el-tabs__item.is-top:nth-child(2){margin-right:20px}[data-v-165848f0] .el-step.is-vertical .el-step__icon.is-icon{padding:8px 0;height:40px;background-color:#fff}[data-v-165848f0] .el-step__title{height:40px;line-height:40px!important}
|
||||||
1
niucloud/public/admin/assets/account-08579762.js
Normal file
1
niucloud/public/admin/assets/account-08579762.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/add-member-5f399b52.js
Normal file
1
niucloud/public/admin/assets/add-member-5f399b52.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./add-member.vue_vue_type_script_setup_true_lang-55d30880.js";import"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./member-394fe4e5.js";export{o as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as M,r as b,n as $,q as B,N as l,h as v,I as V,w as m,a as I,e as s,i as h,t as y,u as t,y as H,di as R,Z as j,_ as L,$ as O,E as T,ad as Z,a4 as z}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{p as A,q as K,r as S}from"./member-394fe4e5.js";const G={class:"dialog-footer"},re=M({__name:"add-member",emits:["complete"],setup(J,{expose:N,emit:P}){const p=b(!1),i=b(!1);let u="",c="";const f={member_id:"",nickname:"",member_no:"",init_member_no:"",mobile:"",password:"",password_copy:""},o=$({...f}),_=b(),D=B(()=>({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()},k=async()=>{await K().then(d=>{c=d.data}).catch(()=>{})},q=async d=>{if(i.value||!d)return;const e=S;await d.validate(async a=>{a&&(i.value=!0,e(o).then(w=>{i.value=!1,p.value=!1,P("complete")}).catch(()=>{i.value=!1}))})};return N({showDialog:p,setFormData:async(d=null)=>{if(i.value=!0,Object.assign(o,f),u=l("addMember"),d){u=l("updateMember");const e=await(await A(d.member_id)).data;e&&Object.keys(o).forEach(a=>{e[a]!=null&&(o[a]=e[a])})}else await k(),o.member_no=c,o.init_member_no=c;i.value=!1}}),(d,e)=>{const a=j,n=L,w=O,g=T,U=Z,F=z;return v(),V(U,{modelValue:p.value,"onUpdate:modelValue":e[8]||(e[8]=r=>p.value=r),title:t(u),width:"500px","destroy-on-close":!0},{footer:m(()=>[I("span",G,[s(g,{onClick:e[6]||(e[6]=r=>p.value=!1)},{default:m(()=>[h(y(t(l)("cancel")),1)]),_:1}),s(g,{type:"primary",loading:i.value,onClick:e[7]||(e[7]=r=>q(_.value))},{default:m(()=>[h(y(t(l)("confirm")),1)]),_:1},8,["loading"])])]),default:m(()=>[H((v(),V(w,{model:o,"label-width":"90px",ref_key:"formRef",ref:_,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"])),[[F,i.value]])]),_:1},8,["modelValue","title"])}}});export{re as _};
|
||||||
1
niucloud/public/admin/assets/add-table-748b048b.js
Normal file
1
niucloud/public/admin/assets/add-table-748b048b.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./add-table.vue_vue_type_script_setup_true_lang-f0790d5e.js";import"./index-022827e1.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 */import"./tools-1ceab74e.js";export{o as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as T,f as k,r as u,n as E,q as L,h as p,I as _,w as o,a as b,y as x,u as t,t as h,N as n,e as d,i as B,ak as z,Z as q,E as F,am as I,ad as P,a4 as U}from"./index-022827e1.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 */import{j,k as G}from"./tools-1ceab74e.js";const te=T({__name:"add-table",setup(R,{expose:f}){const g=k(),m=u(!1),s=u(""),e=E({loading:!0,data:[],searchParam:{table_name:"",table_content:""}}),v=L(()=>e.data.filter(a=>!s.value||a.Name.toLowerCase().includes(s.value.toLowerCase())||a.Comment.toLowerCase().includes(s.value.toLowerCase()))),c=()=>{e.loading=!0,j().then(a=>{e.loading=!1,e.data=a.data}).catch(()=>{e.loading=!1})};c();const w=a=>{const l=a.Name;e.loading=!0,G({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,y=F,D=I,V=P,N=U;return p(),_(V,{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(),_(D,{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(y,{size:"small",type:"primary",onClick:Z=>w(r.row)},{default:o(()=>[B(h(t(n)("addBtn")),1)]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[N,e.loading]])])]),_:1},8,["modelValue","title"])}}});export{te as _};
|
||||||
1
niucloud/public/admin/assets/addon-fcc3cd20.js
Normal file
1
niucloud/public/admin/assets/addon-fcc3cd20.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{a1 as t}from"./index-022827e1.js";function o(n){return t.get("addon/local",n,{showSuccessMessage:!0})}function a(n){return t.post(`addon/install/${n.addon}`,n)}function s(n){return t.post(`addon/cloudinstall/${n.addon}`,n,{timeout:60*1e3})}function l(n){return t.post(`addon/uninstall/${n.addon}`,n,{showSuccessMessage:!0})}function d(n){return t.get(`addon/install/check/${n}`,{timeout:30*1e3})}function u(){return t.get("addon/installtask")}function c(n){return t.get(`addon/cloudinstall/${n}`)}function i(n){return t.get(`addon/uninstall/check/${n}`,{timeout:30*1e3})}function r(n){return t.put(`addon/install/cancel/${n}`,{},{showErrorMessage:!1})}function g(){return t.get("addon/list/install")}export{o as a,u as b,s as c,c as d,i as e,r as f,g,a as i,d as p,l as u};
|
||||||
1
niucloud/public/admin/assets/adminlogin-bcbe0d7f.js
Normal file
1
niucloud/public/admin/assets/adminlogin-bcbe0d7f.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as N,O as B,r as g,n as C,h as b,c as E,a as r,t as c,u as s,y,I as D,w as m,e as o,N as i,i as I,dk as F,dl as O,b2 as S,_ as U,ac as j,$ as L,E as R,a4 as T}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css */import{_ as k}from"./index-edd24909.js";/* empty css */import{_ as J}from"./_plugin-vue_export-helper-c27b6911.js";/* empty css */import"./index.vue_vue_type_style_index_0_lang-3b291a1c.js";/* empty css */import"./attachment-b3c743b5.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-f0968e2c.js";/* empty css */const $={class:"main-container"},q={class:"flex ml-[18px] justify-between items-center mt-[20px]"},z={class:"text-page-title"},A={class:"panel-title !text-sm"},G={class:"form-tip"},H={class:"panel-title !text-sm"},K={class:"form-tip"},M={class:"fixed-footer-wrap"},P={class:"fixed-footer"},Q=N({__name:"adminlogin",setup(W){const h=B().meta.title,_=g(!0),d=g(),e=C({is_captcha:0,is_site_captcha:0,bg:"",site_bg:""});(async(p=0)=>{const t=await(await F()).data;Object.keys(e).forEach(a=>{["is_captcha","is_site_captcha"].includes(a)?e[a]=Boolean(Number(t[a])):e[a]=t[a]}),_.value=!1})();const v=async p=>{_.value||!p||await p.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]))}),O(a).then(()=>{_.value=!1}).catch(()=>{_.value=!1})}})};return(p,t)=>{const a=S,l=U,u=k,f=j,x=L,V=R,w=T;return b(),E("div",$,[r("div",q,[r("span",z,c(s(h)),1)]),y((b(),D(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",A,c(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",G,c(s(i)("adminBgImgTip")),1)]),_:1},8,["label"])]),_:1}),o(f,{class:"box-card !border-none mt-4",shadow:"never"},{default:m(()=>[r("h3",H,c(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",K,c(s(i)("siteBgImgTip")),1)]),_:1},8,["label"])]),_:1})]),_:1},8,["model"])),[[w,_.value]]),r("div",M,[r("div",P,[o(V,{type:"primary",onClick:t[4]||(t[4]=n=>v(d.value))},{default:m(()=>[I(c(s(i)("save")),1)]),_:1})])])])}}});const Dt=J(Q,[["__scopeId","data-v-ef32cbf8"]]);export{Dt as default};
|
||||||
1
niucloud/public/admin/assets/agreement-cea93490.js
Normal file
1
niucloud/public/admin/assets/agreement-cea93490.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as v,O as y,n as k,f as x,h as m,c as E,e as a,w as o,a as i,t as r,u as t,y as C,I as N,N as n,i as p,dm as B,ak as T,E as D,am as L,ac as A,a4 as V}from"./index-022827e1.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"},O={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=k({loading:!0,data:[]});(()=>{e.loading=!0,e.data=[],B().then(l=>{Object.keys(l.data).forEach(d=>e.data.push(l.data[d])),e.loading=!1}).catch(()=>{e.loading=!1})})();const u=x(),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",O,[i("span",R,r(t(_)),1)]),i("div",$,[C((m(),N(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:q=>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};
|
||||||
1
niucloud/public/admin/assets/agreement_edit-5b858255.js
Normal file
1
niucloud/public/admin/assets/agreement_edit-5b858255.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as R,O as $,f as q,r as y,dn as I,n as P,q as S,N as r,h as k,c as T,a as l,u as a,t as p,y as j,I as O,w as m,e as s,i as x,dp as U,dq as A,Z as M,_ as z,$ as L,ac as Z,E as G,a4 as H}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css */import{_ as J}from"./index.vue_vue_type_script_setup_true_lang-e1e9fcc0.js";/* empty css */import"./index.vue_vue_type_style_index_0_lang-3b291a1c.js";/* empty css */import"./attachment-b3c743b5.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-f0968e2c.js";/* empty css */import"./_plugin-vue_export-helper-c27b6911.js";const K={class:"main-container"},Q={class:"detail-head"},W=l("span",{class:"iconfont iconxiangzuojiantou !text-xs"},null,-1),X={class:"ml-[1px]"},Y=l("span",{class:"adorn"},"|",-1),ee={class:"right"},te={class:"fixed-footer-wrap"},ae={class:"fixed-footer"},qe=R({__name:"agreement_edit",setup(oe){const u=$(),_=q(),f=u.query.key||"",i=y(!1),V=I(),w=u.meta.title,g={agreement_key:"",content:"",title:"",agreement_key_name:""},t=P({...g});i.value=!0,f&&(async(d="")=>{Object.assign(t,g);const e=await(await U(d)).data;Object.keys(t).forEach(o=>{e[o]!=null&&(t[o]=e[o])}),i.value=!1})(f);const v=y(),E=S(()=>({title:[{required:!0,message:r("titlePlaceholder"),trigger:"blur"}]})),C=async d=>{i.value||!d||await d.validate(async e=>{if(e){i.value=!0;const o=t;o.key=t.agreement_key,A(o).then(c=>{i.value=!1,b()}).catch(()=>{i.value=!1})}})},b=()=>{V.removeTab(u.path),_.push({path:"/setting/agreement"})};return(d,e)=>{const o=M,c=z,D=J,B=L,F=Z,h=G,N=H;return k(),T("div",K,[l("div",Q,[l("div",{class:"left",onClick:e[0]||(e[0]=n=>a(_).push({path:"/setting/agreement"}))},[W,l("span",X,p(a(r)("returnToPreviousPage")),1)]),Y,l("span",ee,p(a(w)),1)]),j((k(),O(F,{class:"box-card !border-none",shadow:"never"},{default:m(()=>[s(B,{model:t,"label-width":"90px",ref_key:"formRef",ref:v,rules:a(E),class:"page-form"},{default:m(()=>[s(c,{label:a(r)("type")},{default:m(()=>[s(o,{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"]),s(c,{label:a(r)("title"),prop:"title"},{default:m(()=>[s(o,{modelValue:t.title,"onUpdate:modelValue":e[2]||(e[2]=n=>t.title=n),modelModifiers:{trim:!0},clearable:"",placeholder:a(r)("titlePlaceholder"),class:"input-width",maxlength:"20"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),s(c,{label:a(r)("content")},{default:m(()=>[s(D,{modelValue:t.content,"onUpdate:modelValue":e[3]||(e[3]=n=>t.content=n)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["model","rules"])]),_:1})),[[N,i.value]]),l("div",te,[l("div",ae,[s(h,{type:"primary",onClick:e[4]||(e[4]=n=>C(v.value))},{default:m(()=>[x(p(a(r)("save")),1)]),_:1}),s(h,{onClick:e[5]||(e[5]=n=>b())},{default:m(()=>[x(p(a(r)("cancel")),1)]),_:1})])])])}}});export{qe as default};
|
||||||
1
niucloud/public/admin/assets/aliapp-d3501f46.js
Normal file
1
niucloud/public/admin/assets/aliapp-d3501f46.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{a1 as t}from"./index-022827e1.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};
|
||||||
1
niucloud/public/admin/assets/app_manage-264b8b86.js
Normal file
1
niucloud/public/admin/assets/app_manage-264b8b86.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as C,f as V,K as N,r as y,n as R,y as M,h as l,c as x,a as e,t as s,u as a,N as o,e as u,w as c,F as D,G as T,R as j,I as U,i as z,B as k,ah as b,W as w,E as G,Y as K,al as O,an as P,ag as W,a4 as Y,p as $,g as q}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css */import{_ as H}from"./apply_empty-cdca3e85.js";import{g as J}from"./addon-fcc3cd20.js";import{_ as Q}from"./_plugin-vue_export-helper-c27b6911.js";const X=""+new URL("app_store_default-c0531792.png",import.meta.url).href,f=_=>($("data-v-e51b31c1"),_=_(),q(),_),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]"},_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:H,class:"max-w-full",alt:""})],-1)),ue={class:"flex items-center"},me=C({__name:"app_manage",setup(_){const v=V(),m=N(),n=y(!0),d=R({appList:[]}),h=y({});(()=>{n.value=!0,J().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=G,F=K,E=O,S=P,I=W,A=Y;return M((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(D,null,T(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(j)(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(I,{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(()=>[z(s(a(o)("link")),1)]),_:1}),e("span",null,s(a(o)("descriptionRight")),1)])]),_:1})):k("",!0)])])):k("",!0)])),[[A,n.value]])}}});const Be=Q(me,[["__scopeId","data-v-e51b31c1"]]);export{Be as default};
|
||||||
1
niucloud/public/admin/assets/attachment-6c7adedf.css
Normal file
1
niucloud/public/admin/assets/attachment-6c7adedf.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.attachment-container .el-card__body{height:100%}.attachment-container .el-tabs{display:flex;flex-direction:column;height:calc(100% - 40px)}.attachment-container .el-tabs__content{flex:1}.attachment-container .el-tabs__content .el-tab-pane{height:100%}.attachment-container .el-tabs__nav-wrap:after{height:1px}.attachment-container .main-wrap{border:none}.attachment-container .main-wrap .group-wrap{padding:0 15px 0 0}.attachment-container .main-wrap .attachment-list-wrap{padding:0 0 0 15px}
|
||||||
1
niucloud/public/admin/assets/attachment-7a60f0a3.js
Normal file
1
niucloud/public/admin/assets/attachment-7a60f0a3.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as f,O as h,r as y,h as s,c as m,e,w as a,a as i,t as b,u as p,F as v,G as x,N as g,aO as V,aP as w,ac as E}from"./index-022827e1.js";/* empty css *//* empty css */import{a as N}from"./attachment-b3c743b5.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 *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./index.vue_vue_type_script_setup_true_lang-f0968e2c.js";/* empty css */import"./_plugin-vue_export-helper-c27b6911.js";const k={class:"main-container attachment-container"},B={class:"flex justify-between items-center mb-[16px]"},C={class:"text-page-title"},rt=f({__name:"attachment",setup(T){const l=h().meta.title,o=["image","video","icon"],n=y(o[0]);return(O,r)=>{const c=V,_=w,d=E;return s(),m("div",k,[e(d,{class:"box-card !border-none full-container",shadow:"never"},{default:a(()=>[i("div",B,[i("span",C,b(p(l)),1)]),e(_,{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=t=>n.value=t)},{default:a(()=>[(s(),m(v,null,x(o,(t,u)=>e(c,{label:p(g)(t),name:t,key:u},{default:a(()=>[e(N,{scene:"attachment",type:t},null,8,["type"])]),_:2},1032,["label","name"])),64))]),_:1},8,["modelValue"])]),_:1})])}}});export{rt as default};
|
||||||
22
niucloud/public/admin/assets/attachment-b3c743b5.js
Normal file
22
niucloud/public/admin/assets/attachment-b3c743b5.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/auth.menu-1f80b23d.js
Normal file
1
niucloud/public/admin/assets/auth.menu-1f80b23d.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const e="菜单名称",n="类型",t="api路径",o="目录",a="菜单",u="按钮",c="删除菜单会删除当前菜单以及该菜单下所有子菜单,是否确认删除?",l="重置菜单",i="重置菜单会将应用或插件的dict目录下的菜单配置文件中,菜单配置更新到数据库一般用做开发者修改了dict菜单配置文件后,同步到数据库操作。",s="如果用户手动调整过以下菜单项,通常不允诛进行本项操作,操作会重置为原始菜单。 请谨慎使用!",m="添加菜单",d="编辑菜单",h="路由路径",r="组件路径",p="选择应用",P="父级菜单",T="菜单图标",y="权重",M="权限标识",I="请输入菜单名称",N="请输入权限标识",v="菜单标识只能使用字母数字下划线并且开头不能为数字",w="请输入路由路径",z="请输入组件路径",K="请输入api路径",D="请选择菜单图标",S="顶级",B="菜单短标题",L="请输入菜单短标题",O={menuName:e,menuType:n,authId:t,menuTypeDir:o,menuTypeMenu:a,menuTypeButton:u,menuDeleteTips:c,initializeMenu:l,initializeMenuTipsOne:i,initializeMenuTipsTwo:s,addMenu:m,updateMenu:d,routePath:h,viewPath:r,addon:p,parentMenu:P,menuIcon:T,sort:y,menuKey:M,menuNamePlaceholder:I,menuKeyPlaceholder:N,menuKeyValidata:v,routePathPlaceholder:w,viewPathPlaceholder:z,authIdPlaceholder:K,selectIconPlaceholder:D,topLevel:S,menuShortName:B,menuShortNamePlaceholder:L};export{m as addMenu,p as addon,t as authId,K as authIdPlaceholder,O as default,l as initializeMenu,i as initializeMenuTipsOne,s as initializeMenuTipsTwo,c as menuDeleteTips,T as menuIcon,M as menuKey,N as menuKeyPlaceholder,v as menuKeyValidata,e as menuName,I as menuNamePlaceholder,B as menuShortName,L as menuShortNamePlaceholder,n as menuType,u as menuTypeButton,o as menuTypeDir,a as menuTypeMenu,P as parentMenu,h as routePath,w as routePathPlaceholder,D as selectIconPlaceholder,y as sort,S as topLevel,d as updateMenu,r as viewPath,z as viewPathPlaceholder};
|
||||||
1
niucloud/public/admin/assets/auth.site_menu-427ec9e9.js
Normal file
1
niucloud/public/admin/assets/auth.site_menu-427ec9e9.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
const e="菜单名称",n="类型",t="权限标识",o="目录",a="菜单",c="按钮",u="确定要删除该菜单吗?",s="添加菜单",i="重置菜单",l="重置菜单会将应用或插件的dict目录下的菜单配置文件中,菜单配置更新到数据库一般用做开发者修改了dict菜单配置文件后,同步到数据库操作。",m="如果用户手动调整过以下菜单项,通常不允诛进行本项操作,操作会重置为原始菜单。 请谨慎使用!",d="编辑菜单",h="路由路径",r="组件路径",p="父级菜单",P="菜单图标",y="权重",T="菜单标识",M="请输入菜单名称",I="请输入菜单标识",N="菜单标识只能使用字母数字下划线并且开头不能为数字",v="请输入路由路径",w="请输入组件路径",z="请输入权限标识",K="请选择菜单图标",D="顶级",S="菜单短标题",B="请输入菜单短标题",L="选择应用",O="系统菜单",V="应用菜单",_={menuName:e,menuType:n,authId:t,menuTypeDir:o,menuTypeMenu:a,menuTypeButton:c,menuDeleteTips:u,addMenu:s,initializeMenu:i,initializeMenuTipsOne:l,initializeMenuTipsTwo:m,updateMenu:d,routePath:h,viewPath:r,parentMenu:p,menuIcon:P,sort:y,menuKey:T,menuNamePlaceholder:M,menuKeyPlaceholder:I,menuKeyValidata:N,routePathPlaceholder:v,viewPathPlaceholder:w,authIdPlaceholder:z,selectIconPlaceholder:K,topLevel:D,menuShortName:S,menuShortNamePlaceholder:B,addon:L,system:O,application:V};export{s as addMenu,L as addon,V as application,t as authId,z as authIdPlaceholder,_ as default,i as initializeMenu,l as initializeMenuTipsOne,m as initializeMenuTipsTwo,u as menuDeleteTips,P as menuIcon,T as menuKey,I as menuKeyPlaceholder,N as menuKeyValidata,e as menuName,M as menuNamePlaceholder,S as menuShortName,B as menuShortNamePlaceholder,n as menuType,c as menuTypeButton,o as menuTypeDir,a as menuTypeMenu,p as parentMenu,h as routePath,v as routePathPlaceholder,K as selectIconPlaceholder,y as sort,O as system,D as topLevel,d as updateMenu,r as viewPath,w as viewPathPlaceholder};
|
||||||
1
niucloud/public/admin/assets/authorize-95ad249e.js
Normal file
1
niucloud/public/admin/assets/authorize-95ad249e.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/authorize-cb509769.css
Normal file
1
niucloud/public/admin/assets/authorize-cb509769.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);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-ab16ef82]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-o-text-overflow:ellipsis}.main[data-v-ab16ef82]{background-color:var(--el-bg-color-overlay)}em[data-v-ab16ef82]{font-style:normal}.timeline-log-wrap[data-v-ab16ef82]{background:#F5F7F9}html.dark .timeline-log-wrap[data-v-ab16ef82]{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}
|
||||||
1
niucloud/public/admin/assets/balance-ef86386a.js
Normal file
1
niucloud/public/admin/assets/balance-ef86386a.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/cash_out-139db8b3.js
Normal file
1
niucloud/public/admin/assets/cash_out-139db8b3.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as O,O as G,r as v,n as x,h as i,c as E,a as b,t as u,u as l,y as S,I as d,w as o,e as n,N as r,dr as k,B as f,i as _,F as H,G as I,b2 as K,_ as L,Z as W,aK as j,aL as M,aM as P,ds as $,ac as Z,$ as q,E as J,a4 as Q}from"./index-022827e1.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,G as Y,H as ee}from"./member-394fe4e5.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"},ke=O({__name:"cash_out",setup(ne){const R=G().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 X()).data})(),(async(m=0)=>{const e=await(await Y()).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"}]}),N=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=K,p=L,w=W,g=j,h=M,F=P,B=$,T=Z,D=q,U=J,z=Q;return i(),E("div",te,[b("div",ae,[b("span",oe,u(l(R)),1)]),S((i(),d(D,{model:t,"label-width":"150px",ref_key:"ruleFormRef",ref:y,rules:C,class:"page-form"},{default:o(()=>[n(T,{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(B,{modelValue:t.transfer_type,"onUpdate:modelValue":e[7]||(e[7]=a=>t.transfer_type=a),size:"large"},{default:o(()=>[(i(!0),E(H,null,I(V.value,(a,A)=>(i(),d(F,{label:a.key,key:"a"+A},{default:o(()=>[_(u(a.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"])):f("",!0)]),_:1})]),_:1},8,["model","rules"])),[[z,c.value]]),b("div",se,[b("div",re,[n(U,{type:"primary",onClick:e[8]||(e[8]=a=>N(y.value))},{default:o(()=>[_(u(l(r)("save")),1)]),_:1})])])])}}});export{ke as default};
|
||||||
1
niucloud/public/admin/assets/cash_out-7cfcb93e.js
Normal file
1
niucloud/public/admin/assets/cash_out-7cfcb93e.js
Normal file
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
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};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
const e="规则名称",t="规则名不能为空且最多60个字",o="请输入规则名称",l="请输入关键字",n="请选择回复内容",c="全匹配",a="模糊匹配",d="关键字",r="回复内容",h="回复方式",s="全部回复",y="随机回复一条",p="添加回复内容",M={ruleName:e,ruleNameTips:t,ruleNamePlaceholder:o,keywordPlaceholder:l,contentPlaceholder:n,allMatching:c,fuzzyMatching:a,keyword:d,content:r,replyMethod:h,replyMethodAll:s,replyMethodRand:y,addReplyContent:p};export{p as addReplyContent,c as allMatching,r as content,n as contentPlaceholder,M as default,a as fuzzyMatching,d as keyword,l as keywordPlaceholder,h as replyMethod,s as replyMethodAll,y as replyMethodRand,e as ruleName,o as ruleNamePlaceholder,t as ruleNameTips};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
const e="菜单信息",p="子菜单信息",a="仅支持中英文和数字,字数不超过4个汉字或8个字母。",s="仅支持中英文和数字,字数不超过8个汉字或16个字母。",n="名称",c="删除菜单",o="删除后,菜单下设置的内容全部将被删除",t="消息类型",m="跳转网页",l="跳转小程序",u="网页链接",d="小程序Appid",w="小程序页面路径",i="请输入菜单名称",r="请输入网页链接",h="请输入小程序Appid",g="请输入小程序页面路径",N="接入流程",P="自定义菜单",T="模板消息",b="空菜单,不能保存与发布。",M="自动回复",A={menuNameInfo:e,subMenuNameInfo:p,menuNameTips:a,subMenuNameTips:s,menuName:n,deleteMemu:c,deleteMemuTips:o,messageType:t,skipWebpage:m,skipWeapp:l,webpageUrl:u,weappAppid:d,weappPage:w,menuNamePlaceholder:i,webpageUrlPlaceholder:r,weappAppidPlaceholder:h,weappPagePlaceholder:g,wechatAccessFlow:N,customMenu:P,wechatTemplate:T,menusEmptyTips:b,reply:M};export{P as customMenu,A as default,c as deleteMemu,o as deleteMemuTips,n as menuName,e as menuNameInfo,i as menuNamePlaceholder,a as menuNameTips,b as menusEmptyTips,t as messageType,M as reply,l as skipWeapp,m as skipWebpage,p as subMenuNameInfo,s as subMenuNameTips,d as weappAppid,h as weappAppidPlaceholder,w as weappPage,g as weappPagePlaceholder,u as webpageUrl,r as webpageUrlPlaceholder,N as wechatAccessFlow,T as wechatTemplate};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
const e="自动回复",t="接入流程",c="公众号配置",s="自定义菜单",l="模板消息",o="自动回复",p="关键词回复",n="默认回复",a="关注回复",y="确定要删除该条回复吗?",w={title:e,wechatAccessFlow:t,wechatSet:c,customMenu:s,wechatTemplate:l,reply:o,keywordReply:p,defaultReply:n,subscribeReply:a,replyDeleteTips:y};export{s as customMenu,w as default,n as defaultReply,p as keywordReply,o as reply,y as replyDeleteTips,a as subscribeReply,e as title,t as wechatAccessFlow,c as wechatSet,l as wechatTemplate};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
const e="类型",o="消息类型",t="是否启用",s="编号",n="操作",c="温馨提示",a="请将微信公众平台的服务类目选择为:商业服务——>软件/建站/技术开发,生活服务——>百货/超市/便利店,工具—>信息查询,所选行业不一致将会导致模板消息不可用。",r="公众号可设置20个服务类目,每月只能修改5次,请谨慎选择。",i="公众号最多支持25个模板消息获取时请注意公众号剩余模板数量是否充足",p="所需跳转到的小程序必须与发模板消息的公众号是绑定关联关系,暂不支持小游戏",l="买家消息",T="卖家消息",u="启用",m="禁用",w="关闭",h="开启",b="回复内容",g="重新获取",y="一键获取",d="接入流程",A="自定义菜单",F="模板消息",M="自动回复",N={name:e,messageType:o,isStart:t,serialNumber:s,operation:n,operationTip:c,operationTipOne:a,operationTipTwo:r,operationTipThree:i,operationTipFour:p,buyerNews:l,sellerMessage:T,started:u,closed:m,close:w,open:h,response:b,regain:g,batchAcquisition:y,wechatAccessFlow:d,customMenu:A,wechatTemplate:F,reply:M};export{y as batchAcquisition,l as buyerNews,w as close,m as closed,A as customMenu,N as default,t as isStart,o as messageType,e as name,h as open,n as operation,c as operationTip,p as operationTipFour,a as operationTipOne,i as operationTipThree,r as operationTipTwo,g as regain,M as reply,b as response,T as sellerMessage,s as serialNumber,u as started,d as wechatAccessFlow,F as wechatTemplate};
|
||||||
1
niucloud/public/admin/assets/code-426d465b.js
Normal file
1
niucloud/public/admin/assets/code-426d465b.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/code-83b7cd4b.css
Normal file
1
niucloud/public/admin/assets/code-83b7cd4b.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.el-collapse[data-v-fef1a4e9],.el-collapse-item .el-collapse-item__wrap[data-v-fef1a4e9]{border:0px!important}[data-v-fef1a4e9] .el-tabs__item:hover{border-bottom:2px solid var(--el-color-primary)}[data-v-fef1a4e9] .el-tabs__item{padding:0}[data-v-fef1a4e9] .el-tabs__item+.el-tabs__item{margin-right:20px;margin-left:20px}[data-v-fef1a4e9] .el-tabs--top .el-tabs__active-bar{display:none}[data-v-fef1a4e9] .el-tabs--top .el-tabs__item.is-active{border-bottom:2px solid var(--el-color-primary)}[data-v-fef1a4e9] .el-tabs--top .el-tabs__item.is-top:nth-child(2){margin-right:20px}
|
||||||
1
niucloud/public/admin/assets/commission-5d5b68fa.js
Normal file
1
niucloud/public/admin/assets/commission-5d5b68fa.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/config-11110ce0.css
Normal file
1
niucloud/public/admin/assets/config-11110ce0.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.visit-btn[data-v-6533acd4]{color:var(--el-color-primary)}
|
||||||
1
niucloud/public/admin/assets/config-38f3e214.js
Normal file
1
niucloud/public/admin/assets/config-38f3e214.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/config-49abd745.js
Normal file
1
niucloud/public/admin/assets/config-49abd745.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/config-5bd8cbb6.js
Normal file
1
niucloud/public/admin/assets/config-5bd8cbb6.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/config-90185e46.css
Normal file
1
niucloud/public/admin/assets/config-90185e46.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.visit-btn[data-v-7f2ec82c]{color:var(--el-color-primary)}
|
||||||
1
niucloud/public/admin/assets/config-bf2e97d0.js
Normal file
1
niucloud/public/admin/assets/config-bf2e97d0.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{a1 as g,d as I,O as B,r as f,n as D,b1 as R,b0 as F,s as O,a2 as v,N as o,y as P,h as U,c as $,a as r,t as u,u as c,e as n,w as i,i as j,_ as L,b2 as M,Z as T,ac as Z,$ as z,E as A,a4 as G,p as H,g as J}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{_ as K}from"./_plugin-vue_export-helper-c27b6911.js";const Q=""+new URL("preview-52aad803.png",import.meta.url).href;function W(){return g.get("channel/pc/config")}function X(p){return g.put("channel/pc/config",p,{showSuccessMessage:!0})}const Y=p=>(H("data-v-6533acd4"),p=p(),J(),p),ee={class:"main-container bg-[#fff] rounded-[4px]"},te={class:"flex pl-[18px] justify-between items-center pt-[20px]"},se={class:"text-page-title"},ae=Y(()=>r("img",{class:"w-[500px]",src:Q,alt:""},null,-1)),oe={class:"fixed-footer-wrap"},ne={class:"fixed-footer"},le=I({__name:"config",setup(p){const w=B().meta.title,s=f(!0),e=D({is_open:!1,request_url:""}),d=f();R().then(t=>{e.request_url=t.data.web_url+"/",s.value=!1}),W().then(t=>{Object.assign(e,t.data),e.is_open=Boolean(Number(e.is_open)),s.value=!1});const{copy:b,isSupported:h,copied:m}=F(),y=t=>{if(!h.value){v({message:o("notSupportCopy"),type:"warning"});return}b(t)};O(m,()=>{m.value&&v({message:o("copySuccess"),type:"success"})});const x=()=>{window.open(e.request_url)},C=async t=>{s.value||!t||await t.validate(async a=>{if(a){s.value=!0;const l={...e};l.is_open=Number(l.is_open),X(l).then(()=>{s.value=!1}).catch(()=>{s.value=!1})}})};return(t,a)=>{const l=L,E=M,S=T,N=Z,k=z,V=A,q=G;return P((U(),$("div",ee,[r("div",te,[r("span",se,u(c(w)),1)]),n(k,{model:e,"label-width":"150px",ref_key:"formRef",ref:d,class:"page-form"},{default:i(()=>[n(N,{class:"box-card !border-none",shadow:"never"},{default:i(()=>[n(l,{label:c(o)("preview"),prop:"weapp_name"},{default:i(()=>[ae]),_:1},8,["label"]),n(l,{label:c(o)("isOpen")},{default:i(()=>[n(E,{modelValue:e.is_open,"onUpdate:modelValue":a[0]||(a[0]=_=>e.is_open=_)},null,8,["modelValue"])]),_:1},8,["label"]),n(l,{label:c(o)("PCDomainName")},{default:i(()=>[n(S,{"model-value":e.request_url,class:"input-width",readonly:!0},{append:i(()=>[r("div",{class:"cursor-pointer",onClick:a[1]||(a[1]=_=>y(e.request_url))},u(c(o)("copy")),1)]),_:1},8,["model-value"]),r("span",{class:"ml-2 cursor-pointer visit-btn",onClick:x},u(c(o)("clickVisit")),1)]),_:1},8,["label"])]),_:1})]),_:1},8,["model"]),r("div",oe,[r("div",ne,[n(V,{type:"primary",loading:s.value,onClick:a[2]||(a[2]=_=>C(d.value))},{default:i(()=>[j(u(c(o)("save")),1)]),_:1},8,["loading"])])])])),[[q,s.value]])}}});const ve=K(le,[["__scopeId","data-v-6533acd4"]]);export{ve as default};
|
||||||
1
niucloud/public/admin/assets/config-d5038702.js
Normal file
1
niucloud/public/admin/assets/config-d5038702.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{a1 as b,d as D,O as I,r as v,n as F,b1 as O,b0 as R,s as $,a2 as g,N as a,h,c as j,a as n,t as u,u as l,y as H,I as M,w as i,e as r,i as U,b2 as L,_ as T,Z,ac as z,$ as A,E as G,a4 as J}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{_ as K}from"./_plugin-vue_export-helper-c27b6911.js";function P(){return b.get("channel/h5/config")}function Q(_){return b.put("channel/h5/config",_,{showSuccessMessage:!0})}const W={class:"main-container bg-[#fff] rounded-[4px]"},X={class:"flex ml-[18px] justify-between items-center pt-[20px]"},Y={class:"text-page-title"},ee={class:"fixed-footer-wrap"},te={class:"fixed-footer"},se=D({__name:"config",setup(_){const y=I().meta.title,o=v(!0),e=F({is_open:!0,request_url:""}),d=v();P().then(t=>{Object.assign(e,t.data),e.is_open=Boolean(Number(e.is_open)),o.value=!1}),O().then(t=>{e.request_url=t.data.wap_url+"/"});const{copy:w,isSupported:x,copied:f}=R(),C=t=>{if(!x.value){g({message:a("notSupportCopy"),type:"warning"});return}w(t)};$(f,()=>{f.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),Q(c).then(()=>{o.value=!1}).catch(()=>{o.value=!1})}})};return(t,s)=>{const c=L,m=T,N=Z,V=z,q=A,B=G,S=J;return h(),j("div",W,[n("div",X,[n("span",Y,u(l(y)),1)]),H((h(),M(q,{model:e,"label-width":"150px",ref_key:"formRef",ref:d,class:"page-form"},{default:i(()=>[r(V,{class:"box-card !border-none",shadow:"never"},{default:i(()=>[r(m,{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(m,{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"])),[[S,o.value]]),n("div",ee,[n("div",te,[r(B,{type:"primary",loading:o.value,onClick:s[2]||(s[2]=p=>k(d.value))},{default:i(()=>[U(u(l(a)("save")),1)]),_:1},8,["loading"])])])])}}});const _e=K(se,[["__scopeId","data-v-7f2ec82c"]]);export{_e as default};
|
||||||
1
niucloud/public/admin/assets/copyright-e2510e86.js
Normal file
1
niucloud/public/admin/assets/copyright-e2510e86.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as U,O as E,r as g,n as f,N as a,h as v,c as N,e as o,w as s,a as p,t as u,u as t,y as P,I as D,i as R,dv as C,dw as B,_ as F,Z as I,ac as L,$ as O,E as S,a4 as j}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{_ as $}from"./index-edd24909.js";/* empty css */import"./index.vue_vue_type_style_index_0_lang-3b291a1c.js";/* empty css */import"./attachment-b3c743b5.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 *//* empty css */import"./index.vue_vue_type_script_setup_true_lang-f0968e2c.js";/* empty css */import"./_plugin-vue_export-helper-c27b6911.js";const q={class:"main-container"},T={class:"flex justify-between items-center"},Z={class:"text-page-title"},z={class:"panel-title !text-sm"},A={class:"panel-title !text-sm"},G={class:"fixed-footer-wrap"},H={class:"fixed-footer"},ke=U({__name:"copyright",setup(J){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=$,i=F,d=I,_=L,w=O,x=S,k=j;return v(),N("div",q,[o(_,{class:"box-card !border-none",shadow:"never"},{default:s(()=>[p("div",T,[p("span",Z,u(t(b)),1)]),P((v(),D(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",z,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",A,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",G,[p("div",H,[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{ke as default};
|
||||||
1
niucloud/public/admin/assets/course-05620963.js
Normal file
1
niucloud/public/admin/assets/course-05620963.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as g,O 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,N as a,e as o,w as i,i as c,E as k,aq as L,ar as U,ac as j}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css */import{g as E}from"./wechat-c3dec9f6.js";const N=""+new URL("alipay1-029c00a2.png",import.meta.url).href,O=""+new URL("alipay2-f74219b9.png",import.meta.url).href,B=""+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:N})],-1),ss={class:"flex items-center text-[14px] mt-[20px]"},ts=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:O})],-1),es=s("div",{class:"w-[100%] mt-[10px]"},[s("img",{class:"w-[100%]",src:B})],-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};
|
||||||
1
niucloud/public/admin/assets/course-118a16ce.js
Normal file
1
niucloud/public/admin/assets/course-118a16ce.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as w,O as u,f,r as g,n as v,h as y,c as b,a as t,u as s,t as e,N as n,e as c,w as r,i as o,E as T,ac as k}from"./index-022827e1.js";/* empty css *//* empty css */import{g as E}from"./wechat-c3dec9f6.js";const O=""+new URL("wechat_1-0a26d3a6.png",import.meta.url).href,R=""+new URL("wechat_4-94a271d5.png",import.meta.url).href,C=""+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"},N={class:"detail-head"},U=t("span",{class:"iconfont iconxiangzuojiantou !text-xs"},null,-1),B={class:"ml-[1px]"},q=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:O})],-1),W={class:"flex items-center text-[14px] mt-[20px]"},$=t("div",{class:"w-[100%] mt-[10px]"},[t("img",{class:"w-[100%]",src:R})],-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:C})],-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",N,[t("div",{class:"left",onClick:a[0]||(a[0]=st=>s(l).push({path:"/channel/wechat"}))},[U,t("span",B,e(s(n)("returnToPreviousPage")),1)]),q,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};
|
||||||
1
niucloud/public/admin/assets/course-447d8973.js
Normal file
1
niucloud/public/admin/assets/course-447d8973.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as m,O as h,f as u,h as w,c as f,a as s,u as t,t as e,N as n,e as r,w as a,i,E as v,ac as g}from"./index-022827e1.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),N={class:"right"},U={class:"mt-[20px]"},B={class:"flex"},O=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),V={class:"flex items-center text-[14px]"},q=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",N,e(t(l)),1)]),r(x,{class:"box-card !border-none",shadow:"never"},{default:a(()=>[s("div",U,[s("div",B,[O,s("div",null,[s("p",V,[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)]),q])]),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};
|
||||||
1
niucloud/public/admin/assets/cron-276c4daa.js
Normal file
1
niucloud/public/admin/assets/cron-276c4daa.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as T,n as z,r as k,h as c,c as h,e as a,w as r,u as o,N as n,i as p,t as i,a as b,y as F,I as $,dx as B,Z as N,_ as U,da as Y,E as I,$ as L,ac as j,ak as H,am as M,a3 as R,a4 as S}from"./index-022827e1.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{_ as Z}from"./cron-info.vue_vue_type_script_setup_true_lang-78fe03fb.js";/* empty css */const q={class:"main-container"},A={class:"mt-[16px]"},G={key:0},J={key:1},K={class:"mt-[16px] flex justify-end"},ge=T({__name:"cron",setup(O){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,B({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),x=d=>{_.value.setFormData(d),_.value.showDialog=!0};return(d,l)=>{const w=N,u=U,C=Y,f=I,D=L,v=j,s=H,E=M,P=R,V=S;return c(),h("div",q,[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(w,{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",A,[F((c(),$(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",G,i(t.crond_length)+i(t.crond_type_name),1)):(c(),h("span",J,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=>x(t)},{default:r(()=>[p(i(o(n)("info")),1)]),_:2},1032,["onClick"])]),_:1},8,["label"])]),_:1},8,["data"])),[[V,e.loading]]),b("div",K,[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(Z,{ref_key:"cronDialog",ref:_,onComplete:m},null,512)])}}});export{ge as default};
|
||||||
1
niucloud/public/admin/assets/cron-info-910e53b1.js
Normal file
1
niucloud/public/admin/assets/cron-info-910e53b1.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./cron-info.vue_vue_type_script_setup_true_lang-78fe03fb.js";import"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css */export{o as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as E,r as m,n as N,q as V,h as r,I as h,w as e,a as n,e as o,i as B,t as l,u as a,N as s,y as F,c as b,_ as T,$ as C,E as I,ad as O,a4 as R}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css */const j={class:"input-width"},S={class:"input-width"},$={key:0,class:"input-width"},q={key:1,class:"input-width"},J={class:"input-width"},L={class:"input-width"},U={class:"input-width"},z={class:"input-width"},A={class:"input-width"},G={class:"input-width"},H={class:"input-width"},K={class:"dialog-footer"},tt=E({__name:"cron-info",setup(M,{expose:v}){const _=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=N({...p}),y=m(),w=V(()=>({}));return v({showDialog:_,setFormData:async(c=null)=>{u.value=!0,Object.assign(t,p),c&&Object.keys(t).forEach(d=>{c[d]!=null&&(t[d]=c[d])}),u.value=!1}}),(c,d)=>{const i=T,g=C,x=I,D=O,k=R;return r(),h(D,{modelValue:_.value,"onUpdate:modelValue":d[1]||(d[1]=f=>_.value=f),title:a(s)("cronInfo"),width:"550px","destroy-on-close":!0},{footer:e(()=>[n("span",K,[o(x,{type:"primary",onClick:d[0]||(d[0]=f=>_.value=!1)},{default:e(()=>[B(l(a(s)("confirm")),1)]),_:1})])]),default:e(()=>[F((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",j,l(t.title),1)]),_:1},8,["label"]),o(i,{label:a(s)("typeName")},{default:e(()=>[n("div",S,l(t.type_name),1)]),_:1},8,["label"]),o(i,{label:a(s)("crondType")},{default:e(()=>[t.type=="crond"?(r(),b("div",$,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",L,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",z,l(t.status_desc),1)]),_:1},8,["label"]),o(i,{label:a(s)("lastTime")},{default:e(()=>[n("div",A,l(t.last_time),1)]),_:1},8,["label"]),o(i,{label:a(s)("nextTime")},{default:e(()=>[n("div",G,l(t.next_time),1)]),_:1},8,["label"]),o(i,{label:a(s)("createTime")},{default:e(()=>[n("div",H,l(t.create_time),1)]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[k,u.value]])]),_:1},8,["modelValue","title"])}}});export{tt as _};
|
||||||
1
niucloud/public/admin/assets/detection-8684ff24.js
Normal file
1
niucloud/public/admin/assets/detection-8684ff24.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as w,O as k,r as h,a8 as v,y as S,u as t,h as i,c,I as C,w as n,a as s,t as d,N as a,e,B,ak as E,am as N,a7 as z,ac as D,a4 as I}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css */import{v as V}from"./tools-1ceab74e.js";const j={class:"main-container attachment-container min-h-[80vh]"},O={class:"flex justify-between items-center"},T={class:"text-page-title"},L={class:"bg-[#fff] pb-[20px] mb-3"},R={class:"pt-[20px] pb-[10px] text-sm"},q={class:"text-[14px]"},A={class:"bg-[#fff] pb-[20px] mb-3"},F={class:"py-[20px] text-sm"},G={class:"text-[14px]"},H={class:"bg-[#fff] pb-[20px] mb-3"},J={class:"py-[20px] text-sm"},K={class:"text-[14px]"},M={key:0},P={key:1},Q={class:"bg-[#fff] pb-[20px] mb-3"},U={class:"py-[20px] text-sm"},W={class:"text-[14px]"},X={key:0},Y={key:1},ue=w({__name:"detection",setup(Z){const g=k().meta.title,o=h({});let m=h(!0);return(()=>{V().then(u=>{o.value=u.data,m.value=!1})})(),(u,te)=>{const l=E,r=N,f=v("Select"),_=z,b=v("CloseBold"),x=D,y=I;return S((i(),c("div",j,[Object.keys(o.value).length?(i(),C(x,{key:0,class:"box-card !border-none",shadow:"never"},{default:n(()=>[s("div",O,[s("span",T,d(t(g)),1)]),s("div",L,[s("p",R,d(t(a)("serverInformation")),1),s("div",q,[e(r,{data:o.value.server,size:"large"},{default:n(()=>[e(l,{prop:"name",label:t(a)("environment"),align:"left","min-width":"200"},null,8,["label"]),e(l,{prop:"server",label:t(a)("version"),align:"left","min-width":"140"},null,8,["label"])]),_:1},8,["data"])])]),s("div",A,[s("p",F,d(t(a)("systemDemand")),1),s("div",G,[e(r,{data:o.value.server_version,size:"large"},{default:n(()=>[e(l,{prop:"name",label:t(a)("environment"),align:"left","min-width":"200"},null,8,["label"]),e(l,{prop:"demand",label:t(a)("demand"),align:"left","min-width":"140"},null,8,["label"]),e(l,{prop:"server",label:t(a)("version"),align:"left","min-width":"140"},null,8,["label"])]),_:1},8,["data"])])]),s("div",H,[s("p",J,d(t(a)("authorityStatus")),1),s("div",K,[e(r,{data:o.value.system_variables,size:"large"},{default:n(()=>[e(l,{prop:"name",label:t(a)("name"),align:"left","min-width":"200"},null,8,["label"]),e(l,{prop:"need",label:t(a)("demand"),align:"left","min-width":"140"},null,8,["label"]),e(l,{label:t(a)("status"),align:"left","min-width":"140"},{default:n(({row:p})=>[p.status?(i(),c("span",M,[e(_,{color:"green"},{default:n(()=>[e(f)]),_:1})])):(i(),c("span",P,[e(_,{color:"red"},{default:n(()=>[e(b)]),_:1})]))]),_:1},8,["label"])]),_:1},8,["data"])])]),s("div",Q,[s("p",U,d(t(a)("process")),1),s("div",W,[e(r,{data:o.value.process,size:"large"},{default:n(()=>[e(l,{prop:"name",label:t(a)("name"),align:"left","min-width":"200"},null,8,["label"]),e(l,{prop:"need",label:t(a)("demand"),align:"left","min-width":"140"},null,8,["label"]),e(l,{label:t(a)("status"),align:"left","min-width":"140"},{default:n(({row:p})=>[p.status?(i(),c("span",X,[e(_,{color:"green"},{default:n(()=>[e(f)]),_:1})])):(i(),c("span",Y,[e(_,{color:"red"},{default:n(()=>[e(b)]),_:1})]))]),_:1},8,["label"])]),_:1},8,["data"])])])]),_:1})):B("",!0)])),[[y,t(m)]])}}});export{ue as default};
|
||||||
1
niucloud/public/admin/assets/developer_token-a77528f3.js
Normal file
1
niucloud/public/admin/assets/developer_token-a77528f3.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as y,r as c,dy as w,n as E,N as l,h as _,c as V,y as B,I as D,w as n,e as s,a as i,t as d,u as r,i as T,dz as C,Z as N,_ as I,E as R,ac as F,$ as P,a4 as $}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */const q={class:"main-container"},z={class:"panel-title !text-sm"},L={class:"text-[14px] text-[#a9a9a9] leading-tight mt-[10px]"},J=y({__name:"developer_token",setup(S){const e=c(!0),o=c({token:""});w().then(({data:t})=>{e.value=!1,t.token&&(o.value=t)}).catch();const u=c(),v=E({token:[{required:!0,message:l("tokenPlaceholder"),trigger:"blur"}]}),f=async t=>{e.value||!t||await t.validate(async a=>{a&&(e.value=!0,C(o.value).then(()=>{e.value=!1}).catch(()=>{e.value=!1}))})};return(t,a)=>{const k=N,m=I,h=R,g=F,x=P,b=$;return _(),V("div",q,[B((_(),D(x,{model:o.value,"label-width":"0",ref_key:"formRef",ref:u,rules:v,class:"page-form"},{default:n(()=>[s(g,{class:"box-card !border-none",shadow:"never"},{default:n(()=>[i("h3",z,d(r(l)("developerTokenEdit")),1),s(m,{label:"",prop:"token"},{default:n(()=>[i("div",null,[s(k,{modelValue:o.value.token,"onUpdate:modelValue":a[0]||(a[0]=p=>o.value.token=p),placeholder:r(l)("tokenPlaceholder"),class:"input-width",clearable:"",maxlength:"30"},null,8,["modelValue","placeholder"])]),i("div",L,d(r(l)("tokenTips")),1)]),_:1}),s(m,{label:""},{default:n(()=>[s(h,{type:"primary",loading:e.value,onClick:a[1]||(a[1]=p=>f(u.value))},{default:n(()=>[T(d(r(l)("save")),1)]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1},8,["model","rules"])),[[b,e.value]])])}}});export{J as default};
|
||||||
1
niucloud/public/admin/assets/dict-31d66008.js
Normal file
1
niucloud/public/admin/assets/dict-31d66008.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./dict.vue_vue_type_style_index_0_lang-b206f236.js";import"./index-022827e1.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"./dict-9c57a378.js";export{o as default};
|
||||||
1
niucloud/public/admin/assets/dict-9c57a378.js
Normal file
1
niucloud/public/admin/assets/dict-9c57a378.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{a1 as e}from"./index-022827e1.js";function c(t){return e.get("dict/dict",{params:t})}function i(t){return e.get(`dict/dict/${t}`)}function u(t){return e.post("dict/dict",t,{showErrorMessage:!0,showSuccessMessage:!0})}function o(t){return e.put(`dict/dict/${t.id}`,t,{showErrorMessage:!0,showSuccessMessage:!0})}function n(t){return e.delete(`dict/dict/${t}`,{showErrorMessage:!0,showSuccessMessage:!0})}function a(t,s){return e.put(`dict/dictionary/${t}`,s,{showErrorMessage:!0,showSuccessMessage:!0})}function d(){return e.get("dict/all")}export{u as a,c as b,d as c,n as d,o as e,i as g,a as s};
|
||||||
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/diy-5364da83.js
Normal file
1
niucloud/public/admin/assets/diy-5364da83.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/diy-987df720.js
Normal file
1
niucloud/public/admin/assets/diy-987df720.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{a1 as t}from"./index-022827e1.js";function i(e){return t.get("diy/diy",{params:e})}function u(e){return t.get("diy/carousel_search",{params:e})}function n(e){return t.post("diy/diy",e,{showSuccessMessage:!0})}function r(e){return t.put(`diy/diy/${e.id}`,e,{showSuccessMessage:!0})}function o(e){return t.put("diy/use",e,{showSuccessMessage:!0})}function a(e){return t.put("diy/diy/share",e,{showSuccessMessage:!0})}function g(e){return t.delete(`diy/diy/${e}`,{showSuccessMessage:!0})}function c(e){return t.get("diy/init",{params:e})}function y(e){return t.get("diy/link",{params:e})}function d(e){return t.get("diy/bottom",{params:e})}function f(e){return t.get("diy/bottom/config",{params:e})}function p(e){return t.post("diy/bottom",e,{showSuccessMessage:!0})}function h(e){return t.get("diy/template",{params:e})}function D(e){return t.get("diy/template/pages",{params:e})}function m(e){return t.get("diy/route",{params:e})}function l(){return t.get("diy/route/apps")}function S(e){return t.get("diy/route/info",{params:e})}function P(e){return t.put("diy/route/share",e,{showSuccessMessage:!0})}function w(e){return t.get("diy/decorate",{params:e})}function M(e){return t.put("diy/change",e,{showSuccessMessage:!0})}function L(e){return t.get("diy/apps")}export{u as a,D as b,n as c,w as d,r as e,M as f,y as g,L as h,c as i,h as j,i as k,g as l,a as m,l as n,m as o,S as p,P as q,d as r,o as s,f as t,p as u};
|
||||||
1
niucloud/public/admin/assets/edit-20746669.js
Normal file
1
niucloud/public/admin/assets/edit-20746669.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./edit.vue_vue_type_style_index_0_lang-d3dbfb68.js";import"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./dict-9c57a378.js";export{o as default};
|
||||||
1
niucloud/public/admin/assets/edit-5c463822.js
Normal file
1
niucloud/public/admin/assets/edit-5c463822.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/edit-6d9a59b6.js
Normal file
1
niucloud/public/admin/assets/edit-6d9a59b6.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/edit-associated-bf10180a.js
Normal file
1
niucloud/public/admin/assets/edit-associated-bf10180a.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./edit-associated.vue_vue_type_script_setup_true_async_true_lang-a94020e6.js";import"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./tools-1ceab74e.js";export{o as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as I,r as s,q as S,N as a,h as u,I as f,w as d,a as O,e as t,i as C,t as q,u as n,c as _,F as b,G as h,aF as Z,c$ as E,av as j,aT as z,_ as H,Z as J,$ as Q,E as W,ad as X}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{g as Y,l as ee,m as le}from"./tools-1ceab74e.js";const ae={class:"dialog-footer"},ve=I({__name:"edit-associated",props:{table_name:{type:String,required:!0}},emits:["complete"],setup(K,{expose:N,emit:T}){const U=K,m=s(!1),x=s(""),V={type:"has_one",name:"",addon:"system",model:"",local_key:"",foreign_key:""},o=s({...V}),g=s(),M=S(()=>({type:[{required:!0,message:a("associatedTypePlaceholder"),trigger:"change"}],name:[{required:!0,message:a("associatedNamePlaceholder"),trigger:"blur"}],addon:[{required:!0,message:a("addonsPlaceholder"),trigger:"change"}],model:[{required:!0,message:a("associatedModelPlaceholder"),trigger:"change"}],local_key:[{required:!0,message:a("localKeyPlaceholder"),trigger:"change"}],foreign_key:[{required:!0,message:a("foreignKeyPlaceholder"),trigger:"blur"}]})),k=s([]),w=r=>{ee(r).then(e=>{k.value=e.data})},F=s([]),$=r=>{le({table_name:r}).then(e=>{F.value=e.data})},v=s([]);(async()=>{const{data:r}=await Y({});v.value=[{title:"系统",key:"system"}],v.value.push(...r),w({addon:"system"})})();const A=r=>{o.value.model="",w({addon:r})},B=r=>{var e;(e=g.value)==null||e.clearValidate(),r()},G=async r=>{r&&await r.validate(async e=>{e&&(T("complete",Z(o.value)),m.value=!1)})};return N({showDialog:m,setFormData:async(r=null)=>{$(U.table_name),r?o.value=E(r):o.value=E(V),m.value=!0}}),(r,e)=>{const p=j,c=z,i=H,P=J,L=Q,D=W,R=X;return u(),f(R,{modelValue:m.value,"onUpdate:modelValue":e[8]||(e[8]=l=>m.value=l),title:x.value,width:"500px","before-close":B,"destroy-on-close":!0},{footer:d(()=>[O("span",ae,[t(D,{onClick:e[6]||(e[6]=l=>m.value=!1)},{default:d(()=>[C(q(n(a)("cancel")),1)]),_:1}),t(D,{type:"primary",onClick:e[7]||(e[7]=l=>G(g.value))},{default:d(()=>[C(q(n(a)("confirm")),1)]),_:1})])]),default:d(()=>[t(L,{model:o.value,"label-width":"120px",ref_key:"formRef",ref:g,rules:n(M),class:"page-form"},{default:d(()=>[t(i,{label:n(a)("associatedType"),prop:"type"},{default:d(()=>[t(c,{placeholder:n(a)("associatedTypePlaceholder"),modelValue:o.value.type,"onUpdate:modelValue":e[0]||(e[0]=l=>o.value.type=l),class:"input-width"},{default:d(()=>[t(p,{label:n(a)("hasOne"),value:"has_one"},null,8,["label"]),t(p,{label:n(a)("hasMany"),value:"has_many"},null,8,["label"])]),_:1},8,["placeholder","modelValue"])]),_:1},8,["label"]),t(i,{label:n(a)("associatedName"),prop:"name"},{default:d(()=>[t(P,{modelValue:o.value.name,"onUpdate:modelValue":e[1]||(e[1]=l=>o.value.name=l),placeholder:n(a)("associatedNamePlaceholder"),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),t(i,{label:n(a)("addons"),prop:"addon"},{default:d(()=>[t(c,{modelValue:o.value.addon,"onUpdate:modelValue":e[2]||(e[2]=l=>o.value.addon=l),placeholder:n(a)("addonsPlaceholder"),class:"input-width",onChange:A},{default:d(()=>[(u(!0),_(b,null,h(v.value,(l,y)=>(u(),f(p,{label:l.title,value:l.key,key:y},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"]),t(i,{label:n(a)("associatedModel"),prop:"model"},{default:d(()=>[t(c,{placeholder:n(a)("associatedModelPlaceholder"),modelValue:o.value.model,"onUpdate:modelValue":e[3]||(e[3]=l=>o.value.model=l),class:"input-width",filterable:""},{default:d(()=>[(u(!0),_(b,null,h(k.value,l=>(u(),f(p,{label:l,value:l,key:l},null,8,["label","value"]))),128))]),_:1},8,["placeholder","modelValue"])]),_:1},8,["label"]),t(i,{prop:"local_key",label:n(a)("localKey")},{default:d(()=>[t(c,{class:"input-width",placeholder:n(a)("localKeyPlaceholder"),modelValue:o.value.local_key,"onUpdate:modelValue":e[4]||(e[4]=l=>o.value.local_key=l)},{default:d(()=>[(u(!0),_(b,null,h(F.value,(l,y)=>(u(),f(p,{label:`${l.name}:${l.comment}`,value:l.name,key:y},null,8,["label","value"]))),128))]),_:1},8,["placeholder","modelValue"])]),_:1},8,["label"]),t(i,{label:n(a)("foreignKey"),prop:"foreign_key"},{default:d(()=>[t(P,{modelValue:o.value.foreign_key,"onUpdate:modelValue":e[5]||(e[5]=l=>o.value.foreign_key=l),placeholder:n(a)("foreignKeyPlaceholder"),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])}}});export{ve as _};
|
||||||
1
niucloud/public/admin/assets/edit-bad22164.js
Normal file
1
niucloud/public/admin/assets/edit-bad22164.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/edit-float-btn-bf615038.js
Normal file
1
niucloud/public/admin/assets/edit-float-btn-bf615038.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/edit-horz-blank-3cc33d05.js
Normal file
1
niucloud/public/admin/assets/edit-horz-blank-3cc33d05.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as h,h as b,c as g,y as a,z as n,u as e,a as o,t as f,N as i,e as s,w as r,b as y,F as v,d4 as w,_ as x,$ as S}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css */import{u as k}from"./diy-5364da83.js";const z={class:"content-wrap"},B={class:"edit-attr-item-wrap"},C={class:"mb-[10px]"},V={class:"style-wrap"},E=h({__name:"edit-horz-blank",setup(F,{expose:_}){const t=k();return t.editComponent.ignore=["pageBgColor","componentBgUrl"],_({}),(m,l)=>{const d=w,p=x,c=S;return b(),g(v,null,[a(o("div",z,[o("div",B,[o("h3",C,f(e(i)("blankHeightSet")),1),s(c,{"label-width":"80px",class:"px-[10px]"},{default:r(()=>[s(p,{label:e(i)("blankHeight")},{default:r(()=>[s(d,{modelValue:e(t).editComponent.height,"onUpdate:modelValue":l[0]||(l[0]=u=>e(t).editComponent.height=u),"show-input":"",size:"small",max:"200",class:"ml-[10px] horz-blank-slider"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})])],512),[[n,e(t).editTab=="content"]]),a(o("div",V,[y(m.$slots,"style")],512),[[n,e(t).editTab=="style"]])],64)}}});const I=Object.freeze(Object.defineProperty({__proto__:null,default:E},Symbol.toStringTag,{value:"Module"}));export{I as _};
|
||||||
1
niucloud/public/admin/assets/edit-horz-line-f14b7ecb.js
Normal file
1
niucloud/public/admin/assets/edit-horz-line-f14b7ecb.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as S,h as g,c as V,y as m,z as _,u as e,a as d,t as s,N as n,e as t,w as l,i as u,b as z,F as w,aK as x,aL as v,_ as B,d0 as L,d4 as E,$ as k}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{u as D}from"./diy-5364da83.js";const F={class:"content-wrap"},N={class:"edit-attr-item-wrap"},R={class:"mb-[10px]"},T={class:"style-wrap"},U=S({__name:"edit-horz-line",setup(W,{expose:c}){const o=D();return o.editComponent.ignore=["pageBgColor","componentBgColor","componentBgUrl","topRounded","bottomRounded"],c({}),(b,r)=>{const p=x,f=v,i=B,h=L,y=E,C=k;return g(),V(w,null,[m(d("div",F,[d("div",N,[d("h3",R,s(e(n)("horzLineStyle")),1),t(C,{"label-width":"80px",class:"px-[10px]"},{default:l(()=>[t(i,{label:e(n)("styleLabel")},{default:l(()=>[t(f,{modelValue:e(o).editComponent.borderStyle,"onUpdate:modelValue":r[0]||(r[0]=a=>e(o).editComponent.borderStyle=a)},{default:l(()=>[t(p,{label:"solid"},{default:l(()=>[u(s(e(n)("horzLineStyleSolid")),1)]),_:1}),t(p,{label:"dashed"},{default:l(()=>[u(s(e(n)("horzLineStyleDashed")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"]),t(i,{label:e(n)("horzLineBorderColor")},{default:l(()=>[t(h,{modelValue:e(o).editComponent.borderColor,"onUpdate:modelValue":r[1]||(r[1]=a=>e(o).editComponent.borderColor=a),"show-alpha":"",predefine:e(o).predefineColors},null,8,["modelValue","predefine"])]),_:1},8,["label"]),t(i,{label:e(n)("horzLineBorderWidth")},{default:l(()=>[t(y,{modelValue:e(o).editComponent.borderWidth,"onUpdate:modelValue":r[2]||(r[2]=a=>e(o).editComponent.borderWidth=a),"show-input":"",size:"small",class:"ml-[10px] horz-blank-slider",min:1,max:10},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})])],512),[[_,e(o).editTab=="content"]]),m(d("div",T,[z(b.$slots,"style")],512),[[_,e(o).editTab=="style"]])],64)}}});const Q=Object.freeze(Object.defineProperty({__proto__:null,default:U},Symbol.toStringTag,{value:"Module"}));export{Q as _};
|
||||||
1
niucloud/public/admin/assets/edit-hot-area-19b2feab.js
Normal file
1
niucloud/public/admin/assets/edit-hot-area-19b2feab.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/edit-image-ads-abf4b13c.js
Normal file
1
niucloud/public/admin/assets/edit-image-ads-abf4b13c.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as B,N as n,s as T,R,r as $,v as A,D as F,h,c as f,y as c,z as g,u as o,a as r,t as b,e as l,w as m,i as x,F as v,G as N,b as z,Z as D,_ as M,E as P,$ as W}from"./index-022827e1.js";/* empty css *//* empty css */import{_ as j}from"./index.vue_vue_type_style_index_0_lang-359e26de.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang-f0968e2c.js";import{_ as G}from"./index-edd24909.js";/* empty css */import{S as L}from"./sortable.esm-be94e56d.js";import{u as Z}from"./diy-5364da83.js";import{r as q}from"./range-ad956884.js";import{_ as J}from"./_plugin-vue_export-helper-c27b6911.js";const K={class:"content-wrap"},Q={class:"edit-attr-item-wrap"},X={class:"mb-[10px]"},Y={class:"text-sm text-gray-400 mb-[10px]"},ee=["onClick"],te={class:"style-wrap"},oe=B({__name:"edit-image-ads",setup(ie,{expose:y}){const t=Z();t.editComponent.ignore=[],t.editComponent.verify=a=>{const e={code:!0,message:""};return t.value[a].imageHeight==0?(e.code=!1,e.message=n("imageHeightPlaceholder"),e):/^\d+.?\d{0,2}$/.test(t.value[a].imageHeight)?(t.value[a].list.forEach(s=>{if(s.imageUrl==="")return e.code=!1,e.message=n("imageUrlTip"),e}),e):(e.code=!1,e.message=n("imageHeightRegNum"),e)},t.editComponent.list.forEach(a=>{a.id||(a.id=t.generateRandom())}),T(()=>t.editComponent.list,(a,e)=>{_()},{deep:!0});const w=()=>{t.editComponent.list.push({id:t.generateRandom(),imageUrl:"",imgWidth:0,imgHeight:0,link:{name:""}})},H=a=>{_(!0)},_=(a=!1)=>{t.editComponent.list.forEach((e,s)=>{const i=new Image;i.src=R(e.imageUrl),i.onload=async()=>{if(e.imgWidth=i.width,e.imgHeight=i.height,a&&s==0){const u=e.imgHeight/e.imgWidth;e.width=375-t.editComponent.margin.both*2,e.height=e.width*u,t.editComponent.imageHeight=parseInt(e.height)}}})},V=()=>{t.editComponent.imageHeight=parseInt(t.editComponent.imageHeight)},C=$();return A(()=>{F(()=>{const a=L.create(C.value,{group:"item-wrap",animation:200,onEnd:e=>{const s=t.editComponent.list[e.oldIndex];t.editComponent.list.splice(e.oldIndex,1),t.editComponent.list.splice(e.newIndex,0,s),a.sort(q(t.editComponent.list.length).map(i=>i.toString())),_(!0)}})})}),y({}),(a,e)=>{const s=D,i=M,u=G,I=O,k=j,S=P,U=W;return h(),f(v,null,[c(r("div",K,[r("div",Q,[r("h3",X,b(o(n)("imageSet")),1),l(U,{"label-width":"80px",class:"px-[10px]"},{default:m(()=>[l(i,{label:o(n)("imageHeight"),class:"display-block"},{default:m(()=>[l(s,{modelValue:o(t).editComponent.imageHeight,"onUpdate:modelValue":e[0]||(e[0]=d=>o(t).editComponent.imageHeight=d),modelModifiers:{trim:!0},placeholder:o(n)("imageHeightPlaceholder"),clearable:"",maxlength:"10",onBlur:V},{append:m(()=>[x("px")]),_:1},8,["modelValue","placeholder"]),r("div",Y,b(o(n)("imageAdsTips")),1)]),_:1},8,["label"]),r("div",{ref_key:"imageBoxRef",ref:C},[(h(!0),f(v,null,N(o(t).editComponent.list,(d,E)=>(h(),f("div",{key:d.id,class:"item-wrap p-[10px] pb-0 relative border border-dashed border-gray-300 mb-[16px]"},[l(i,{label:o(n)("image")},{default:m(()=>[l(u,{modelValue:d.imageUrl,"onUpdate:modelValue":p=>d.imageUrl=p,limit:1,onChange:H},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label"]),c(r("div",{class:"del absolute cursor-pointer z-[2] top-[-8px] right-[-8px]",onClick:p=>o(t).editComponent.list.splice(E,1)},[l(I,{name:"element-CircleCloseFilled",color:"#bbb",size:"20px"})],8,ee),[[g,o(t).editComponent.list.length>1]]),l(i,{label:o(n)("link")},{default:m(()=>[l(k,{modelValue:d.link,"onUpdate:modelValue":p=>d.link=p},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label"])]))),128))],512),c(l(S,{class:"w-full",onClick:w},{default:m(()=>[x(b(o(n)("addImageAd")),1)]),_:1},512),[[g,o(t).editComponent.list.length<10]])]),_:1})])],512),[[g,o(t).editTab=="content"]]),c(r("div",te,[z(a.$slots,"style",{},void 0,!0)],512),[[g,o(t).editTab=="style"]])],64)}}});const ae=J(oe,[["__scopeId","data-v-47b74096"]]),he=Object.freeze(Object.defineProperty({__proto__:null,default:ae},Symbol.toStringTag,{value:"Module"}));export{he as _};
|
||||||
1
niucloud/public/admin/assets/edit-label-642c2bba.js
Normal file
1
niucloud/public/admin/assets/edit-label-642c2bba.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./edit-label.vue_vue_type_script_setup_true_lang-bcff3b8a.js";import"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./member-394fe4e5.js";export{o as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as F,r as f,n as B,q as C,N as a,h as g,I as w,w as i,a as I,e as n,i as V,t as h,u as r,y as O,di as P,Z as U,_ as R,$ as T,E as $,ad as j,a4 as k}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{u as q,s as S,t as K}from"./member-394fe4e5.js";const Z={class:"dialog-footer"},ee=F({__name:"edit-label",emits:["complete"],setup(z,{expose:y,emit:x}){const d=f(!1),s=f(!1);let p="";const c={label_id:"",label_name:"",memo:"",sort:0},t=B({...c}),b=f(),D=C(()=>({label_name:[{required:!0,message:a("labelNamePlaceholder"),trigger:"blur"}],sort:[{validator:E,trigger:"blur"}]})),E=(m,e,l)=>{e<0?l(new Error(a("sortVerifyOne"))):e.toString().indexOf(".")!=-1?l(new Error(a("sortVerifyTwo"))):l()},M=async m=>{if(s.value||!m)return;const e=t.label_id?q:S;await m.validate(async l=>{l&&(s.value=!0,e(t).then(_=>{s.value=!1,d.value=!1,x("complete")}).catch(()=>{s.value=!1}))})};return y({showDialog:d,setFormData:async(m=null)=>{if(s.value=!0,Object.assign(t,c),p=a("addMemberLabel"),m){p=a("updateMemberLabel");const e=await(await K(m.label_id)).data;e&&Object.keys(t).forEach(l=>{e[l]!=null&&(t[l]=e[l])})}s.value=!1}}),(m,e)=>{const l=U,u=R,_=T,v=$,N=j,L=k;return g(),w(N,{modelValue:d.value,"onUpdate:modelValue":e[6]||(e[6]=o=>d.value=o),title:r(p),width:"500px","destroy-on-close":!0},{footer:i(()=>[I("span",Z,[n(v,{onClick:e[4]||(e[4]=o=>d.value=!1)},{default:i(()=>[V(h(r(a)("cancel")),1)]),_:1}),n(v,{type:"primary",loading:s.value,onClick:e[5]||(e[5]=o=>M(b.value))},{default:i(()=>[V(h(r(a)("confirm")),1)]),_:1},8,["loading"])])]),default:i(()=>[O((g(),w(_,{model:t,"label-width":"90px",ref_key:"formRef",ref:b,rules:r(D),class:"page-form"},{default:i(()=>[n(u,{label:r(a)("labelName"),prop:"label_name"},{default:i(()=>[n(l,{modelValue:t.label_name,"onUpdate:modelValue":e[0]||(e[0]=o=>t.label_name=o),modelModifiers:{trim:!0},clearable:"",placeholder:r(a)("labelNamePlaceholder"),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),n(u,{label:r(a)("memo")},{default:i(()=>[n(l,{modelValue:t.memo,"onUpdate:modelValue":e[1]||(e[1]=o=>t.memo=o),modelModifiers:{trim:!0},type:"textarea",rows:"4",clearable:"",placeholder:r(a)("memoPlaceholder"),class:"input-width",maxlength:"200","show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),n(u,{label:r(a)("sort"),prop:"sort"},{default:i(()=>[n(l,{modelValue:t.sort,"onUpdate:modelValue":e[2]||(e[2]=o=>t.sort=o),modelModifiers:{trim:!0},clearable:"",maxlength:"6","show-word-limit":"",placeholder:r(a)("sortPlaceholder"),class:"input-width",onKeyup:e[3]||(e[3]=o=>r(P)(o))},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[L,s.value]])]),_:1},8,["modelValue","title"])}}});export{ee as _};
|
||||||
1
niucloud/public/admin/assets/edit-member-cbbcc6af.js
Normal file
1
niucloud/public/admin/assets/edit-member-cbbcc6af.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./edit-member.vue_vue_type_script_setup_true_lang-43d489c1.js";import"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./index-edd24909.js";/* empty css */import"./index.vue_vue_type_style_index_0_lang-3b291a1c.js";import"./attachment-b3c743b5.js";/* 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-f0968e2c.js";/* empty css */import"./_plugin-vue_export-helper-c27b6911.js";import"./member-394fe4e5.js";export{o as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as x,h as g,c as h,y as _,z as d,u as e,a as o,t as p,N as a,e as l,w as n,b as y,F as C,_ as w,$ as S,d0 as v}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css */import{_ as V}from"./index-edd24909.js";import{u as U}from"./diy-5364da83.js";const k={class:"content-wrap"},B={class:"edit-attr-item-wrap"},E={class:"mb-[10px]"},F={class:"style-wrap"},D={class:"edit-attr-item-wrap"},N={class:"mb-[10px]"},T=x({__name:"edit-member-info",setup(j,{expose:c}){const t=U();return t.editComponent.ignore=["componentBgUrl"],c({}),(u,s)=>{const b=V,i=w,m=S,f=v;return g(),h(C,null,[_(o("div",k,[o("div",B,[o("h3",E,p(e(a)("memberStyle")),1),l(m,{"label-width":"80px",class:"px-[10px]"},{default:n(()=>[l(i,{label:e(a)("bgUrl")},{default:n(()=>[l(b,{modelValue:e(t).editComponent.bgUrl,"onUpdate:modelValue":s[0]||(s[0]=r=>e(t).editComponent.bgUrl=r),limit:1},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})])],512),[[d,e(t).editTab=="content"]]),_(o("div",F,[o("div",D,[o("h3",N,p(e(a)("memberStyle")),1),l(m,{"label-width":"80px",class:"px-[10px]"},{default:n(()=>[l(i,{label:e(a)("textColor")},{default:n(()=>[l(f,{modelValue:e(t).editComponent.textColor,"onUpdate:modelValue":s[1]||(s[1]=r=>e(t).editComponent.textColor=r)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),y(u.$slots,"style")],512),[[d,e(t).editTab=="style"]])],64)}}}),A=Object.freeze(Object.defineProperty({__proto__:null,default:T},Symbol.toStringTag,{value:"Module"}));export{A as _};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as Y,r as i,N as t,n as A,h as r,I as u,w as n,a as $,e as p,i as x,t as E,u as m,y as R,B as _,c as w,F,G as L,_ as G,Z as O,da as Z,av as j,aT as q,$ as z,E as H,ad as J,a4 as K}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{_ as Q}from"./index-edd24909.js";import{v as W,w as X}from"./member-394fe4e5.js";const ee={class:"dialog-footer"},ge=Y({__name:"edit-member",emits:["complete"],setup(le,{expose:M,emit:N}){const o=i(""),y=i(""),g=i(""),c=i(!1),d=i(!1),S=i([{id:0,name:t("secrecySex")},{id:1,name:t("manSex")},{id:2,name:t("girlSex")}]),V=i(null);(async()=>{V.value=await(await W()).data})();const a=A({...{headimg:"",nickname:"",member_label:"",sex:"",birthday:""}}),B=async s=>{d.value=!0;const e=i({member_id:g.value,field:o.value,value:a[o.value]});X(e.value).then(v=>{d.value=!1,c.value=!1,N("complete")}).catch(()=>{d.value=!1})};return M({showDialog:c,setDialogType:async(s=null)=>{d.value=!0,o.value=s.type,y.value=s.title,g.value=s.id,a[o.value]=s.data[o.value],o.value=="member_label"&&a[o.value]&&a[o.value].forEach((e,v)=>{a[o.value][v]=Number.parseFloat(e)}),d.value=!1}}),(s,e)=>{const v=Q,b=G,U=O,C=Z,h=j,k=q,T=z,D=H,I=J,P=K;return r(),u(I,{modelValue:c.value,"onUpdate:modelValue":e[7]||(e[7]=l=>c.value=l),title:y.value||m(t)("updateMember"),width:"500px","destroy-on-close":!0},{footer:n(()=>[$("span",ee,[p(D,{onClick:e[5]||(e[5]=l=>c.value=!1)},{default:n(()=>[x(E(m(t)("cancel")),1)]),_:1}),p(D,{type:"primary",loading:d.value,onClick:e[6]||(e[6]=l=>B(s.formRef))},{default:n(()=>[x(E(m(t)("confirm")),1)]),_:1},8,["loading"])])]),default:n(()=>[R((r(),u(T,{model:a,"label-width":"90px",rules:s.formRules,class:"page-form"},{default:n(()=>[o.value=="headimg"?(r(),u(b,{key:0,label:m(t)("headimg")},{default:n(()=>[p(v,{modelValue:a.headimg,"onUpdate:modelValue":e[0]||(e[0]=l=>a.headimg=l)},null,8,["modelValue"])]),_:1},8,["label"])):_("",!0),o.value=="nickname"?(r(),u(b,{key:1,label:m(t)("nickname")},{default:n(()=>[p(U,{modelValue:a.nickname,"onUpdate:modelValue":e[1]||(e[1]=l=>a.nickname=l),clearable:"",placeholder:m(t)("nickNamePlaceholder"),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])):_("",!0),o.value=="birthday"?(r(),u(b,{key:2,label:m(t)("birthday")},{default:n(()=>[p(C,{modelValue:a.birthday,"onUpdate:modelValue":e[2]||(e[2]=l=>a.birthday=l),"value-format":"YYYY-MM-DD",type:"date",placeholder:m(t)("birthdayTip")},null,8,["modelValue","placeholder"])]),_:1},8,["label"])):_("",!0),o.value=="sex"?(r(),u(b,{key:3,label:m(t)("sex")},{default:n(()=>[p(k,{modelValue:a.sex,"onUpdate:modelValue":e[3]||(e[3]=l=>a.sex=l),clearable:"",placeholder:m(t)("sexPlaceholder"),class:"input-width"},{default:n(()=>[(r(!0),w(F,null,L(S.value,(l,f)=>(r(),u(h,{label:l.name,value:l.id,key:f},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"])):_("",!0),o.value=="member_label"?(r(),u(b,{key:4,label:m(t)("memberLabel")},{default:n(()=>[p(k,{modelValue:a.member_label,"onUpdate:modelValue":e[4]||(e[4]=l=>a.member_label=l),multiple:"","collapse-tags":"",placeholder:m(t)("memberLabelPlaceholder"),class:"input-width"},{default:n(()=>[(r(!0),w(F,null,L(V.value,(l,f)=>(r(),u(h,{label:l.label_name,value:l.label_id,key:f},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])]),_:1},8,["label"])):_("",!0)]),_:1},8,["model","rules"])),[[P,d.value]])]),_:1},8,["modelValue","title"])}}});export{ge as _};
|
||||||
1
niucloud/public/admin/assets/edit-menu-11a22242.js
Normal file
1
niucloud/public/admin/assets/edit-menu-11a22242.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./edit-menu.vue_vue_type_script_setup_true_lang-cb84ac1a.js";import"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./index-a791e4ed.js";import"./index.vue_vue_type_style_index_0_lang-3b291a1c.js";import"./attachment-b3c743b5.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-f0968e2c.js";/* empty css */import"./_plugin-vue_export-helper-c27b6911.js";/* empty css *//* empty css *//* empty css *//* empty css */import"./tools-1ceab74e.js";export{o as default};
|
||||||
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/edit-notice-752cf3ed.js
Normal file
1
niucloud/public/admin/assets/edit-notice-752cf3ed.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/edit-page-204e2f2e.js
Normal file
1
niucloud/public/admin/assets/edit-page-204e2f2e.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as B}from"./index-edd24909.js";import{d as U,s as v,R as E,h as T,c as k,y as c,z as h,u as e,a as s,t as p,N as n,e as o,w as i,i as f,F as z,Z as N,_ as H,b2 as F,$ as G,d0 as I,aK as R,aL as A,d4 as D}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css *//* empty css */import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-f0968e2c.js";/* empty css *//* empty css *//* empty css *//* empty css */import{u as j}from"./diy-5364da83.js";const M={class:"content-wrap"},O={class:"edit-attr-item-wrap"},$={class:"mb-[10px]"},K={class:"text-sm text-gray-400"},L={class:"style-wrap"},W={class:"edit-attr-item-wrap"},Z={class:"mb-[10px]"},q={class:"text-sm text-gray-400 ml-[80px] mb-[10px]"},J={class:"edit-attr-item-wrap"},Q={class:"mb-[10px]"},X=U({__name:"edit-page",setup(Y,{expose:x}){const l=j();v(()=>l.global.bgUrl,(r,t)=>{const d=new Image;d.src=E(l.global.bgUrl),d.onload=async()=>{l.global.imgWidth=d.width,l.global.imgHeight=d.height}});const V=r=>{l.value.forEach((t,d)=>{t.margin.both=r})};return x({}),(r,t)=>{const d=N,m=H,w=F,_=G,g=I,S=P,b=R,C=A,u=D,y=B;return T(),k(z,null,[c(s("div",M,[s("div",O,[s("h3",$,p(e(n)("pageContent")),1),o(_,{"label-width":"80px",class:"px-[10px]"},{default:i(()=>[o(m,{label:e(n)("pageName")},{default:i(()=>[o(d,{modelValue:e(l).global.title,"onUpdate:modelValue":t[0]||(t[0]=a=>e(l).global.title=a),modelModifiers:{trim:!0},placeholder:e(n)("pageNamePlaceholder"),clearable:"",maxlength:"12","show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),o(m,{label:e(n)("tabbar"),class:"display-block"},{default:i(()=>[o(w,{modelValue:e(l).global.bottomTabBarSwitch,"onUpdate:modelValue":t[1]||(t[1]=a=>e(l).global.bottomTabBarSwitch=a)},null,8,["modelValue"]),s("div",K,p(e(n)("tabbarSwitchTips")),1)]),_:1},8,["label"])]),_:1})])],512),[[h,e(l).editTab=="content"]]),c(s("div",L,[s("div",W,[s("h3",Z,p(e(n)("pageStyle")),1),o(_,{"label-width":"80px",class:"px-[10px]"},{default:i(()=>[o(m,{label:e(n)("pageBgColor")},{default:i(()=>[o(g,{modelValue:e(l).editComponent.pageStartBgColor,"onUpdate:modelValue":t[2]||(t[2]=a=>e(l).editComponent.pageStartBgColor=a),"show-alpha":"",predefine:e(l).predefineColors},null,8,["modelValue","predefine"]),o(S,{name:"iconfont-iconmap-connect",size:"20px",class:"block !text-gray-400 mx-[5px]"}),o(g,{modelValue:e(l).editComponent.pageEndBgColor,"onUpdate:modelValue":t[3]||(t[3]=a=>e(l).editComponent.pageEndBgColor=a),"show-alpha":"",predefine:e(l).predefineColors},null,8,["modelValue","predefine"])]),_:1},8,["label"]),o(m,{label:e(n)("bgGradientAngle")},{default:i(()=>[o(C,{modelValue:e(l).editComponent.pageGradientAngle,"onUpdate:modelValue":t[4]||(t[4]=a=>e(l).editComponent.pageGradientAngle=a)},{default:i(()=>[o(b,{label:"to bottom"},{default:i(()=>[f(p(e(n)("topToBottom")),1)]),_:1}),o(b,{label:"to right"},{default:i(()=>[f(p(e(n)("leftToRight")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"]),o(m,{label:e(n)("bgHeightScale")},{default:i(()=>[o(u,{modelValue:e(l).global.bgHeightScale,"onUpdate:modelValue":t[5]||(t[5]=a=>e(l).global.bgHeightScale=a),"show-input":"",size:"small",class:"ml-[10px] horz-blank-slider"},null,8,["modelValue"])]),_:1},8,["label"]),s("div",q,p(e(n)("bgHeightScaleTip")),1),o(m,{label:e(n)("bgUrl")},{default:i(()=>[o(y,{modelValue:e(l).global.bgUrl,"onUpdate:modelValue":t[6]||(t[6]=a=>e(l).global.bgUrl=a),limit:1},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),s("div",J,[s("h3",Q,p(e(n)("marginSet")),1),o(_,{"label-width":"80px",class:"px-[10px]"},{default:i(()=>[o(m,{label:e(n)("marginBoth")},{default:i(()=>[o(u,{modelValue:e(l).global.template.margin.both,"onUpdate:modelValue":t[7]||(t[7]=a=>e(l).global.template.margin.both=a),"show-input":"",size:"small",onInput:V,class:"ml-[10px] horz-blank-slider"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})])],512),[[h,e(l).editTab=="style"]])],64)}}}),ue=Object.freeze(Object.defineProperty({__proto__:null,default:X},Symbol.toStringTag,{value:"Module"}));export{ue as _};
|
||||||
1
niucloud/public/admin/assets/edit-rich-text-219c0829.js
Normal file
1
niucloud/public/admin/assets/edit-rich-text-219c0829.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-e1e9fcc0.js";import{d as _,N as a,h as p,c as u,y as r,z as i,u as o,a as s,t as h,e as f,b as y,F as b}from"./index-022827e1.js";import{u as g}from"./diy-5364da83.js";const v={class:"content-wrap"},S={class:"edit-attr-item-wrap"},w={class:"mb-[10px]"},x={class:"style-wrap"},C=_({__name:"edit-rich-text",setup(T,{expose:l}){const e=g();return e.editComponent.ignore=[],e.editComponent.verify=n=>{const t={code:!0,message:""};return e.value[n].html=="<p><br></p>"&&(t.code=!1,t.message=a("richTextPlaceholder")),t},l({}),(n,t)=>{const d=m;return p(),u(b,null,[r(s("div",v,[s("div",S,[s("h3",w,h(o(a)("richTextContentSet")),1),f(d,{modelValue:o(e).editComponent.html,"onUpdate:modelValue":t[0]||(t[0]=c=>o(e).editComponent.html=c),height:"600px",class:"editor-width"},null,8,["modelValue"])])],512),[[i,o(e).editTab=="content"]]),r(s("div",x,[y(n.$slots,"style")],512),[[i,o(e).editTab=="style"]])],64)}}}),N=Object.freeze(Object.defineProperty({__proto__:null,default:C},Symbol.toStringTag,{value:"Module"}));export{N as _};
|
||||||
1
niucloud/public/admin/assets/edit-role-c681428c.js
Normal file
1
niucloud/public/admin/assets/edit-role-c681428c.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./edit-role.vue_vue_type_script_setup_true_async_true_lang-521b6699.js";import"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */export{o as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as K,r as m,aE as L,s as J,aF as Z,n as z,q as Q,N as t,h as j,I as D,w as u,a as E,e as s,i as v,t as g,u as n,y as W,aG as X,aH as Y,aI as ee,aJ as le,Z as ae,_ as te,aK as oe,aL as se,aM as ne,E as re,aN as ue,as as ie,$ as ce,ad as de,a4 as me}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */const fe={class:"flex items-center justify-between w-11/12"},pe={class:"dialog-footer"},Re=K({__name:"edit-role",emits:["complete"],setup(_e,{expose:O,emit:F}){const _=m(!1),d=m(!1),b=m(!0);let k="";const p=m([]);L().then(l=>{p.value=l.data});const h=m(!1),y=m(!1),f=m(null);J(h,()=>{h.value?f.value.setCheckedNodes(Z(p.value)):f.value.setCheckedNodes([])});const U=X(l=>{o.rules=f.value.getCheckedKeys()}),A=()=>{b.value?(w(p.value),b.value=!1):(I(p.value),b.value=!0)},I=l=>{Object.keys(l).forEach(e=>{f.value.store.nodesMap[l[e].menu_key].expanded=!0,l[e].children&&l[e].children.length>0&&w(l[e].children)})},w=l=>{Object.keys(l).forEach(e=>{f.value.store.nodesMap[l[e].menu_key].expanded=!1,l[e].children&&l[e].children.length>0&&w(l[e].children)})},C={role_id:0,role_name:"",status:1,rules:[]},o=z({...C}),x=m(),S=Q(()=>({role_name:[{required:!0,message:t("roleNamePlaceholder"),trigger:"blur"}],rules:[{validator:(l,e,a)=>{e.length?a():a(new Error(t("rulesPlaceholder")))},trigger:"blur"}]})),B=async l=>{if(d.value||!l)return;const e=o.role_id?Y:ee;await l.validate(async a=>{if(a){d.value=!0;const i=Object.assign({},o);i.rules=i.rules.concat(f.value.getHalfCheckedKeys()),e(i).then(r=>{d.value=!1,_.value=!1,F("complete")}).catch(()=>{d.value=!1})}})},M=async(l=null)=>{if(d.value=!0,h.value=!1,Object.assign(o,C),k=t("addRole"),l){k=t("updateRole");const e=await(await le(l.role_id)).data;Object.keys(o).forEach(a=>{if(e[a]!=null)if(a=="rules"){e.rules;const i=[];Object.keys(e.rules).forEach(r=>{R(e.rules[r],p.value,i)}),o[a]=i}else o[a]=e[a]})}d.value=!1};function R(l,e,a){Object.keys(e).forEach(i=>{const r=e[i];r.menu_key==l?(!r.children||r.children.length==0)&&a.push(r.menu_key):r.children&&r.children.length>0&&R(l,r.children,a)})}return O({showDialog:_,setFormData:M}),(l,e)=>{const a=ae,i=te,r=oe,T=se,N=ne,V=re,$=ue,P=ie,q=ce,G=de,H=me;return j(),D(G,{modelValue:_.value,"onUpdate:modelValue":e[7]||(e[7]=c=>_.value=c),title:n(k),width:"500px","destroy-on-close":!0},{footer:u(()=>[E("span",pe,[s(V,{onClick:e[5]||(e[5]=c=>_.value=!1)},{default:u(()=>[v(g(n(t)("cancel")),1)]),_:1}),s(V,{type:"primary",loading:d.value,onClick:e[6]||(e[6]=c=>B(x.value))},{default:u(()=>[v(g(n(t)("confirm")),1)]),_:1},8,["loading"])])]),default:u(()=>[W((j(),D(q,{model:o,"label-width":"90px",ref_key:"formRef",ref:x,rules:n(S),class:"page-form"},{default:u(()=>[s(i,{label:n(t)("roleName"),prop:"role_name"},{default:u(()=>[s(a,{modelValue:o.role_name,"onUpdate:modelValue":e[0]||(e[0]=c=>o.role_name=c),placeholder:n(t)("roleNamePlaceholder"),clearable:"",disabled:o.uid,class:"input-width",maxlength:"10","show-word-limit":!0},null,8,["modelValue","placeholder","disabled"])]),_:1},8,["label"]),s(i,{label:n(t)("status")},{default:u(()=>[s(T,{modelValue:o.status,"onUpdate:modelValue":e[1]||(e[1]=c=>o.status=c)},{default:u(()=>[s(r,{label:1},{default:u(()=>[v(g(n(t)("startUsing")),1)]),_:1}),s(r,{label:0},{default:u(()=>[v(g(n(t)("statusDeactivate")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"]),s(i,{label:n(t)("permission"),prop:"rules"},{default:u(()=>[E("div",fe,[E("div",null,[s(N,{modelValue:h.value,"onUpdate:modelValue":e[2]||(e[2]=c=>h.value=c),label:n(t)("selectAll")},null,8,["modelValue","label"]),s(N,{modelValue:y.value,"onUpdate:modelValue":e[3]||(e[3]=c=>y.value=c),label:n(t)("checkStrictly")},null,8,["modelValue","label"])]),s(V,{link:"",type:"primary",onClick:e[4]||(e[4]=c=>A())},{default:u(()=>[v(g(n(t)("foldText")),1)]),_:1})]),s(P,{height:"35vh",class:"w-full"},{default:u(()=>[s($,{data:p.value,props:{label:"menu_name"},"default-checked-keys":o.rules,"check-strictly":y.value,"show-checkbox":"","default-expand-all":"",onCheckChange:n(U),"node-key":"menu_key",ref_key:"treeRef",ref:f},null,8,["data","default-checked-keys","check-strictly","onCheckChange"])]),_:1})]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[H,d.value]])]),_:1},8,["modelValue","title"])}}});export{Re as _};
|
||||||
1
niucloud/public/admin/assets/edit-rubik-cube-2d54070c.js
Normal file
1
niucloud/public/admin/assets/edit-rubik-cube-2d54070c.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/edit-site-52054763.js
Normal file
1
niucloud/public/admin/assets/edit-site-52054763.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./edit-site.vue_vue_type_script_setup_true_lang-940f40f2.js";import"./index-022827e1.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 *//* empty css */import"./member_head-a897263d.js";import"./site-4a266dcd.js";import"./user-89e255d5.js";import"./addon-fcc3cd20.js";export{o as default};
|
||||||
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/edit-text-16938226.js
Normal file
1
niucloud/public/admin/assets/edit-text-16938226.js
Normal file
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/edit-user-fa155a22.js
Normal file
1
niucloud/public/admin/assets/edit-user-fa155a22.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./edit-user.vue_vue_type_script_setup_true_lang-d92f8cb3.js";import"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./index-edd24909.js";/* empty css */import"./index.vue_vue_type_style_index_0_lang-3b291a1c.js";import"./attachment-b3c743b5.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-f0968e2c.js";/* empty css */import"./_plugin-vue_export-helper-c27b6911.js";/* empty css */import"./member_head-a897263d.js";import"./user-89e255d5.js";import"./site-4a266dcd.js";export{o as default};
|
||||||
File diff suppressed because one or more lines are too long
1
niucloud/public/admin/assets/edit-verify-da519bbf.js
Normal file
1
niucloud/public/admin/assets/edit-verify-da519bbf.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./edit-verify.vue_vue_type_script_setup_true_async_true_lang-f1e763c6.js";import"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */export{o as default};
|
||||||
@ -0,0 +1 @@
|
|||||||
|
import{d as N,r as p,q as R,N as t,h as d,I as _,w as i,a as $,e as r,i as b,t as c,u,c as x,F as g,aF as k,c$ as I,aV as j,_ as O,$ as S,E as T,ad as z}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */const A={class:"dialog-footer"},Y=N({__name:"edit-verify",emits:["complete"],setup(G,{expose:V,emit:y}){const m=p(!1),M=p(""),f={validate_type:"",min_number:1,max_number:120,betweenMin:1,betweenMax:120},l=p({...f}),v=p(),E=(o,e,a)=>{e?e>l.value.betweenMax?a(new Error(t("minPlaceholder1"))):a():a(new Error(t("minPlaceholder")))},h=(o,e,a)=>{e?e<l.value.betweenMin?a(new Error(t("maxPlaceholder1"))):a():a(new Error(t("maxPlaceholder")))},P=(o,e,a)=>{e>l.value.view_max?a(new Error(t("min1Placeholder1"))):a()},q=(o,e,a)=>{e?e<l.value.view_min?a(new Error(t("max1Placeholder1"))):a():a(new Error(t("max1Placeholder")))},D=R(()=>({min_number:[{required:!0,message:t("minPlaceholder"),trigger:"change"}],max_number:[{required:!0,message:t("maxPlaceholder"),trigger:"change"}],betweenMin:[{required:!0,validator:E,trigger:"change"}],betweenMax:[{required:!0,validator:h,trigger:"change"}],view_min:[{required:!0,validator:P,trigger:"change"}],view_max:[{required:!0,validator:q,trigger:"change"}]})),F=async o=>{o&&await o.validate(async e=>{e&&(y("complete",k(l.value)),m.value=!1)})},U=async(o=null)=>{l.value=I(Object.assign(f,o)),m.value=!0},L=o=>{var e;(e=v.value)==null||e.clearValidate(),o()};return V({showDialog:m,setFormData:U}),(o,e)=>{const a=j,s=O,B=S,w=T,C=z;return d(),_(C,{modelValue:m.value,"onUpdate:modelValue":e[8]||(e[8]=n=>m.value=n),title:M.value,width:"480px","before-close":L,"destroy-on-close":!0},{footer:i(()=>[$("span",A,[r(w,{onClick:e[6]||(e[6]=n=>m.value=!1)},{default:i(()=>[b(c(u(t)("cancel")),1)]),_:1}),r(w,{type:"primary",onClick:e[7]||(e[7]=n=>F(v.value))},{default:i(()=>[b(c(u(t)("confirm")),1)]),_:1})])]),default:i(()=>[r(B,{model:l.value,"label-width":"130px",ref_key:"formRef",ref:v,rules:u(D),class:"page-form"},{default:i(()=>[l.value.validate_type=="min"?(d(),_(s,{key:0,label:u(t)("minLabel"),prop:"min_number"},{default:i(()=>[r(a,{modelValue:l.value.min_number,"onUpdate:modelValue":e[0]||(e[0]=n=>l.value.min_number=n),step:1,"step-strictly":"",min:1,class:"input-width"},null,8,["modelValue"])]),_:1},8,["label"])):l.value.validate_type=="max"?(d(),_(s,{key:1,label:u(t)("maxLabel"),prop:"max_number"},{default:i(()=>[r(a,{modelValue:l.value.max_number,"onUpdate:modelValue":e[1]||(e[1]=n=>l.value.max_number=n),step:1,"step-strictly":"",min:1,class:"input-width"},null,8,["modelValue"])]),_:1},8,["label"])):l.value.view_type==="number"?(d(),x(g,{key:2},[r(s,{label:u(t)("minLabel1"),prop:"view_min"},{default:i(()=>[r(a,{modelValue:l.value.view_min,"onUpdate:modelValue":e[2]||(e[2]=n=>l.value.view_min=n),min:0,"value-on-clear":0,class:"input-width"},null,8,["modelValue"])]),_:1},8,["label"]),r(s,{label:u(t)("maxLabel1"),prop:"view_max"},{default:i(()=>[r(a,{modelValue:l.value.view_max,"onUpdate:modelValue":e[3]||(e[3]=n=>l.value.view_max=n),min:1,class:"input-width"},null,8,["modelValue"])]),_:1},8,["label"])],64)):(d(),x(g,{key:3},[r(s,{label:u(t)("minLabel"),prop:"betweenMin"},{default:i(()=>[r(a,{modelValue:l.value.betweenMin,"onUpdate:modelValue":e[4]||(e[4]=n=>l.value.betweenMin=n),step:1,"step-strictly":"",min:1,class:"input-width"},null,8,["modelValue"])]),_:1},8,["label"]),r(s,{label:u(t)("maxLabel"),prop:"betweenMax"},{default:i(()=>[r(a,{modelValue:l.value.betweenMax,"onUpdate:modelValue":e[5]||(e[5]=n=>l.value.betweenMax=n),step:1,"step-strictly":"",min:1,class:"input-width"},null,8,["modelValue"])]),_:1},8,["label"])],64))]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])}}});export{Y as _};
|
||||||
1
niucloud/public/admin/assets/edit-view-type-dcb3e3d8.js
Normal file
1
niucloud/public/admin/assets/edit-view-type-dcb3e3d8.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{_ as o}from"./edit-view-type.vue_vue_type_script_setup_true_async_true_lang-5e18095e.js";import"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./dict-9c57a378.js";import"./tools-1ceab74e.js";export{o as default};
|
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
import{d as P,r as c,n as F,q,N as l,h as v,I as y,w as n,a as B,e as d,i as b,t as V,u as t,y as C,Z as I,_ as N,$ as U,E as R,ad as $,a4 as j}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{e as O,a as L,g as S}from"./dict-9c57a378.js";const T={class:"dialog-footer"},W=P({__name:"edit",emits:["complete"],setup(Z,{expose:h,emit:D}){const m=c(!1),r=c(!1),p={id:"",name:"",key:"",memo:""},a=F({...p}),f=c(),k=q(()=>({name:[{required:!0,message:l("namePlaceholder"),trigger:"blur"}],key:[{required:!0,message:l("keyPlaceholder"),trigger:"blur"}],data:[{required:!0,message:l("dataPlaceholder"),trigger:"blur"}]})),w=async i=>{if(r.value||!i)return;const e=a.id?O:L;await i.validate(async o=>{o&&(r.value=!0,e(a).then(_=>{r.value=!1,m.value=!1,D("complete")}).catch(()=>{r.value=!1}))})};return h({showDialog:m,setFormData:async(i=null)=>{if(Object.assign(a,p),r.value=!0,i){const e=await(await S(i.id)).data;e&&Object.keys(a).forEach(o=>{e[o]!=null&&(a[o]=e[o])})}r.value=!1}}),(i,e)=>{const o=I,u=N,_=U,g=R,x=$,E=j;return v(),y(x,{modelValue:m.value,"onUpdate:modelValue":e[5]||(e[5]=s=>m.value=s),title:a.id?t(l)("updateDict"):t(l)("addDict"),width:"480",class:"diy-dialog-wrap","destroy-on-close":!0},{footer:n(()=>[B("span",T,[d(g,{onClick:e[3]||(e[3]=s=>m.value=!1)},{default:n(()=>[b(V(t(l)("cancel")),1)]),_:1}),d(g,{type:"primary",loading:r.value,onClick:e[4]||(e[4]=s=>w(f.value))},{default:n(()=>[b(V(t(l)("confirm")),1)]),_:1},8,["loading"])])]),default:n(()=>[C((v(),y(_,{model:a,"label-width":"120px",ref_key:"formRef",ref:f,rules:t(k),class:"page-form"},{default:n(()=>[d(u,{label:t(l)("name"),prop:"name"},{default:n(()=>[d(o,{modelValue:a.name,"onUpdate:modelValue":e[0]||(e[0]=s=>a.name=s),clearable:"",placeholder:t(l)("namePlaceholder"),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),d(u,{label:t(l)("key"),prop:"key"},{default:n(()=>[d(o,{modelValue:a.key,"onUpdate:modelValue":e[1]||(e[1]=s=>a.key=s),clearable:"",placeholder:t(l)("keyPlaceholder"),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),d(u,{label:t(l)("memo")},{default:n(()=>[d(o,{modelValue:a.memo,"onUpdate:modelValue":e[2]||(e[2]=s=>a.memo=s),type:"textarea",clearable:"",placeholder:t(l)("memoPlaceholder"),class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1},8,["model","rules"])),[[E,r.value]])]),_:1},8,["modelValue","title"])}}});export{W as _};
|
||||||
1
niucloud/public/admin/assets/edit_personal-3e761ae4.js
Normal file
1
niucloud/public/admin/assets/edit_personal-3e761ae4.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as V,f as N,n as E,r as f,y as F,h as U,c as k,a as i,t as p,u as l,N as r,e as a,w as s,i as v,_ as C,Z as B,$ as R,E as $,ac as j,a4 as D}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{_ as P}from"./index-edd24909.js";import{g as L,s as S}from"./personal-398bc429.js";import{_ as T}from"./_plugin-vue_export-helper-c27b6911.js";/* empty css */import"./index.vue_vue_type_style_index_0_lang-3b291a1c.js";/* empty css */import"./attachment-b3c743b5.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 *//* empty css */import"./index.vue_vue_type_script_setup_true_lang-f0968e2c.js";/* empty css */const Z={class:"main-container w-full pt-[64px] bg-white"},q={class:"flex justify-between items-center h-[32px] mb-4"},z={class:"text-page-title"},A={class:"flex justify-center mt-[50px]"},G=V({__name:"edit_personal",setup(H){const g=N(),t=E({head_img:"",real_name:"",username:""}),d=f(),o=f(!0);(()=>{o.value=!0,L().then(n=>{o.value=!1;const e=n.data;t.head_img=e.head_img,t.real_name=e.real_name,t.username=e.username}).catch(()=>{o.value=!1})})();const h=n=>{o.value||!n||n.validate(e=>{if(e)o.value=!0,S(t).then(u=>{o.value=!1}).catch(()=>{o.value=!1});else return!1})},b=()=>{g.push("/user/center")};return(n,e)=>{const u=P,_=C,x=B,y=R,c=$,w=j,I=D;return F((U(),k("div",Z,[i("div",q,[i("span",z,p(l(r)("editPersonal")),1)]),a(w,{class:"box-card !border-none",shadow:"never"},{default:s(()=>[a(y,{model:t,"label-width":"90px",ref_key:"formRef",ref:d,class:"page-form"},{default:s(()=>[a(_,{label:l(r)("headImg")},{default:s(()=>[a(u,{modelValue:t.head_img,"onUpdate:modelValue":e[0]||(e[0]=m=>t.head_img=m),limit:1},null,8,["modelValue"])]),_:1},8,["label"]),a(_,{label:l(r)("userName")},{default:s(()=>[i("span",null,p(t.username),1)]),_:1},8,["label"]),a(_,{label:l(r)("realName")},{default:s(()=>[a(x,{modelValue:t.real_name,"onUpdate:modelValue":e[1]||(e[1]=m=>t.real_name=m),placeholder:l(r)("realNamePlaceholder"),clearable:"",class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1},8,["model"]),i("div",A,[a(c,{type:"primary",onClick:e[2]||(e[2]=m=>h(d.value))},{default:s(()=>[v(p(l(r)("save")),1)]),_:1}),a(c,{type:"primary",onClick:e[3]||(e[3]=m=>b())},{default:s(()=>[v(p(l(r)("cancel")),1)]),_:1})])]),_:1})])),[[I,o.value]])}}});const we=T(G,[["__scopeId","data-v-70f58e1f"]]);export{we as default};
|
||||||
1
niucloud/public/admin/assets/el-radio-ee15435e.css
Normal file
1
niucloud/public/admin/assets/el-radio-ee15435e.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
@charset "UTF-8";.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary);color:var(--el-radio-text-color);font-weight:var(--el-radio-font-weight);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;outline:0;font-size:var(--el-font-size-base);-webkit-user-select:none;user-select:none;margin-right:32px;height:32px}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:var(--el-border-color-lighter)}.el-radio.is-bordered.el-radio--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{padding:0 11px 0 7px;border-radius:var(--el-border-radius-base)}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:var(--el-disabled-bg-color)}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:var(--el-color-primary);background:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);width:var(--el-radio-input-width);height:var(--el-radio-input-height);background-color:var(--el-radio-input-bg-color);position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{width:4px;height:4px;border-radius:var(--el-radio-input-border-radius);background-color:var(--el-color-white);content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.el-radio__original{opacity:0;outline:0;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio__original:focus-visible+.el-radio__inner{outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px;border-radius:var(--el-radio-input-border-radius)}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{width:14px;height:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{width:12px;height:12px}
|
||||||
1
niucloud/public/admin/assets/el-radio-group-cacb5b7d.css
Normal file
1
niucloud/public/admin/assets/el-radio-group-cacb5b7d.css
Normal file
@ -0,0 +1 @@
|
|||||||
|
.el-radio-group{display:inline-flex;align-items:center;flex-wrap:wrap;font-size:0}
|
||||||
1
niucloud/public/admin/assets/el-sub-menu-857319f5.js
Normal file
1
niucloud/public/admin/assets/el-sub-menu-857319f5.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
import{d as U,n as k,r as i,h as w,I as y,w as l,a as v,e as t,i as b,t as _,u as n,N as s,_ as E,Z as C,$ as F,E as M,ad as R,f as S}from"./index-022827e1.js";/* empty css *//* empty css *//* empty css *//* empty css */import{_ as $}from"./index-edd24909.js";import{g as D,s as j}from"./personal-398bc429.js";const P={class:"flex justify-end"},K=U({__name:"index",setup(T,{expose:V}){S();const a=k({}),f=i(),r=i(!0),u=i(!1),p=()=>{D().then(m=>{r.value=!1;const e=m.data;a.head_img=e.head_img,a.real_name=e.real_name,a.username=e.username})};p();const I=()=>{u.value=!0,p()},h=m=>{r.value||!m||m.validate(e=>{if(e)r.value=!0,j(a).then(c=>{r.value=!1,u.value=!1}).catch(()=>{r.value=!1});else return!1})};return V({open:I}),(m,e)=>{const c=$,d=E,x=C,N=F,g=M,B=R;return w(),y(B,{modelValue:u.value,"onUpdate:modelValue":e[4]||(e[4]=o=>u.value=o),title:n(s)("accountSettings"),width:"500"},{footer:l(()=>[v("div",P,[t(g,{type:"primary",onClick:e[2]||(e[2]=o=>h(f.value)),loading:r.value},{default:l(()=>[b(_(n(s)("save")),1)]),_:1},8,["loading"]),t(g,{onClick:e[3]||(e[3]=o=>u.value=!1)},{default:l(()=>[b(_(n(s)("cancel")),1)]),_:1})])]),default:l(()=>[t(N,{model:a,"label-width":"90px",ref_key:"formRef",ref:f,class:"page-form"},{default:l(()=>[t(d,{label:n(s)("headImg")},{default:l(()=>[t(c,{modelValue:a.head_img,"onUpdate:modelValue":e[0]||(e[0]=o=>a.head_img=o),limit:1},null,8,["modelValue"])]),_:1},8,["label"]),t(d,{label:n(s)("userName")},{default:l(()=>[v("span",null,_(a.username),1)]),_:1},8,["label"]),t(d,{label:n(s)("realName")},{default:l(()=>[t(x,{modelValue:a.real_name,"onUpdate:modelValue":e[1]||(e[1]=o=>a.real_name=o),placeholder:n(s)("realNamePlaceholder"),clearable:"",class:"input-width"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["modelValue","title"])}}});export{K as _};
|
||||||
1
niucloud/public/admin/assets/el-sub-menu-c6abfc6d.css
Normal file
1
niucloud/public/admin/assets/el-sub-menu-c6abfc6d.css
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user