mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-06 04:58:10 +00:00
2 lines
2.3 KiB
JavaScript
2 lines
2.3 KiB
JavaScript
import{d as C,N as S,h as T,c as V,J as u,ac as f,u as e,a as n,b as c,e as o,w as t,k as a,i as y,t as s,F as E,ad as P,ae as F,G as k,H as z,Q as B,az as N,ax as $}from"./index-e05985b6.js";/* empty css */import"./el-tooltip-4ed993c7.js";/* empty css *//* empty css */import"./el-form-item-4ed993c7.js";/* empty css *//* empty css */import{u as D}from"./diy-17e91366.js";const O={class:"content-wrap"},Q={class:"flex items-center"},U={class:"mr-[3px]"},j={class:"text-sm text-gray-400"},G={class:"style-wrap"},I=C({__name:"edit-form-location",setup(R,{expose:h}){const l=D();return l.editComponent.ignore=["componentBgUrl"],l.editComponent.verify=i=>({code:!0,message:""}),h({}),(i,r)=>{const d=P,v=F,_=k,m=z,b=S("QuestionFilled"),x=B,g=N,w=$;return T(),V(E,null,[u(n("div",O,[c(i.$slots,"field"),o(m,{"label-width":"100px",class:"px-[10px]"},{default:t(()=>[o(_,{label:e(a)("access")},{default:t(()=>[o(v,{modelValue:e(l).editComponent.mode,"onUpdate:modelValue":r[0]||(r[0]=p=>e(l).editComponent.mode=p)},{default:t(()=>[o(d,{class:"!mr-[20px]",label:"authorized_wechat_location"},{default:t(()=>[y(s(e(a)("authorizeWeChatLocation")),1)]),_:1}),o(d,{label:"open_choose_location"},{default:t(()=>[y(s(e(a)("manuallySelectPositioning")),1)]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1}),c(i.$slots,"other"),o(m,{"label-width":"100px",class:"px-[10px]"},{default:t(()=>[o(_,{class:"display-block"},{label:t(()=>[n("div",Q,[n("span",U,s(e(a)("privacyProtection")),1),o(g,{effect:"light",placement:"top"},{content:t(()=>[n("p",null,s(e(a)("privacyProtectionTipsOne")),1),n("p",null,s(e(a)("privacyProtectionTipsTwo")),1)]),default:t(()=>[o(x,null,{default:t(()=>[o(b,{color:"#999999"})]),_:1})]),_:1})])]),default:t(()=>[o(w,{modelValue:e(l).editComponent.field.privacyProtection,"onUpdate:modelValue":r[1]||(r[1]=p=>e(l).editComponent.field.privacyProtection=p)},null,8,["modelValue"]),n("div",j,s(e(a)("privacyProtectionTipsFour")),1)]),_:1})]),_:1})],512),[[f,e(l).editTab=="content"]]),u(n("div",G,[c(i.$slots,"style-field"),c(i.$slots,"style")],512),[[f,e(l).editTab=="style"]])],64)}}}),Y=Object.freeze(Object.defineProperty({__proto__:null,default:I},Symbol.toStringTag,{value:"Module"}));export{Y as _};
|