import{P as s,e as a}from"./utils-lib.js?v=1761009159";import{_ as e}from"./index415.js?v=1761009159";import{ak as t,al as l}from"./config.js?v=1761009159";import{c as r,r as i,q as o,v as c,x as n,z as m,e as d,y as P,C as u,B as f}from"./base-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";const p={class:"flex flex-col p-[2rem]"},_={class:"flex justify-center py-[2rem] h-[19rem]"},x={class:"list-disc w-[50rem] pl-[1rem] text-secondary"},g=r({__name:"dyname-pwd-config",setup(r){const g=i(),y=async()=>{try{await s({loading:"正在获取二维码，请稍候...",request:l({act:1}),data:[String,g]})}catch(a){}};return o(async()=>{try{await s({loading:"正在获取密钥，请稍候...",request:t()}),y()}catch(a){}}),(s,t)=>{const l=e,r=a;return c(),n("div",p,[t[4]||(t[4]=m("div",{class:"text-medium"},"扫码绑定（使用宝塔面板APP或Google身份验证器APP扫码）",-1)),m("div",_,[d(l,{value:P(g),size:150},null,8,["value"])]),m("ul",x,[m("li",null,[t[1]||(t[1]=u(" 提示：请使用“ 宝塔面板APP或Google身份验证器APP ”绑定,各大软件商店均可下载该APP，支持安卓、IOS系统。 ",-1)),d(r,{href:"https://www.bt.cn/bbs/thread-47408-1-1.html",target:"_blank"},{default:f(()=>t[0]||(t[0]=[u(" 使用教程 ",-1)])),_:1,__:[0]})]),t[2]||(t[2]=m("li",{class:"text-[red]"},"开启服务后，请立即使用“宝塔面板APP或Google身份验证器APP”绑定，以免出现无法登录的情况。",-1)),t[3]||(t[3]=m("li",{class:"text-[red]"},"同一个IP验证成功后24小时内无需再次验证。",-1))])])}}});export{g as default};
