← Back
Editing: tencent-bind-user-legacy.js
!function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?t(Object(o),!0).forEach((function(t){n(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function n(t,r,n){return(r=function(t){var r=function(t,r){if("object"!=e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,r||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==e(r)?r:r+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return r};var t,r={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},l="function"==typeof Symbol?Symbol:{},c=l.iterator||"@@iterator",u=l.asyncIterator||"@@asyncIterator",s=l.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof w?t:w,a=Object.create(o.prototype),l=new I(n||[]);return i(a,"_invoke",{value:L(e,r,l)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}r.wrap=d;var v="suspendedStart",m="suspendedYield",h="executing",y="completed",g={};function w(){}function b(){}function x(){}var k={};f(k,c,(function(){return this}));var _=Object.getPrototypeOf,j=_&&_(_(C([])));j&&j!==n&&a.call(j,c)&&(k=j);var D=x.prototype=w.prototype=Object.create(k);function E(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function O(t,r){function n(o,i,l,c){var u=p(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==e(f)&&a.call(f,"__await")?r.resolve(f.__await).then((function(e){n("next",e,l,c)}),(function(e){n("throw",e,l,c)})):r.resolve(f).then((function(e){s.value=e,l(s)}),(function(e){return n("throw",e,l,c)}))}c(u.arg)}var o;i(this,"_invoke",{value:function(e,t){function a(){return new r((function(r,o){n(e,t,r,o)}))}return o=o?o.then(a,a):a()}})}function L(e,r,n){var o=v;return function(a,i){if(o===h)throw Error("Generator is already running");if(o===y){if("throw"===a)throw i;return{value:t,done:!0}}for(n.method=a,n.arg=i;;){var l=n.delegate;if(l){var c=S(l,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===v)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var u=p(e,r,n);if("normal"===u.type){if(o=n.done?y:m,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function S(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=p(o,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function V(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(V,this),this.reset(!0)}function C(r){if(r||""===r){var n=r[c];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,i=function e(){for(;++o<r.length;)if(a.call(r,o))return e.value=r[o],e.done=!1,e;return e.value=t,e.done=!0,e};return i.next=i}}throw new TypeError(e(r)+" is not iterable")}return b.prototype=x,i(D,"constructor",{value:x,configurable:!0}),i(x,"constructor",{value:b,configurable:!0}),b.displayName=f(x,s,"GeneratorFunction"),r.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,f(e,s,"GeneratorFunction")),e.prototype=Object.create(D),e},r.awrap=function(e){return{__await:e}},E(O.prototype),f(O.prototype,u,(function(){return this})),r.AsyncIterator=O,r.async=function(e,t,n,o,a){void 0===a&&(a=Promise);var i=new O(d(e,t,n,o),a);return r.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(D),f(D,s,"Generator"),f(D,c,(function(){return this})),f(D,"toString",(function(){return"[object Generator]"})),r.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=C,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return l.type="throw",l.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},r}function a(e,t,r,n,o,a,i){try{var l=e[a](i),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(n,o)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function l(e){a(i,n,o,l,c,"next",e)}function c(e){a(i,n,o,l,c,"throw",e)}l(void 0)}))}}System.register(["./base-lib-legacy.js?v=VERSION_NUMBER","./index-legacy104.js?v=VERSION_NUMBER","./utils-lib-legacy.js?v=VERSION_NUMBER","./bt_logo_new-legacy.js?v=VERSION_NUMBER","./useController-legacy.js?v=VERSION_NUMBER","./__commonjsHelpers__-legacy.js?v=VERSION_NUMBER"],(function(e,t){"use strict";var n,a,l,c,u,s,f,d,p,v,m,h,y,g,w,b,x,k,_,j,D,E,O,L,S,V,P,I,C,N,T,z,q,M,G,H;return{setters:[function(e){n=e.c,a=e.r,l=e.k,c=e.p,u=e.q,s=e.M,f=e.A,d=e.H,p=e.I,v=e.x,m=e.y,h=e.e,y=e.z,g=e.J,w=e.O,b=e.v,x=e.B,k=e.C,_=e.K,j=e.ax,D=e.a9,E=e.S,O=e.D,L=e.a$,S=e.a7},function(e){V=e._},function(e){P=e.M,I=e.br,C=e.bn,N=e.t,T=e.c,z=e.bs,q=e.e},function(e){M=e._},function(e){G=e.b,H=e.f},null],execute:function(){var t={class:"flex !justify-center !w-full items-center"},U={class:"text-[2rem] text-dark inline-block mr-2 font-bold mt-12x"},B={key:0,class:"absolute el-form-item__error"},F={class:"flex justify-end items-centertext-[1.2rem] mt-[1rem]"},K={key:0,class:"view-con",style:{background:"#fff"}},A={class:"w-full mt-[1.5rem]"},J={class:"w-full mt-[1.5rem]"},Y={class:"w-[100%] mt-[1.2rem] flex items-center justify-center text-[#20a53a]",size:"default"},$={key:3,class:"flex justify-end items-centertext-[1.2rem] mt-[1rem] h-[1.68rem]"},R={key:0},X={class:"more-bind"},Q=n({__name:"tencent-bind-user",props:{compData:{default:function(){return{}}}},setup:function(e,n){var q=n.expose,Q=e,W=a(!1),Z=a("获取验证码"),ee=l({username:"",password:"",code:""}),te=l({username:!1,password:!1,code:!1}),re=a(""),ne=a(0),oe=a(),ae=a(!1),ie=a(Q.compData.authData),le=a(1),ce=l({order:"",uin:""}),ue=a({username:[{validator:function(e,t,r){var n;if(null!==(n=Q.compData)&&void 0!==n&&n.title&&(ae.value=!1),/^1[3456789]\d{9}$/.test(t))r();else if(""===t)r(new Error("请输入宝塔官网账号"));else{var o;if(null!==(o=Q.compData)&&void 0!==o&&o.title)return ae.value=!0,void r(new Error(" "));r(new Error("请输入正确的手机号"))}},trigger:["blur","change"]}],password:[{required:!0,message:"请输入密码",trigger:["blur","change"]},{validator:function(e,t,r){t.length>=8?r():r(new Error("请输入至少8位密码"))},trigger:["blur","change"]}],token:[{required:!1,message:"请输入验证码",trigger:["blur","change"]},{validator:function(e,t,r){W.value||r(),6===t.length?r():r(new Error("请输入6位验证码,不可为空"))},trigger:["blur","change"]}]}),se=function(){oe.value.validate(function(){var e=i(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t&&G({isCheck:W,userInfo:ee,userToken:re});case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},fe=function(e){ne.value&&clearInterval(ne.value);var t=function(){if(--e<=0)return clearInterval(ne.value),Z.value="获取验证码",void(te.code=!1);Z.value="重新获取验证码(".concat(e,"s)")};t(),ne.value=setInterval(t,1e3),te.code=!0},de=a(3),pe=null,ve=null,me=function(){var e=i(o().mark((function e(t){var n,a,i,l,c;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=JSON.parse(t.data),e.prev=1,a=P.load("正在绑定中......"),e.next=5,I(r(r({},n),{},{client:1}));case 5:i=e.sent,(l=i.data).success||l.status?(window.removeEventListener("message",he),H(Q.compData.redirect)):(a.close(),P.error(l.res||String(l.msg)),ve.parent.postMessage({msg:l.res||l.msg,success:!1},"*")),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),null===(c=a)||void 0===c||c.close();case 13:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(t){return e.apply(this,arguments)}}(),he=function(e){"string"==typeof e.data&&JSON.parse(e.data).code&&me(e)},ye=function(){var e=i(o().mark((function e(){var t,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!ce.order){e.next=8;break}return t={client:1,order_no:ce.order,uin:ce.uin},e.next=4,z(t);case 4:(r=e.sent).status&&(r.data.success||r.data.status)?ge(r.data.data||r.data.res):P.error(r.data.res||r.data.msg||r.data.data),e.next=9;break;case 8:ce.uin?P.error("请输入订单号"):P.error("请输入腾讯云账号ID");case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ge=function(e){var t=(window.screen.width-600)/2,r=(window.screen.height-800)/2;window.removeEventListener("message",he),window.addEventListener("message",he),ve&&ve.close(),(ve=window.open(e,"popup","width=600,height=800,left=".concat(t,",top=").concat(r,",noopener,noreferrer")))||P.error("授权弹窗被浏览器阻止,请允许弹窗以继续操作。")},we=function(){var e=i(o().mark((function e(){var t,r,n,a,i,l,c,u,s,f;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_e.value){e.next=3;break}return ye(),e.abrupt("return");case 3:return e.prev=3,de.value=3,pe&&clearInterval(pe),t=P.load("正在绑定中......"),e.next=9,I({client:1});case 9:r=e.sent,(n=r.data).status||n.success?window.location.href=Q.compData.redirect||"/":(t.close(),i=n.msg||n.res,l=document.querySelector(".location-con"),c=16,l&&(u=l.getBoundingClientRect(),s=u.top+window.scrollY,c=s-50),P.msg({customClass:null!==(a=Q.compData)&&void 0!==a&&a.title?"customMsgDiv":"",type:"warning",dangerouslyUseHTMLString:!0,duration:3e3,offset:c,message:"".concat(i,'<div style="align-items:center;"><span style="display:inline-block;color:#ef0808;" class="loginErrorNum">').concat(de.value,"</span>秒后切换到宝塔账号登录</div>")}),setTimeout((function(){if(l){var e=l.getBoundingClientRect().left+window.scrollX,t=document.querySelector(".customMsgDiv");t&&(t.style.left="".concat(e+143,"px"),t.style.opacity="1")}}),0),pe=setInterval((function(){if(de.value<=1)return clearInterval(pe),void xe(1);de.value-=1;var e=document.querySelector(".loginErrorNum");e&&(e.innerHTML="".concat(de.value))}),1e3)),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(3),null===(f=t)||void 0===f||f.close();case 18:case"end":return e.stop()}}),e,null,[[3,14]])})));return function(){return e.apply(this,arguments)}}(),be=function(){var e=i(o().mark((function e(){var t;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(ee.username&&ee.password){e.next=3;break}return P.error("请先输入手机号和密码"),e.abrupt("return");case 3:return te.username=!0,te.password=!0,fe(60),e.next=8,C({username:ee.username,token:re.value});case 8:t=e.sent,P.request(t);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),xe=function(e){var t;le.value=e,null!==(t=Q.compData)&&void 0!==t&&t.onChangeType&&Q.compData.onChangeType(1===e?"bind":"other")},ke=a(!1),_e=a(!1),je=function(){var e=i(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,1!==t){e.next=4;break}return xe(1),e.abrupt("return");case 4:if(2!==t){e.next=7;break}return xe(2),e.abrupt("return");case 7:ke.value=1===ie.value.client&&1===ie.value.login,1===ie.value.client&&1===ie.value.login?xe(2):1===ie.value.client&&0!==ie.value.login?(xe(2),_e.value=!0):xe(1),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),xe(1);case 15:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(t){return e.apply(this,arguments)}}();return je(),q({onOpen:function(){N(oe.value.$el,"username")},onCancel:function(){oe.value.clearValidate()}}),c((function(){var e;null===(e=oe.value)||void 0===e||e.clearValidate()})),function(e,r){var n,o=j,a=D,i=E,l=T,c=O,P=T,I=V,C=L,N=E,z=S;return u(),s(z,{ref_key:"bindUserInfo",ref:oe,size:"medium",rules:v(ue),model:v(ee),autocomplete:"off",class:g(["bind-user-info",{"bind-form":!(null===(n=e.compData)||void 0===n||!n.title)}])},{default:f((function(){var n,j,D,E,O,L,S,V,T,z,q,G,H,Q,re;return[d(m("div",null,[h(a,{class:"text-center !mb-5 flex justify-center"},{default:f((function(){var n;return[m("div",t,[m("h3",U,y((null===(n=e.compData)||void 0===n?void 0:n.title)||"切换宝塔官网账号"),1),h(o,{placement:"top-start",width:"200",trigger:"hover",content:"宝塔面板许多功能都依赖于官网,绑定仅限于为您提供更好的面板服务体验,不涉及您服务器任何敏感信息,请放心使用。",class:"inline-block relative -top-1.5"},{reference:f((function(){return r[11]||(r[11]=[m("a",{class:"bt-ico-ask align-middle",href:"javascript:;"},"?",-1)])})),_:1})])]})),_:1}),(u(),s(a,{key:1,prop:"username",class:g({"!mb-[3rem]":!(null===(n=e.compData)||void 0===n||!n.title)})},{default:f((function(){var t;return[h(i,{modelValue:v(ee).username,"onUpdate:modelValue":r[0]||(r[0]=function(e){return v(ee).username=e}),clearable:"",required:"",class:"!leading-[4rem] !h-[4rem]",name:"username",autocomplete:"off",placeholder:"宝塔官网账号",disabled:v(te).username,onKeyup:r[1]||(r[1]=w((function(e){return se()}),["enter"]))},null,8,["modelValue","disabled"]),null!==(t=e.compData)&&void 0!==t&&t.title&&v(ae)?(u(),b("span",B,[r[13]||(r[13]=m("span",null,"请使用宝塔官网登录账号进行登录,若未有账号,可进行",-1)),h(l,{class:"!text-[12px]",href:"https://www.bt.cn/register"},{default:f((function(){return r[12]||(r[12]=[x(" 免费注册 ")])})),_:1})])):k("",!0)]})),_:1},8,["class"])),(u(),s(a,{key:2,prop:"password"},{default:f((function(){return[h(i,{modelValue:v(ee).password,"onUpdate:modelValue":r[2]||(r[2]=function(e){return v(ee).password=e}),clearable:"",required:"",type:"password",class:"!leading-[4rem] !h-[4rem]",name:"password",autocomplete:"off",placeholder:"密码","show-password":!0,disabled:v(te).password,onKeyup:r[3]||(r[3]=w((function(e){return se()}),["enter","native"]))},null,8,["modelValue","disabled"])]})),_:1})),d(h(a,{prop:"code"},{default:f((function(){return[h(i,{modelValue:v(ee).code,"onUpdate:modelValue":r[4]||(r[4]=function(e){return v(ee).code=e}),clearable:"",autocomplete:"off",placeholder:"验证码",type:"text",onKeyup:r[5]||(r[5]=w((function(e){return se()}),["enter","native"]))},{append:f((function(){return[h(c,{class:"relative top-0 rounded-none rounded-r-[3px]",type:"primary",size:"default",disabled:v(te).code,plain:"",onClick:be},{default:f((function(){return[x(y(v(Z)),1)]})),_:1},8,["disabled"])]})),_:1},8,["modelValue"])]})),_:1},512),[[p,v(W)]]),h(c,{class:"w-[100%] mt-[1.2rem]",type:"primary",size:"default",onClick:r[6]||(r[6]=function(e){return se()})},{default:f((function(){var t,r;return[x(y((null===(t=e.compData)||void 0===t?void 0:t.btn)||(null!==(r=e.compData)&&void 0!==r&&r.title?"绑定账号":"切换账号")),1)]})),_:1}),m("div",F,[h(P,{href:"https://www.bt.cn/register"},{default:f((function(){return r[14]||(r[14]=[x("注册账号")])})),_:1}),h(I),h(P,{href:"https://www.bt.cn/login.html?page=reset"},{default:f((function(){return r[15]||(r[15]=[x("忘记密码")])})),_:1}),h(I),h(P,{href:"https://www.bt.cn/bbs"},{default:f((function(){return r[16]||(r[16]=[x("问题反馈")])})),_:1})])],512),[[p,1===v(le)]]),d(m("div",null,[null!==(j=e.compData)&&void 0!==j&&j.title?k("",!0):(u(),b("div",{key:0,class:"view-con",style:_(null!==(D=e.compData)&&void 0!==D&&D.title?"":"background:#fff;")},[m("div",{class:"app-box",style:_(null!==(E=e.compData)&&void 0!==E&&E.title?"":"background:#fff;")},r[17]||(r[17]=[m("img",{alt:"",src:M},null,-1)]),4),r[19]||(r[19]=m("div",{class:"change-icon"},[m("svg",{t:"1729493717851",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"19919",width:"200",height:"200"},[m("path",{d:"M914.618182 477.090909H546.909091V109.381818c0-18.618182-16.290909-34.909091-34.909091-34.909091s-34.909091 16.290909-34.909091 34.909091v367.709091H109.381818c-18.618182 0-34.909091 16.290909-34.909091 34.909091s16.290909 34.909091 34.909091 34.909091h367.709091v367.709091c0 18.618182 16.290909 34.909091 34.909091 34.909091s34.909091-16.290909 34.909091-34.909091V546.909091h367.709091c18.618182 0 34.909091-16.290909 34.909091-34.909091s-16.290909-34.909091-34.909091-34.909091z",fill:"#999999","p-id":"19920"})])],-1)),m("div",{class:"app-box",style:_(null!==(O=e.compData)&&void 0!==O&&O.title?"":"background:#fff;")},r[18]||(r[18]=[m("div",{class:"tencent-icon"},null,-1)]),4)],4)),m("div",{class:g({"bg-white":null===(L=e.compData)||void 0===L?void 0:L.title,"rounded-[4px]":null===(S=e.compData)||void 0===S?void 0:S.title}),style:_({border:null!==(V=e.compData)&&void 0!==V&&V.title?"1px solid #ddd":"none","padding-top":null!==(T=e.compData)&&void 0!==T&&T.title?"2rem":"0"})},[null!==(z=e.compData)&&void 0!==z&&z.title?(u(),b("div",K,r[20]||(r[20]=[m("div",{class:"app-box",style:{background:"#fff"}},[m("img",{alt:"",src:M})],-1),m("div",{class:"change-icon"},[m("svg",{t:"1729493717851",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"19919",width:"200",height:"200"},[m("path",{d:"M914.618182 477.090909H546.909091V109.381818c0-18.618182-16.290909-34.909091-34.909091-34.909091s-34.909091 16.290909-34.909091 34.909091v367.709091H109.381818c-18.618182 0-34.909091 16.290909-34.909091 34.909091s16.290909 34.909091 34.909091 34.909091h367.709091v367.709091c0 18.618182 16.290909 34.909091 34.909091 34.909091s34.909091-16.290909 34.909091-34.909091V546.909091h367.709091c18.618182 0 34.909091-16.290909 34.909091-34.909091s-16.290909-34.909091-34.909091-34.909091z",fill:"#999999","p-id":"19920"})])],-1),m("div",{class:"app-box",style:{background:"#fff"}},[m("div",{class:"tencent-icon"})],-1)]))):k("",!0),v(_e)?k("",!0):(u(),s(a,{key:1,class:g(["!mb-5 flex justify-center",{"p-[2.5rem]":null===(q=e.compData)||void 0===q?void 0:q.title,"!pt-0":null===(G=e.compData)||void 0===G?void 0:G.title}])},{default:f((function(){return[h(C),r[21]||(r[21]=m("h3",{class:"text-[1.4rem] w-full text-[#666] inline-block font-bold"},"腾讯云用户专享特权:",-1)),r[22]||(r[22]=m("h3",{class:"text-[1.2rem] leading-[1] w-full text-[#999] inline-block mt-[1rem] flex items-center"},[m("span",{class:"svgtofont-el-check text-[#1d9534] font-bold mr-[.5rem]"}),x(" 免费使用原本需要付费的功能: ")],-1)),r[23]||(r[23]=m("h3",{class:"text-[1.2rem] leading-[1] w-full text-[#999] inline-block mt-[1rem] ml-[1.9rem] flex items-center location-con"},[m("img",{src:"/static/img/soft_ico/ico-msg_push.png",class:"w-[2rem] mr-[1rem]"}),x(" 异常监控推送 ")],-1)),r[24]||(r[24]=m("h3",{class:"text-[1.2rem] leading-[1] w-full text-[#999] inline-block mt-[1.5rem] flex items-center"},[m("span",{class:"svgtofont-el-check text-[#1d9534] font-bold mr-[.5rem]"}),x(" 宝塔官方付费软件均享额外折扣 ")],-1))]})),_:1},8,["class"])),v(_e)?(u(),s(a,{key:2,class:g(["!mb-0 flex justify-center",{"p-[2.5rem]":null===(H=e.compData)||void 0===H?void 0:H.title,"!pt-0":null===(Q=e.compData)||void 0===Q?void 0:Q.title}])},{default:f((function(){return[h(C),r[25]||(r[25]=m("h3",{class:"text-[1.4rem] w-full text-[#666] inline-block font-bold text-center"},"腾讯云账号绑定",-1)),m("div",A,[h(N,{modelValue:v(ce).uin,"onUpdate:modelValue":r[7]||(r[7]=function(e){return v(ce).uin=e}),size:"large",clearable:"",name:"uin",autocomplete:"off",placeholder:"请输入腾讯云账号ID"},null,8,["modelValue"])]),m("div",J,[h(N,{modelValue:v(ce).order,"onUpdate:modelValue":r[8]||(r[8]=function(e){return v(ce).order=e}),size:"large",clearable:"",name:"order",autocomplete:"off",placeholder:"请输入腾讯云市场订单号",onKeyup:w(ye,["enter","native"])},null,8,["modelValue"])])]})),_:1},8,["class"])):k("",!0),h(c,{type:"primary",class:"w-[85%] mt-[4rem] relative left-[7.5%]",style:{margin:"1rem auto 0"},size:"default",onClick:we},{default:f((function(){return[x(y(v(ke)?"一键激活专享特权":"绑定腾讯云账号"),1)]})),_:1}),m("div",Y,[m("span",{class:"cursor-pointer hover:text-[#1d9534]",onClick:r[9]||(r[9]=function(e){return xe(1)})},"已有宝塔账号登录")]),null!==(re=e.compData)&&void 0!==re&&re.title?(u(),b("div",$)):k("",!0)],6)],512),[[p,2===v(le)]]),1===v(le)&&(v(ke)||v(_e))?(u(),b("div",R,[r[27]||(r[27]=m("div",{class:"more-title"},[m("span",null,"更多绑定方式")],-1)),m("div",X,[d(m("div",{class:"bind-box",onClick:r[10]||(r[10]=function(e){return je(2)})},r[26]||(r[26]=[m("i",{class:"tencent_ico"},null,-1),x(" 腾讯云账号 ")]),512),[[p,1===v(le)]])])])):k("",!0)]})),_:1},8,["rules","model","class"])}}});e("default",q(Q,[["__scopeId","data-v-b5f936a9"]]))}}}))}();
Save File
Cancel