mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-14 19:52:48 +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,aD as D,aE as F}from"./base-2de02574.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import"./index-4ca69875.js";/* empty css */import{a as R}from"./vue-router-834a68c8.js";import{t as n}from"./index-a7cd5616.js";import{c as q}from"./common-655c495e.js";import{g as M}from"./aliapp-186015d2.js";import{a as P,E as Q}from"./index-78eb4cbf.js";import{E as U}from"./index-53431221.js";import{E as $}from"./index-84eb3c18.js";import{a as G,E as H}from"./index-db9f292d.js";import{E as J,a as K}from"./index-6b1f8a1b.js";import{E as L}from"./index-afc66c39.js";import{_ as O}from"./_plugin-vue_export-helper-c27b6911.js";import"./index-29aaa146.js";import"./index-e049ae93.js";import"./el-main-e7ca7755.js";import"./index-907c8fa3.js";import"./el-overlay-c29a408e.js";import"./event-30fa88cc.js";import"./index-fa3f6669.js";import"./focus-trap-852901de.js";import"./index-a556d0d2.js";import"./index-53f4bde2.js";import"./el-form-item-aacba116.js";/* empty css *//* empty css */import"./index-99061637.js";import"./index-f34dc67c.js";import"./index-389593d1.js";import"./index-9c3282b5.js";import"./strings-258503d1.js";import"./index-17e30841.js";import"./debounce-b627eb85.js";import"./position-a4d7d9b3.js";const W=r=>(D("data-v-3fcb21b2"),r=r(),F(),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=R();let c=b("/website/channel/aliapp"),a=b(2),d=b("");I(async()=>{let i=await M();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=P,C=Q,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(q)(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};
|