mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-12 19:02:49 +00:00
2 lines
5.6 KiB
JavaScript
2 lines
5.6 KiB
JavaScript
import"./base-0e92f4db.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./index-fac59425.js";/* empty css */import{a as S}from"./vue-router-8b032575.js";import{t as n}from"./index-2d1c7ba3.js";import{c as V}from"./common-46715e7e.js";import{g as q}from"./wechat-78918035.js";import{a as I,E as T}from"./index-8ef7dff7.js";import{E as z}from"./index-72686045.js";import{E as B}from"./index-e09a20f5.js";import{a as N,E as F}from"./index-f4fd3a6d.js";import{E as R,a as M}from"./index-d23c70b3.js";import{E as Q}from"./index-2b1dc445.js";import{d as $,r as b,o as D,Q as P,b as U,e as W,f as t,x as a,u as e,q as s,p as o,i as G,z as w,v}from"./runtime-core.esm-bundler-67034826.js";import{_ as H}from"./_plugin-vue_export-helper-c27b6911.js";import"./event-a537c4cb.js";import"./index-81f2aa1e.js";import"./el-main-7a89c415.js";import"./index-ebd2990f.js";import"./el-overlay-3eff2fc5.js";import"./index-defed8ff.js";import"./focus-trap-83769a43.js";import"./index-6cae7119.js";import"./index-d87ae4a2.js";import"./el-form-item-c2dd2ffe.js";/* empty css *//* empty css */import"./index-e9d9b1a1.js";import"./index-8cefa3ab.js";import"./index-ef31373f.js";import"./index-de22cd40.js";import"./strings-1130dd70.js";import"./index-c7745eb3.js";import"./debounce-f6ba9d12.js";import"./position-c2e84b2a.js";const J={class:"w-full p-5 bg-white"},K={class:"flex justify-between items-center mb-[20px]"},L={class:"text-[20px]"},O={class:"p-[20px]"},X={class:"text-[16px] mb-[20px]"},Y={class:"text-[14px] text-[#303133] font-[700]"},Z={class:"text-[#999]"},ee={class:"mt-[20px] mb-[40px] h-[32px]"},te={class:"text-[14px] text-[#303133] font-[700]"},oe={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]"},ce={class:"flex justify-center"},ie={class:"w-[100%] h-[100%] flex items-center justify-center bg-[#f5f7fa]"},pe={class:"mt-[22px] text-center"},re={class:"text-[14px] text-[#303133] font-[700]"},me=$({__name:"access",setup(de){const d=S();let i=b("/website/channel/wechat"),c=b(2),m=b("");D(async()=>{let p=await q();m.value=p.data.qr_code});const y=p=>{window.open(p,"_blank")},k=p=>{d.push({path:i.value})};return(p,l)=>{const _=I,E=T,x=P("CircleCheckFilled"),f=z,u=B,h=N,C=F,g=R,A=Q,j=M;return U(),W("div",J,[t("div",K,[t("span",L,a(e(n)("title")),1)]),s(E,{modelValue:e(i),"onUpdate:modelValue":l[0]||(l[0]=r=>G(i)?i.value=r:i=r),class:"demo-tabs",onTabChange:k},{default:o(()=>[s(_,{label:e(n)("wechatAccessFlow"),name:"/website/channel/wechat"},null,8,["label"]),s(_,{label:e(n)("customMenu"),name:"/website/channel/wechat/menu"},null,8,["label"]),s(_,{label:e(n)("wechatTemplate"),name:"/website/channel/wechat/message"},null,8,["label"])]),_:1},8,["modelValue"]),t("div",O,[t("p",X,a(e(n)("wechatInlet")),1),s(j,null,{default:o(()=>[s(g,{span:20},{default:o(()=>[s(C,{direction:"vertical"},{default:o(()=>[s(h,null,w({title:o(()=>[t("p",Y,a(e(n)("wechatAttestation")),1)]),description:o(()=>[t("span",Z,a(e(n)("wechatAttestation1")),1),t("div",ee,[s(u,{type:"primary",onClick:l[1]||(l[1]=r=>y("https://mp.weixin.qq.com/"))},{default:o(()=>[v(a(e(n)("clickAccess")),1)]),_:1})])]),_:2},[e(c)>1?{name:"icon",fn:o(()=>[s(f,{size:"25px",class:"text-color"},{default:o(()=>[s(x)]),_:1})]),key:"0"}:e(c)==1?{name:"icon",fn:o(()=>[t("div",{class:"w-[24px] h-[24px] box-border rounded-full bg-color1 flex items-center justify-center"},[t("div",{class:"h-[12px] w-[12px] bg-color rounded-full"})])]),key:"1"}:{name:"icon",fn:o(()=>[t("div",{class:"w-[24px] h-[24px] text-[#fff] bg-[#778aa3] text-center leading-[24px] rounded-full"},"1")]),key:"2"}]),1024),s(h,null,w({title:o(()=>[t("p",te,a(e(n)("wechatSetting")),1)]),description:o(()=>[t("span",oe,a(e(n)("wechatSetting1")),1),t("div",se,[s(u,{type:"primary",plain:"",onClick:l[2]||(l[2]=r=>e(d).push("/website/channel/wechat/config"))},{default:o(()=>[v(a(e(n)("settingInfo")),1)]),_:1})])]),_:2},[e(c)>2?{name:"icon",fn:o(()=>[s(f,{size:"25px"},{default:o(()=>[s(x)]),_:1})]),key:"0"}:e(c)==2?{name:"icon",fn:o(()=>[t("div",{class:"w-[24px] h-[24px] box-border rounded-full bg-color1 flex items-center justify-center"},[t("div",{class:"h-[12px] w-[12px] bg-color rounded-full"})])]),key:"1"}:{name:"icon",fn:o(()=>[t("div",{class:"w-[24px] h-[24px] text-[#fff] bg-[#778aa3] text-center leading-[24px] rounded-full"},"2")]),key:"2"}]),1024),s(h,null,w({title:o(()=>[t("p",ne,a(e(n)("wechatAccess")),1)]),description:o(()=>[t("span",ae,a(e(n)("wechatAccess")),1),t("div",le,[s(u,{type:"primary",plain:"",onClick:l[3]||(l[3]=r=>e(d).push("/website/channel/wechat/course"))},{default:o(()=>[v(a(e(n)("releaseCourse")),1)]),_:1})])]),_:2},[e(c)>3?{name:"icon",fn:o(()=>[s(f,{size:"25px"},{default:o(()=>[s(x)]),_:1})]),key:"0"}:e(c)==3?{name:"icon",fn:o(()=>[t("div",{class:"w-[24px] h-[24px] box-border rounded-full bg-color1 flex items-center justify-center"},[t("div",{class:"h-[12px] w-[12px] bg-color rounded-full"})])]),key:"1"}:{name:"icon",fn:o(()=>[t("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:o(()=>[t("div",ce,[s(A,{class:"w-[180px] h-[180px]",src:e(m)?e(V)(e(m)):""},{error:o(()=>[t("div",ie,[t("span",null,a(e(m)?e(n)("fileErr"):e(n)("emptyQrCode")),1)])]),_:1},8,["src"])]),t("div",pe,[t("p",re,a(e(n)("clickAccess2")),1)])]),_:1})]),_:1})])])}}});const Ze=H(me,[["__scopeId","data-v-19de375a"]]);export{Ze as default};
|