moreShopAdmin/build/admin/assets/information.63c6d37d.js

2 lines
8.0 KiB
JavaScript
Raw Normal View History

2024-11-14 18:01:22 +08:00
import{_ as D}from"./index.1dbc01f8.js";import{C as w,D as V,L as c,F as x,w as j}from"./element-plus.91c68cc0.js";import{_ as q}from"./picker.5aaf90b3.js";import{a as U,b as k}from"./website.df4b96a3.js";import{u as y}from"./index.c425938f.js";import{d as _,r as O,Z as M,ap as P,o as g,c as L,U as e,L as r,a as i,u as l,M as G,K as I,R as N}from"./@vue.76ce7aa3.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.a1b5f040.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";import"./index.2e24cfc5.js";import"./index.vue_vue_type_script_setup_true_lang.863ae816.js";import"./index.6a26d4bf.js";import"./usePaging.f8c888e4.js";import"./vuedraggable.c04c7c0c.js";import"./vue.3299ef77.js";import"./sortablejs.c62bcaf8.js";import"./lodash.4e6d2a38.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./vue-router.10bd5b90.js";import"./pinia.f3529286.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8d65305c.js";const R={class:"website-information"},S={class:"w-80"},W={class:"w-80"},K={class:"w-80"},T={class:"w-80"},Z={class:"w-80"},z=_({name:"webInformation"}),Ru=_({...z,setup(H){const d=O(),f=y(),o=M({name:"",web_favicon:"",web_logo:"",login_image:"",h5_favicon:"",shop_name:"",shop_logo:"",pc_logo:"",pc_title:"",pc_desc:"",pc_ico:"",pc_keywords:""}),C={name:[{required:!0,message:"\u8BF7\u8F93\u5165\u7F51\u7AD9\u540D\u79F0",trigger:["blur"]}],web_favicon:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F51\u7AD9\u56FE\u6807",trigger:["change"]}],web_logo:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F51\u7AD9logo",trigger:["change"]}],login_image:[{required:!0,message:"\u8BF7\u9009\u62E9\u767B\u5F55\u9875\u5E7F\u544A\u56FE",trigger:["change"]}],shop_name:[{required:!0,message:"\u8BF7\u8F93\u5165\u5E97\u94FA/\u5546\u57CE\u540D\u79F0",trigger:["blur"]}],shop_logo:[{required:!0,message:"\u8BF7\u9009\u62E9\u5546\u57CELOGO",trigger:["change"]}],pc_logo:[{required:!0,message:"\u8BF7\u9009\u62E9PC\u7AEFLOGO",trigger:["change"]}],pc_title:[{required:!0,message:"\u8BF7\u8F93\u5165PC\u7AEF\u7F51\u7AD9\u6807\u9898",trigger:["blur"]}],pc_ico:[{required:!0,message:"\u8BF7\u9009\u62E9PC\u7AEF\u7F51\u7AD9\u56FE\u6807",trigger:["change"]}]},n=async()=>{const F=await U();for(const u in o)o[u]=F[u]},A=async()=>{var F;await((F=d.value)==null?void 0:F.validate()),await k(o),f.getConfig(),n()};return n(),(F,u)=>{const s=w,m=V,p=q,a=c,E=x,b=j,B=D,v=P("perms");return g(),L("div",R,[e(E,{ref_key:"formRef",ref:d,rules:C,class:"ls-form",model:l(o),"label-width":"120px"},{default:r(()=>[e(a,{shadow:"never",class:"!border-none"},{default:r(()=>[u[15]||(u[15]=i("div",{class:"text-xl font-medium mb-[20px]"},"\u540E\u53F0\u8BBE\u7F6E",-1)),e(m,{label:"\u7F51\u7AD9\u540D\u79F0",prop:"name"},{default:r(()=>[i("div",S,[e(s,{modelValue:l(o).name,"onUpdate:modelValue":u[0]||(u[0]=t=>l(o).name=t),modelModifiers:{trim:!0},placeholder:"\u8BF7\u8F93\u5165\u7F51\u7AD9\u540D\u79F0",maxlength:"30","show-word-limit":""},null,8,["modelValue"])])]),_:1}),e(m,{label:"\u7F51\u7AD9\u56FE\u6807",prop:"web_favicon",required:""},{default:r(()=>[i("div",null,[e(p,{modelValue:l(o).web_favicon,"onUpdate:modelValue":u[1]||(u[1]=t=>l(o).web_favicon=t),limit:1},null,8,["modelValue"]),u[12]||(u[12]=i("div",{class:"form-tips"},"\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A100*100\u50CF\u7D20\uFF0C\u652F\u6301jpg\uFF0Cjpeg\uFF0Cpng