2024-06-18 17:27:08 +08:00
|
|
|
import{G as S,H as j,t as N,I as $,C as z,D as O,w as R,F as G}from"./element-plus.61695454.js";import{_ as T}from"./index.1a8143d4.js";import{f as g,b as H,d as M}from"./index.af712015.js";import{_ as W}from"./picker.dcf9472a.js";import{_ as q}from"./picker.bff2db44.js";import{D as J}from"./vuedraggable.5825c4b1.js";import{d as K,o as s,M as c,O as e,W as t,T as p,a as o,u as L,c as C,V as P,S as x,bk as Q,bj as X}from"./@vue.c3e77981.js";import"./@vueuse.a48d0173.js";import"./@element-plus.12c58ce2.js";import"./lodash-es.2b5acb28.js";import"./dayjs.16ed1fda.js";import"./axios.a8078129.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"./lodash.a2abcd4b.js";import"./vue-router.43c06794.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"./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"./index.vue_vue_type_script_setup_true_lang.33ea11c1.js";import"./usePaging.d25ebf19.js";import"./article.b0467f59.js";import"./index.3029b09f.js";import"./index.81cd926a.js";import"./index.475d85aa.js";import"./index.vue_vue_type_script_setup_true_lang.09ad5ba8.js";import"./vue3-video-play.4813c60b.js";import"./vue.74758107.js";import"./sortablejs.275d9d20.js";const m=l=>(Q("data-v-46451ec5"),l=l(),X(),l),Y=m(()=>o("div",{class:"flex items-end mb-4"},[o("div",{class:"text-base text-[#101010] font-medium"},"\u5C55\u793A\u6837\u5F0F")],-1)),Z=m(()=>o("div",{class:"flex items-end mb-4"},[o("div",{class:"text-base text-[#101010] font-medium"},"\u80CC\u666F\u8054\u52A8")],-1)),ee=m(()=>o("div",{class:"p-[15px] rounded-[8px] bg-[#f3f8ff] text-[#136bdf] mt-2"}," \u5F00\u542F\u80CC\u666F\u8054\u52A8\u540E\uFF0C\u9700\u4E3A\u8F6E\u64AD\u56FE\u8BBE\u7F6E\u80CC\u666F\u56FE\uFF0C\u8F6E\u64AD\u56FE\u5207\u6362\u65F6\uFF0C\u80CC\u666F\u56FE\u4E5F\u8DDF\u968F\u5207\u6362\uFF0C\u6B64\u65F6\u8BE5\u9875\u9762\u81EA\u8EAB\u7684\u201C\u9875\u9762\u80CC\u666F\u201C\u8BBE\u7F6E\u5C06\u5931\u6548\u3002 ",-1)),te=m(()=>o("div",{class:"flex items-end"},[o("div",{class:"text-base text-[#101010] font-medium"},"\u8F6E\u64AD\u56FE\u7247"),o("div",{class:"text-xs text-tx-secondary ml-2"}," \u6700\u591A\u6DFB\u52A05\u5F20\uFF0C\u5EFA\u8BAE\u56FE\u7247\u5C3A\u5BF8\uFF1A750px*340px ")],-1)),oe={class:"flex-1"},le={class:"bg-fill-light w-full p-4 mt-4"},ue={class:"flex justify-center w-[396px]"},ae=m(()=>o("div",{class:"w-[122px] h-[122px] banner-upload-btn"}," \u8F6E\u64AD\u56FE ",-1)),ne=m(()=>o("div",{class:"w-[122px] h-[122px] banner-upload-btn"}," \u80CC\u666F\u56FE ",-1)),se={class:"flex-1"},de={class:"flex-1 flex items-center"},me={class:"drag-move cursor-move ml-auto"},ie={key:0,class:"mt-4"},E=5,ce=K({__name:"attr",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})},type:{type:String,default:"mobile"}},setup(l){const r=l,v=()=>{var i;((i=r.content.data)==null?void 0:i.length)<E?r.content.data.push({is_show:"1",image:"",name:"",link:{}}):g.msgError(`\u6700\u591A\u6DFB\u52A0${E}\u5F20\u56FE\u7247`)},y=i=>{var n;if(((n=r.content.data)==null?void 0:n.length)<=1)return g.msgError("\u6700\u5C11\u4FDD\u7559\u4E00\u5F20\u56FE\u7247");r.content.data.splice(i,1)};return(i,n)=>{const _=S,b=j,F=$,f=q,A=W,k=z,V=O,w=N,B=H,D=T,U=R,I=G;return s(),c(I,{"label-width":"70px"},{default:e(()=>[t(F,{shadow:"never",class:"!border-none flex mt-2"},{default:e(()=>[Y,t(b,{modelValue:l.content.style,"onUpdate:modelValue":n[0]||(n[0]=d=>l.content.style=d)},{default:e(()=>[t(_,{label:1},{default:e(()=>[p("\u5E38\u89C4")]),_:1}),t(_,{label:2},{default:e(()=>[p("\u5927\u5C4F")]),
|