mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-13 03:12:47 +00:00
2 lines
5.6 KiB
JavaScript
2 lines
5.6 KiB
JavaScript
import{d as j,r as b,o as S,V as B,e as I,f as T,g as t,B as a,u as e,y as s,x as o,i as q,D as w,A as v}from"./base-06478700.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./index-981b0207.js";/* empty css */import{a as N}from"./vue-router-d09a2c28.js";import{t as n}from"./index-81ed253c.js";import{d as z}from"./common-92a35870.js";import{g as F}from"./wechat-b2c05bef.js";import{a as R,E as D}from"./index-0d66b73c.js";import{E as M}from"./index-2fcd1254.js";import{E as $}from"./index-c2f001d3.js";import{a as P,E as Q}from"./index-da6a2951.js";import{E as U,a as W}from"./index-c17093ae.js";import{E as G}from"./index-543fb162.js";import{_ as H}from"./_plugin-vue_export-helper-c27b6911.js";import"./event-10eba222.js";import"./index-adb89d14.js";import"./el-main-9a0960e7.js";import"./index-6b67c4ac.js";import"./el-overlay-42a687c6.js";import"./index-9fe5de95.js";import"./focus-trap-3e826cdc.js";import"./index-f27d6ce0.js";import"./index-818c0ce2.js";import"./el-form-item-314d006d.js";/* empty css */import"./el-tooltip-58212670.js";import"./index-b52d0f2a.js";import"./index-b68e8463.js";import"./index-2a269c7c.js";import"./index-e4abfaa5.js";import"./index-9ee9102c.js";import"./strings-fe930bc4.js";import"./index-b6a184ba.js";import"./debounce-1db848fd.js";import"./position-c3bcd0be.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=j({__name:"access",setup(de){const d=N();let i=b("/website/channel/wechat"),c=b(2),m=b("");S(async()=>{let p=await F();m.value=p.data.qr_code});const y=p=>{window.open(p,"_blank")},k=p=>{d.push({path:i.value})};return(p,l)=>{const _=R,E=D,x=B("CircleCheckFilled"),f=M,u=$,h=P,C=Q,g=U,A=G,V=W;return I(),T("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=>q(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(V,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(z)(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};
|