mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-29 09:50:16 +00:00
2 lines
5.6 KiB
JavaScript
2 lines
5.6 KiB
JavaScript
/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./index-7eafba5f.js";/* empty css */import{a as S}from"./vue-router-48fdc1e3.js";import{t as n}from"./index-0ca94763.js";import{c as V}from"./common-c3be41fd.js";import{g as B}from"./wechat-c03caa2e.js";import{a as I,E as T}from"./index-24fb848e.js";import{E as q}from"./index-cf9a2dd7.js";import{E as N}from"./index-c5914bde.js";import{a as z,E as F}from"./index-ae64b65d.js";import{E as R,a as $}from"./index-a7e8e96f.js";import{E as D}from"./index-888853cf.js";import{d as M,r as b,o as P,$ as Q,e as U,f as W,g as t,B as a,u as e,y as s,x as o,i as G,D as w,A as v}from"./plugin-vue_export-helper-85a4d40b.js";import{_ as H}from"./_plugin-vue_export-helper-c27b6911.js";import"./index-bcd7a424.js";import"./index-e513479b.js";import"./el-main-86eb724f.js";import"./index-b9e5f5cb.js";import"./el-overlay-08181e74.js";import"./event-f85d77b0.js";import"./index-313cd2ce.js";import"./focus-trap-64c402c5.js";import"./index-1ad115d7.js";import"./index-de1d3b53.js";import"./el-form-item-1b16c9fc.js";import"./_baseClone-3dbf39d6.js";/* empty css *//* empty css */import"./index-d469ae66.js";import"./index-e27c3bb0.js";import"./index-4d8f36c6.js";import"./index-ebc73046.js";import"./strings-53351eda.js";import"./index-344f0086.js";import"./debounce-6c3123a6.js";import"./position-37364850.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=M({__name:"access",setup(de){const d=S();let i=b("/website/channel/wechat"),c=b(2),m=b("");P(async()=>{let p=await B();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=Q("CircleCheckFilled"),f=q,u=N,h=z,C=F,g=R,A=D,j=$;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 tt=H(me,[["__scopeId","data-v-19de375a"]]);export{tt as default};
|