## **一、应用场景** 可以无限更换域名、封了下架后继续换 ## **二、操作方法** **1、注册快站账号** [https://www.kuaizhan.com/v3/site](https://www.kuaizhan.com/v3/site) **2、新建一个网站** ①点击新建站点 ②选择底部自定义网站 ![](https://box.kancloud.cn/22486e02c6fd9188c93384c2b4a6857d_499x313.png) * * * **3、联系我们升级网站,需要提供站点ID** ![](https://box.kancloud.cn/ab493d4085f2ca2e61504bd1f7d17356_579x186.png) ![](https://box.kancloud.cn/d7c5c38b1e7438f1a681fdb996a27cda_901x535.png) ~~~ ~~~ * * * **4、设置页面** ①编辑页面-》新建空白页面 ![](https://box.kancloud.cn/4837458c50a8dbbf9d10e189dc251456_406x334.png) ②编写代码 ![](https://box.kancloud.cn/4dae3d849b9daae0f7976668e794d92a_998x723.png) ~~~ <script type="text/javascript" src="//lib.baomitu.com/jquery/2.2.4/jquery.min.js"></script><script type="text/javascript" src="//lib.baomitu.com/clipboard.js/1.6.1/clipboard.min.js"></script><script> //获得参数 function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var i=0;i<vars.length;i++) { var pair = vars[i].split("="); if(pair[0] == variable){return unescape(pair[1]);} } return(false); } // private property _keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; // public method for decoding this.decode = function (input) { var output = ""; var chr1, chr2, chr3; var enc1, enc2, enc3, enc4; var i = 0; input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); while (i < input.length) { enc1 = _keyStr.indexOf(input.charAt(i++)); enc2 = _keyStr.indexOf(input.charAt(i++)); enc3 = _keyStr.indexOf(input.charAt(i++)); enc4 = _keyStr.indexOf(input.charAt(i++)); chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4; output = output + String.fromCharCode(chr1); if (enc3 != 64) { output = output + String.fromCharCode(chr2); } if (enc4 != 64) { output = output + String.fromCharCode(chr3); } } output = _utf8_decode(output); return output; } // private method for UTF-8 decoding _utf8_decode = function (utftext) { var string = ""; var i = 0; var c = c1 = c2 = 0; while (i < utftext.length) { c = utftext.charCodeAt(i); if (c < 128) { string += String.fromCharCode(c); i++; } else if ((c > 191) && (c < 224)) { c2 = utftext.charCodeAt(i + 1); string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); i += 2; } else { c2 = utftext.charCodeAt(i + 1); c3 = utftext.charCodeAt(i + 2); string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); i += 3; } } return string; } var mytimer; function myhide(myclass) { var sdata = document.getElementsByClassName("nav-icon")[0]; if (sdata) { sdata.style.display = 'none' clearInterval(mytimer); } } //复制文本 var clipboard = new Clipboard('.icopy'); clipboard.on('success',function(e) { if (e.trigger.disabled == false || e.trigger.disabled == undefined) { e.trigger.innerHTML = "复制成功,打开【手淘】购买"; e.trigger.style.backgroundColor = "#7dc57d"; e.trigger.disabled = true; setTimeout(function() { e.trigger.innerHTML = "一键复制"; e.trigger.style.backgroundColor = "#fd643d"; e.trigger.disabled = false; }, 2000); } }); clipboard.on('error', function(e) { e.trigger.innerHTML = "复制失败,请手动复制"; e.trigger.style.backgroundColor = "#b5b4b4"; }); $(function() { var kl = getQueryVariable("taowords"); var kl=kl.match(/\w+/); var kl = "¥"+kl+"¥" $("#icopy").attr("data-clipboard-text",kl); $("#kl").text(kl); mytimer = setInterval(function() { myhide(decode('YWQtY2xvc2Utd3JhcA==')) }, 100); $("#img").attr('src',decode(getQueryVariable("pic"))); //UA判断 /* var ua = navigator.userAgent.toLowerCase(); if (ua.match(/iphone/i) == "iphone" || ua.match(/ipad/i) == "ipad") { $('#copy-tip').text("长按框内文本→全选复制"); } */ //自动选中 var word = document.querySelector('.word-text'); document.addEventListener("selectionchange", function(e) { window.getSelection().selectAllChildren(word); }, false); $("#phone-main").next().hide(); });</script><div class="mod mod-html"><style type="text/css"> .container { padding: 14px 14px 0; } .container img { box-shadow: 0px 4px 8px rgba(21, 0, 71, .1); width: 100%; } .beatword { margin: 14px; margin-top: 16px; text-align: center; } .word-border { background: #fff1ef; border: 2px dashed #df7162; padding: 10px; color: #df7162; font-size: 14px; text-align: left; } .copy-tip { text-align: left; color: #8f8f8f; font-size: 12px; clear: both; } .copy-tip span { display: inline-block; position: relative; top: 2px; left: -2px; width: 20px; height: 10px; margin: 0 4px; border: 1px dashed #df7162; } .icopy { background: #df7162; border-radius: 1000px; color: white; font-size: 18px; margin: 10px auto; padding: 5px 10px; line-height: 30px; height: 30px; width: 200px; } .kz-float-layer { height: 0px!important; } .kz-float-layer { display: none!important; } </style><div class="container"> <img id="img" src=""> </div><div class="beatword"> <div class="word-border"> <div> <div id="word-text" class="word-text" style="text-align:center;"> 复制红框内信息打开→手掏APP←即可领YouHui券 <span id="kl"></span> </div> </div> </div> <div type="button" data-clipboard-text="" class="icopy" id="icopy">一键复制</div> <div id="copy-tip" class="copy-tip"> 说明: <br>在点击一键复制后,请打开<img style="width:16px;height:16px;" src="http://wx4.sinaimg.cn/large/9ccca90bgy1fm6sw25k33j200w00wq2q.jpg">"购买 <br>若一键复制失败,请长按 <span></span>内文字全选复制拷贝 </div> </div></div> ~~~ * * * ③保存发布-》再点击分享 ![](https://box.kancloud.cn/f0b14a96a27fff288c18c8db0d1b2ea4_428x302.png) ![](https://box.kancloud.cn/21b6caa7f0c504515ba04284608e1cec_390x163.png) 页面信息可以自己改,主要是,要复制链接 得到链接: [https://bkjdkjasx22.kuaizhan.com/72/90/p610511016ab448](https://bkjdkjasx22.kuaizhan.com/72/90/p610511016ab448) 拼接参数: [https://bkjdkjasx22.kuaizhan.com/81/75/p567078888db374?pic=\[图片\]&taowords=\[淘口令\]](https://bkjdkjasx22.kuaizhan.com/81/75/p567078888db374?pic=%5B%E5%9B%BE%E7%89%87%5D&taowords=%5B%E6%B7%98%E5%8F%A3%E4%BB%A4%5D) **5、设置软件** 设置到软件即可 ![](https://box.kancloud.cn/ca6215ea7530fd1055133c22c568c71b_905x612.png) * * * **6、如何免费更换域名** 网站列表页面,下线网站后,再上线就可以换域名了 ![](https://box.kancloud.cn/d22aadd2731bd98e27d2b702c1214024_497x192.png)