mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-31 10:38:13 +00:00
2 lines
5.9 KiB
JavaScript
2 lines
5.9 KiB
JavaScript
import{d as j,r as b,o as I,V as B,e as z,f as N,g as t,B as l,u as o,y as s,x as e,i as T,D as u,A as g,aP as F,aQ as R}from"./base-06478700.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./index-6b4020a9.js";/* empty css */import{a as q}from"./vue-router-d09a2c28.js";import{t as n}from"./index-7ea27073.js";import{d as D}from"./common-92a35870.js";import{g as P}from"./aliapp-7c378cec.js";import{a as Q,E as M}from"./index-0d66b73c.js";import{E as U}from"./index-2fcd1254.js";import{E as $}from"./index-c2f001d3.js";import{a as G,E as H}from"./index-da6a2951.js";import{E as J,a as K}from"./index-c17093ae.js";import{E as L}from"./index-543fb162.js";import{_ as O}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 W=r=>(F("data-v-3fcb21b2"),r=r(),R(),r),X={class:"w-full p-5 bg-white"},Y={class:"flex justify-between items-center mb-[20px]"},Z={class:"text-[20px]"},ee={class:"p-[20px]"},te={class:"text-[16px] mb-[20px]"},oe={class:"text-[14px] text-[#303133] font-[700]"},se={class:"text-[#999]"},ne={class:"mt-[20px] mb-[40px] h-[32px]"},le={class:"text-[14px] text-[#303133] font-[700]"},ae={class:"text-[#999]"},pe={class:"mt-[20px] mb-[40px] h-[32px]"},ce={class:"text-[14px] text-[#303133] font-[700]"},ie={class:"text-[#999]"},re=W(()=>t("div",{class:"mt-[20px] mb-[40px] h-[32px]"},null,-1)),de={class:"text-[14px] text-[#303133] font-[700]"},me={class:"text-[#999]"},_e={class:"flex justify-center"},xe={class:"w-[100%] h-[100%] flex items-center justify-center bg-[#f5f7fa]"},fe={class:"mt-[22px] text-center"},ue={class:"text-[14px] text-[#303133] font-[700]"},be=j({__name:"access",setup(r){const h=q();let c=b("/website/channel/aliapp"),a=b(2),d=b("");I(async()=>{let i=await P();d.value=i.data.qr_code});const y=i=>{window.open(i,"_blank")},k=i=>{h.push({path:c.value})};return(i,p)=>{const E=Q,C=M,m=B("CircleCheckFilled"),_=U,v=$,x=G,S=H,w=J,A=L,V=K;return z(),N("div",X,[t("div",Y,[t("span",Z,l(o(n)("title")),1)]),s(C,{modelValue:o(c),"onUpdate:modelValue":p[0]||(p[0]=f=>T(c)?c.value=f:c=f),class:"demo-tabs",onTabChange:k},{default:e(()=>[s(E,{label:o(n)("weappAccessFlow"),name:"/website/channel/aliapp"},null,8,["label"])]),_:1},8,["modelValue"]),t("div",ee,[t("p",te,l(o(n)("weappInlet")),1),s(V,null,{default:e(()=>[s(w,{span:20},{default:e(()=>[s(S,{direction:"vertical"},{default:e(()=>[s(x,null,u({title:e(()=>[t("p",oe,l(o(n)("weappAttestation")),1)]),description:e(()=>[t("span",se,l(o(n)("weappAttest")),1),t("div",ne,[s(v,{type:"primary",onClick:p[1]||(p[1]=f=>y("https://open.alipay.com/develop/manage"))},{default:e(()=>[g(l(o(n)("clickAccess")),1)]),_:1})])]),_:2},[o(a)>1?{name:"icon",fn:e(()=>[s(_,{size:"25px",class:"text-color"},{default:e(()=>[s(m)]),_:1})]),key:"0"}:o(a)==1?{name:"icon",fn:e(()=>[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:e(()=>[t("div",{class:"w-[24px] h-[24px] text-[#fff] bg-[#778aa3] text-center leading-[24px] rounded-full"},"1")]),key:"2"}]),1024),s(x,null,u({title:e(()=>[t("p",le,l(o(n)("weappSetting")),1)]),description:e(()=>[t("span",ae,l(o(n)("emplace")),1),t("div",pe,[s(v,{type:"primary",plain:"",onClick:p[2]||(p[2]=f=>o(h).push("/website/channel/aliapp/config"))},{default:e(()=>[g(l(o(n)("weappSettingBtn")),1)]),_:1})])]),_:2},[o(a)>2?{name:"icon",fn:e(()=>[s(_,{size:"25px"},{default:e(()=>[s(m)]),_:1})]),key:"0"}:o(a)==2?{name:"icon",fn:e(()=>[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:e(()=>[t("div",{class:"w-[24px] h-[24px] text-[#fff] bg-[#778aa3] text-center leading-[24px] rounded-full"},"2")]),key:"2"}]),1024),s(x,null,u({title:e(()=>[t("p",ce,l(o(n)("uploadVersion")),1)]),description:e(()=>[t("span",ie,l(o(n)("releaseCourse")),1),re]),_:2},[o(a)>3?{name:"icon",fn:e(()=>[s(_,{size:"25px"},{default:e(()=>[s(m)]),_:1})]),key:"0"}:o(a)==3?{name:"icon",fn:e(()=>[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:e(()=>[t("div",{class:"w-[24px] h-[24px] text-[#fff] bg-[#778aa3] text-center leading-[24px] rounded-full"},"3")]),key:"2"}]),1024),s(x,null,u({title:e(()=>[t("p",de,l(o(n)("completeAccess")),1)]),description:e(()=>[t("span",me,l(o(n)("releaseCourse")),1)]),_:2},[o(a)>4?{name:"icon",fn:e(()=>[s(_,{size:"25px"},{default:e(()=>[s(m)]),_:1})]),key:"0"}:o(a)==4?{name:"icon",fn:e(()=>[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:e(()=>[t("div",{class:"w-[24px] h-[24px] text-[#fff] bg-[#778aa3] text-center leading-[24px] rounded-full"},"4")]),key:"2"}]),1024)]),_:1})]),_:1}),s(w,{span:4},{default:e(()=>[t("div",_e,[s(A,{class:"w-[180px] h-[180px]",src:o(d)?o(D)(o(d)):""},{error:e(()=>[t("div",xe,[t("span",null,l(o(d)?o(n)("fileErr"):o(n)("emptyQrCode")),1)])]),_:1},8,["src"])]),t("div",fe,[t("p",ue,l(o(n)("clickAccess2")),1)])]),_:1})]),_:1})])])}}});const nt=O(be,[["__scopeId","data-v-3fcb21b2"]]);export{nt as default};
|