multiStoreAdmin/dist/storePage/assets/protocol.f9f3c662.js

2 lines
3.4 KiB
JavaScript

import{_ as b}from"./index.235b3ee9.js";import{C as w,D as x,F as E,I as F,w as y}from"./element-plus.eb2e53ea.js";import{_ as B}from"./index.vue_vue_type_style_index_0_lang.7a8beb50.js";import{c as h,d as D}from"./website.5ff53807.js";import{d as g,r as A,am as C,o as _,c as k,a as i,W as o,O as e,u as r,P,M as U,T as I,V as N}from"./@vue.c3e77981.js";import"./index.01e2b43c.js";import"./@vueuse.a48d0173.js";import"./lodash.a2abcd4b.js";import"./axios.a8078129.js";import"./vue-router.995b143f.js";import"./pinia.b5130627.js";import"./css-color-function.975e80a5.js";import"./color.d986aa86.js";import"./clone.704d8332.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"./@element-plus.12c58ce2.js";import"./nprogress.ded7f805.js";import"./vue-clipboard3.987889a8.js";import"./clipboard.af74a91f.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b8b719e9.js";import"./lodash-es.2b5acb28.js";import"./dayjs.16ed1fda.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@wangeditor.db8cc219.js";import"./picker.ab71889a.js";import"./index.5bcc2e11.js";import"./index.f8e9a6a9.js";import"./index.vue_vue_type_script_setup_true_lang.f75f9565.js";import"./index.2135f40f.js";import"./index.2839ecd3.js";import"./index.vue_vue_type_script_setup_true_lang.3f1a76de.js";import"./usePaging.d25ebf19.js";import"./vue3-video-play.4813c60b.js";import"./vuedraggable.5825c4b1.js";import"./vue.74758107.js";import"./sortablejs.275d9d20.js";const T={class:"xl:flex"},G=i("span",{class:"font-medium"},"\u670D\u52A1\u534F\u8BAE",-1),M=i("span",{class:"font-medium"},"\u9690\u79C1\u534F\u8BAE",-1),Nt=g({__name:"protocol",setup(O){const t=A({service_title:"",service_content:"",privacy_title:"",privacy_content:""}),a=async()=>{t.value=await h()},d=async()=>{await D({...t.value}),a()};return a(),(W,m)=>{const n=w,p=x,s=E,u=B,c=F,f=y,v=b,V=C("perms");return _(),k(N,null,[i("div",T,[o(c,{class:"!border-none flex-1 xl:mr-4 mb-4",shadow:"never"},{header:e(()=>[G]),default:e(()=>[o(s,{model:r(t),"label-width":"80px"},{default:e(()=>[o(p,{label:"\u534F\u8BAE\u540D\u79F0"},{default:e(()=>[o(n,{modelValue:r(t).service_title,"onUpdate:modelValue":m[0]||(m[0]=l=>r(t).service_title=l)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),o(u,{class:"mb-10",modelValue:r(t).service_content,"onUpdate:modelValue":m[1]||(m[1]=l=>r(t).service_content=l),height:"500"},null,8,["modelValue"])]),_:1}),o(c,{class:"!border-none flex-1 mb-4",shadow:"never"},{header:e(()=>[M]),default:e(()=>[o(s,{model:r(t),"label-width":"80px"},{default:e(()=>[o(p,{label:"\u534F\u8BAE\u540D\u79F0"},{default:e(()=>[o(n,{modelValue:r(t).privacy_title,"onUpdate:modelValue":m[2]||(m[2]=l=>r(t).privacy_title=l)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),o(u,{class:"mb-10",modelValue:r(t).privacy_content,"onUpdate:modelValue":m[3]||(m[3]=l=>r(t).privacy_content=l),height:"500"},null,8,["modelValue"])]),_:1})]),P((_(),U(v,null,{default:e(()=>[o(f,{type:"primary",onClick:d},{default:e(()=>[I("\u4FDD\u5B58")]),_:1})]),_:1})),[[V,["setting.web.web_setting/setAgreement"]]])],64)}}});export{Nt as default};