huangxiaojing лет назад: 4
Родитель
Сommit
85c4ce9f39

Разница между файлами не показана из-за своего большого размера
+ 1 - 0
microserviceUserH5/cloud/index.html


Разница между файлами не показана из-за своего большого размера
+ 2 - 0
microserviceUserH5/cloud/static/css/app.0ba73aa564729ffb5fd4f035ec1fbea3.css


Разница между файлами не показана из-за своего большого размера
+ 1 - 0
microserviceUserH5/cloud/static/css/app.0ba73aa564729ffb5fd4f035ec1fbea3.css.map


BIN
microserviceUserH5/cloud/static/img/invite-bg.b60e173.png


Разница между файлами не показана из-за своего большого размера
+ 2 - 0
microserviceUserH5/cloud/static/js/app.49405077ec4d814e881c.js


Разница между файлами не показана из-за своего большого размера
+ 1 - 0
microserviceUserH5/cloud/static/js/app.49405077ec4d814e881c.js.map


Разница между файлами не показана из-за своего большого размера
+ 2 - 0
microserviceUserH5/cloud/static/js/manifest.2ae2e69a05c33dfc65f8.js


Разница между файлами не показана из-за своего большого размера
+ 1 - 0
microserviceUserH5/cloud/static/js/manifest.2ae2e69a05c33dfc65f8.js.map


Разница между файлами не показана из-за своего большого размера
+ 13 - 0
microserviceUserH5/cloud/static/js/vendor.904d04477c869f4d0ad1.js


Разница между файлами не показана из-за своего большого размера
+ 1 - 0
microserviceUserH5/cloud/static/js/vendor.904d04477c869f4d0ad1.js.map


+ 256 - 0
microserviceUserH5/static/css/invite1.css

@@ -0,0 +1,256 @@
+@media screen and (max-width: 750px) {
+  html {
+      font-size: calc(100vw / 7.5);
+  }
+}
+@media screen and (min-width: 750px) {
+  html {
+      font-size: calc(450px / 7.5);
+  }
+}
+html, body, div, ul, li, p {
+  padding: 0;
+  margin: 0;
+}
+ul, li {
+  list-style: none;
+}
+.invite-container {
+  width: 7.5rem;
+  margin: 0 auto;
+  background: #CB0907;
+}
+.bottom-img {
+  width: 100%;
+  height: 10.26rem;
+}
+.pr {
+  position: relative;
+}
+.recv-cont {
+  position: absolute;
+  top: 6.66rem;
+}
+.recv-ipt {
+  margin: 0 0.75rem;
+  width: 6rem;
+  height: 1rem;
+  line-height: 1rem;
+  background:rgba(255, 255, 255, 0.3);
+  border-radius: 0.5rem;
+  text-align: center;
+  color: #fff;
+  font-size: 0.36rem;
+  font-weight: 600;
+  position: relative;
+}
+.copy-btn-style {
+  width: 1.2rem;
+  height: 0.6rem;
+  line-height: 0.6rem;
+  background: linear-gradient(360deg, #FAD72E 0%, #FFF7DE 100%);
+  box-shadow: 0 0.04rem 0.08rem 0 #D83D00;
+  border-radius: 0.3rem;
+  opacity: 1;
+  position: absolute;
+  top: 0.2rem;
+  right: 0.2rem;
+  font-size: 0.26rem;
+  font-weight: 500;
+  color: #A75414;
+  text-shadow: 0px 0.04rem 0.08rem #D83D00;
+}
+.mt40 {
+  margin-top: 0.4rem;
+}
+.recv-btn {
+  margin: 0 0.75rem;
+  width: 6rem;
+  height: 1rem;
+  background: linear-gradient(360deg, #F8C23A 0%, #FFEFBC 100%);
+  box-shadow: 0 0.04rem 0.12rem 0 #AB0604;
+  text-align: center;
+  border-radius: 0.5rem;
+  line-height: 1rem;
+  font-size: 0.4rem;
+  font-weight: 600;
+  color: #943E20;
+}
+.center-reward-con {
+  margin: 0.76rem 0.3rem 0 0.3rem;
+  width: 6.9rem;
+  height: 6.36rem;
+  padding-top: 0.76rem;
+  background: #FFEBE3;
+  box-shadow: 0 0.08rem 0.16rem 0 #A70200;
+  border-radius: 0.24rem;
+  position: relative;
+}
+.top-title {
+  width: 4.44rem;
+  height: 0.88rem;
+  background: url('../img/biaoti_pic@2x.png') no-repeat;
+  background-size: 100% 100%;
+  text-align: center;
+  position: absolute;
+  top: -0.36rem;
+  left: 50%;
+  margin-left: -2.22rem;
+  font-size: 0.36rem;
+  line-height: 0.88rem;
+  font-weight: 600;
+  color: #5A250D;
+  letter-spacing: 0.02rem;
+}
+.reward-second-title {
+  font-size: 0.28rem;
+  text-align: center;
+  font-weight: 500;
+  color: #ED2800;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+.code-title-font {
+  width: 1.42rem;
+  height: 0.34rem;
+  background: url(../img/biaotiwenzi_pic.png) no-repeat;
+  background-size: 100% 100%;
+  margin-top: 0.54rem;
+  margin-bottom: 0.34rem;
+  position: relative;
+}
+.code-title-font::after, .code-title-font::before {
+  content: '';
+  display: block;
+  width: 0.58rem;
+  height: 0.42rem;
+  background: url('../img/diandian_da_icon@2x.png') no-repeat;
+  background-size: 100% 100%;
+  position: absolute;
+  top: -0.02rem;
+}
+.code-title-font::after {
+  right: -1.16rem;
+}
+.code-title-font::before {
+  left: -1.15rem;
+}
+.reward-second-title::before, .reward-second-title::after {
+  content: '';
+  display: block;
+  width: 0.36rem;
+  height: 0.26rem;
+  background: url('../img/diandian_xiao_icon@2x.png') no-repeat;
+  background-size: 100% 100%;
+  margin: 0 0.3rem;
+}
+#goode {
+  max-height: 4.6rem;
+  overflow-x: hidden;
+}
+#goode::-webkit-scrollbar {
+  opacity: 0;
+}
+#goode::-webkit-scrollbar-thumb {
+  width: 0.1rem;
+  height: 3.38rem;
+  background: rgba(0, 0, 0, 0.1);
+  border-radius: 0.09rem;
+}
+.goodFriend-title-list {
+  margin: 0.22rem 0.3rem;
+  font-size: 0.26rem;
+  font-weight: 500;
+  color: rgba(0, 0, 0, 0.8);
+  line-height: 0.36rem;
+  display: flex;
+}
+.goodFriend-item {
+  display: flex;
+  align-items: center;
+  margin: 0 0.3rem 0.2rem;
+  font-size: 0.28rem;
+  color: rgba(0, 0, 0, 0.4);
+  line-height: 0.4rem;
+}
+.goodFriend-title-list li, .goodFriend-item span {
+  flex: 33.33%;
+}
+.tal {
+  text-align: left;
+}
+.tac {
+  text-align: center;
+}
+.tar {
+  text-align: right;
+}
+.cF04646 {
+  color: #F04646;
+}
+.c999 {
+  color: #999999;
+}
+.fs16 {
+  font-size: 0.16rem;
+}
+.tb-codes {
+  width: 6.3rem;
+  background: rgba(255, 255, 255, 0.2);
+  border-radius: 0.24rem;
+  margin: 0 0.3rem;
+  color: #fff;
+  line-height: 0.4rem;
+  padding: 0.3rem;
+  text-align: justify;
+}
+.fw500 {
+  font-weight: 600;
+}
+.fs26 {
+  font-size: 0.26rem;
+}
+.fs28 {
+  font-size: 0.28rem;
+}
+.mb45 {
+  margin-bottom: 0.45rem;
+}
+.load-menu {
+  padding-bottom: 0.6rem;
+}
+.no-data {
+  text-align: center;
+  font-size: 0.28rem;
+  color: rgba(0, 0, 0, 0.41);
+  margin-top: 2.3rem;
+}
+#toast-container>.toast-error {
+  background-image: none!important;
+}
+.toast-error {
+  background-color: rgba(0, 0, 0, 0.7);
+}
+.toast-message {
+  font-size: 0.37rem;
+  line-height: 0.9rem;
+  text-align: center;
+  font-weight: 400;
+  color: #FFFFFF;
+
+}
+#toast-container>div {
+  width: 4rem;
+  height: 0.9rem;
+  opacity: 1;
+  padding: 0 !important;
+  border-radius: 0.2rem;
+  box-shadow: none;
+}
+.toast-center-center {
+  top: 50%;
+  left: 50%;
+  margin-top: -0.45rem;
+  margin-left: -2rem;
+}

+ 2 - 1
microserviceUserH5/static/js/vender/config.js

@@ -1,6 +1,7 @@
 var url = window.location.href;
 url = url.split('/');
-var baseUrl = url[0] + '//' + url[2];
+// var baseUrl = url[0] + '//' + url[2];
+var baseUrl = 'http://14.215.128.96'
 
 function GetRequest() {
   var url = location.search; // 获取url中"?"符后的字串

+ 219 - 0
microserviceUserH5/vcloud/index1.html

@@ -0,0 +1,219 @@
+<!DOCTYPE html>
+<html lang="en" xmlns:th="http://www.thymeleaf.org">
+
+<head>
+    <meta charset="UTF-8">
+    <title>双子星</title>
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+
+    <link rel="icon" href="../static/img/favicon2.ico" type="img/x-ico">
+
+    <link rel="stylesheet" href="../static/js/vender/bootstrap/css/bootstrap.min.css">
+    <link rel="stylesheet" href="../static/css/normalize.css">
+    <link rel="stylesheet" href="../static/css/experience.css">
+    <link rel="stylesheet" href="../static/js/vender/toastr/toastr.min.css">
+    <script src="../static/js/vender/jquery-3.4.1.min.js"></script>
+    <script src="../static/js/vender/bootstrap/js/bootstrap.min.js"></script>
+    <script src="../static/js/vender/toastr/toastr.min.js"></script>
+    <script>
+        toastr.options.positionClass = 'toast-center-center';
+    </script>
+</head>
+
+<body>
+    <div class="top free-code-con" style="position:relative;">
+        <div>
+            <img src="../static/img/experienceBg3.png" alt="" class="bottom-img">
+        </div>
+
+        <div class="center-pic">
+            <div class="recv-cont" id="recv_cont">
+                <div style="position: relative;">
+                    <input type="tel" class="recv-ipt" id="recv_ipt" placeholder="请输入手机号码">
+                </div>
+                <div onclick="handleClick()" style="position: relative">
+                    <div class="recv-btn" id="recv_btn">
+                        <span style="position: relative;">
+                            领取体验时长并下载
+                            <img src="../static/img/xing_icon.png" alt="">
+                        </span>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+    <script type="text/javascript" th:inline="javascript">
+        var url = window.location.href;
+        url = url.split('/')
+        var baseUrl = 'http://' + url[2]
+        // var baseUrl = 'http://14.215.128.96'
+
+        $("#recv_ipt").bind('input propertychange', function (e) {
+            var ipt_phones = $('#recv_ipt').val();
+            var c = $(this);
+            if (/[^\d]/.test(c.val())) {//替换非数字字符
+                var temp_amount = c.val().replace(/[^\d]/g, '');
+                $(this).val(temp_amount);
+                toastr.error('请填写正确的手机号')
+            }
+            if (ipt_phones.length >= 12) {
+                toastr.error('请填写正确的手机号')
+                var recvstr = ipt_phones.substring(0, 11)
+                $("#recv_ipt").val(recvstr);
+            }
+        });
+
+        function handleClick() {
+            var time = new Date().getTime()
+            var data = {}
+            toastr.options = {
+                positionClass: "toast-center-center"
+            };
+            var ipt_phone = $('#recv_ipt').val();
+            var validator = /^1[3|4|5|6|7|8|9][0-9]\d{8}$/
+            var res = validator.test(ipt_phone)
+            if (!ipt_phone) {
+                toastr.error('请填写正确的手机号')
+            } else if (!res) {
+                toastr.error('请填写正确的手机号')
+            } else {
+                data.newPhone = ipt_phone
+                data.type = [[${ type }]]
+                data.code = [[${ code }]]
+                data.username = [[${ userName }]]
+                $.ajax({
+                    url: baseUrl + '/promote/commitPhone',
+                    data: JSON.stringify(data),
+                    type: 'post',
+                    contentType: "application/json",
+                    dataType: 'json',
+                    cache: false,
+                    success: function (res) {
+                        if (res.status === 0) {
+                            toastr.error('领取成功')
+                            $(window).attr('location', res.data);
+                        } else {
+                            toastr.error(res.msg)
+                        }
+                    }
+                })
+                var Sys = {};
+                var ua = navigator.userAgent.toLowerCase();
+                var s, browserType;
+                (s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] :
+                    (s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] :
+                        (s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] :
+                            (s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] :
+                                (s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
+                if (Sys.ie) {
+                    browserType = 'IE: ' + Sys.ie
+                }
+                if (Sys.firefox) {
+                    browserType = 'Firefox: ' + Sys.firefox
+                }
+                if (Sys.chrome) {
+                    browserType = 'Chrome: ' + Sys.chrome
+                }
+                if (Sys.opera) {
+                    browserType = 'Opera: ' + Sys.opera
+                }
+                if (Sys.safari) {
+                    browserType = 'Safari: ' + Sys.safari
+                }
+                var form = {
+                    platform: 4,
+                    visitType: 4,
+                    time: time,
+                    phoneNum: ipt_phone,
+                    downLoaderCount: Number(localStorage.getItem('downLoaderCount')),
+                    browserType: browserType
+                }
+                var list = []
+                list.push(form)
+                // 推广页面下载埋点接口
+                $.ajax({
+                    url: baseUrl + '/api/public/v4/access/user/burialSiteLog',
+                    data: JSON.stringify(list),
+                    type: 'post',
+                    contentType: "application/json",
+                    dataType: 'json',
+                    cache: false,
+                    success: function (res) {
+                    }
+                })
+            }
+        }
+        function visit() {
+            $.ajax({
+                url: baseUrl + '/api/user/v3/invitation/client/addInviteData',
+                type: 'get',
+                cache: false,
+                dataType: 'text',
+                success: function () {
+                }
+            })
+        }
+
+        visit()
+    </script>
+</body>
+<style>
+    #toast-container>.toast-error {
+        background-image: none !important;
+    }
+
+    .toast-error {
+        background-color: rgba(0, 0, 0, 0.8);
+    }
+
+    #toast-container>div {
+        font-size: 14px;
+        min-width: 80px !important;
+        padding: 12px !important;
+        box-shadow: none;
+    }
+
+    @media (max-width: 480px) and (min-width: 241px) {
+        #toast-container>div {
+            min-width: 80px !important;
+            width: auto;
+        }
+    }
+
+    @media only screen and (min-width: 640px) {
+        .toast-center-center {
+            top: 50%;
+            left: 50%;
+            transform: translate(-50%, -50%);
+        }
+    }
+
+    @media only screen and (max-width: 640px) {
+        .toast-center-center {
+            top: 50%;
+            left: 50%;
+            transform: translate(-50%, -50%);
+        }
+    }
+
+    input::-webkit-input-placeholder {
+        color: #BBBBBB;
+    }
+
+    input::-moz-placeholder {
+        /* Mozilla Firefox 19+ */
+        color: #BBBBBB;
+    }
+
+    input:-moz-placeholder {
+        /* Mozilla Firefox 4 to 18 */
+        color: #BBBBBB;
+    }
+
+    input:-ms-input-placeholder {
+        /* Internet Explorer 10-11 */
+        color: #BBBBBB;
+    }
+</style>
+
+</html>

+ 208 - 0
microserviceUserH5/vcloud/invite1.html

@@ -0,0 +1,208 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
+    <title>邀请有礼</title>
+    <link rel="icon" href="../static/img/favicon2.ico" type="img/x-ico">
+    <link rel="stylesheet" href="../static/js/vender/toastr/toastr.min.css">
+    <link rel="stylesheet" href="../static/css/invite.css">
+    <script src="../static/js/vender/jquery-3.4.1.min.js"></script>
+    <script src="../static/js/vender/toastr/toastr.min.js"></script>
+    <script src="../static/js/vender/config.js"></script>
+</head>
+
+<body>
+    <div class="invite-container">
+        <div class="pr">
+            <picture>
+                <source media="(max-width: 640px)" srcset="../static/img/inviteTop.png 640w" />
+                <source media="(min-width: 640px)" srcset="../static/img/inviteTop.png 1366w" />
+                <img src="../static/img/inviteTop.png" class="bottom-img" alt="">
+            </picture>
+            <div class="recv-cont">
+                <div class="recv-ipt" id="recv_ipt">
+                    <span id="invitationCode"></span>
+                    <span class="copy-btn-style btn-code-copy">复制</span>
+                </div>
+                <div onclick="appDown()" class="mt40">
+                    <div class="recv-btn" id="recv_btn"></div>
+                </div>
+            </div>
+        </div>
+
+        <div class="load-menu">
+            <div class="center-reward-con">
+                <div class="top-title">你的奖励</div>
+                <div class="reward-second-title">好友购机,返时长奖励</div>
+                <div id="goode"></div>
+            </div>
+            <div>
+                <div style="display: flex;justify-content: center;">
+                    <div class="code-title-font"></div>
+                </div>
+                <div class="tb-codes">
+                    <p class="fw500 fs28">好友购机,买一送一</p>
+                    <p class="fs26">被邀好友购买任意套餐,您可获其等额时长返现(仅限首单);邀请越多返现越多,返现无上限;</p>
+                    <p class="fs26 mb45">请在参与活动前认真阅读规则,因未按规则参与活动而造成的损失,由用户自行承担</p>
+                    <p class="fw500 fs26">规则</p>
+                    <p class="fs26">1. 好友购机前,邀请人账户内无云手机(无云机购买记录者),或仅有2小时免费体验时长的用户,则无法获时长奖励;</p>
+                    <p class="fs26">2. 邀请成功后,双方自动成为好友,邀请奖励将通过好友消息的方式进行发放,邀请方需要点击【领取】,才可领取成功。邀请奖励领取期限为24小时,超过领取期限则无法领取奖励。</p>
+                    <p class="fs26">3. 如发现有刷单等行为用户,将对该账号及其所关联账号进行冻结处理;</p>
+                    <p class="fs26">4. 本活动最终解释权归双子星云手机所有。</p>
+                </div>
+            </div>
+        </div>
+    </div>
+    <input type="text" style="opacity: 0;z-index: -10;position: fixed;" id="passwordCopy" value="">
+    <input type="text" style="opacity: 0;z-index: -10;position: fixed;" id="inviteCopy" value="">
+    <script>
+        toastr.options.positionClass = 'toast-center-center';
+        toastr.options.timeOut = '3000';
+    </script>
+    <script type="text/javascript">
+        var url = window.location.href;
+        url = url.split('/')
+        //   var baseUrl = url[0] + '//' + url[2]
+        var loc = window.location.search;
+        var n1 = loc.length;//地址的总长度
+        var n2 = loc.indexOf("=");//取得=号的位置
+        var id = loc.substr(n2 + 1, n1 - n2);//从=号后面的内容
+
+        var u = navigator.userAgent;
+        var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
+        var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
+        if (isiOS) {
+            var btnMsg = '立即邀请'
+        } else if (isAndroid) {
+            btnMsg = '立即邀请'
+        } else {
+            btnMsg = '复制邀请链接'
+        }
+        $('#recv_btn').append(btnMsg)
+        $.ajax({
+            url: baseUrl + '/api/user/v3/invitation/client/getInvitationInfo',
+            type: 'get',
+            headers: {
+                'Authorization': id  //id
+            },
+            contentType: "application/json",
+            dataType: 'json',
+            cache: false,
+            success: function (res) {
+                $('#invitationCode').text(res.data.invitationCode)
+                //加载数据
+                $('#passwordCopy').val($('#invitationCode').text());
+
+                //复制按钮
+                $('.btn-code-copy').on('click', function () {
+                    var input = document.getElementById("passwordCopy");
+                    // 选中文本
+                    input.select();
+                    // 执行浏览器复制命令
+                    document.execCommand("copy");
+                    toastr.error('复制成功', 0)
+                });
+
+                if (res.data.friendList.length > 0) {
+                    var str = '<ul class="goodFriend-title-list"><li class="tal">被邀请好友帐号</li><li class="tac">获时长数(小时)</li><li class="tar">邀请时间</li></ul>'
+                    for (var i = 0; i < res.data.friendList.length; i++) {
+                        var phone = res.data.friendList[i].newPhone
+                        var inviteMsg = res.data.friendList[i].duration
+                        var registerTime = res.data.friendList[i].createTime
+                        var nPhone = phone.substr(0, 3) + '****' + phone.substring(7, 11)
+                        str += '<div class="goodFriend-item">'
+                        str += '<span class="tal">' + nPhone + '</span>'
+                        str += Number(inviteMsg) && inviteMsg > 0 ? '<span class="tac cF04646">' + inviteMsg + '</span>' : '<span class="tac">' + inviteMsg + '</span>'
+                        str += '<span class="tar">' + registerTime + '</span>'
+                        str += '</div>';
+                    }
+                } else if (res.data.friendList.length === 0) {
+                    str = '<div class="no-data">还没有邀请到好友哦~</div>'
+                }
+                $('#goode').append(str);
+            }, 
+            error: function () {
+                str = '<div class="no-data">还没有邀请到好友哦~</div>'
+                $('#goode').append(str)
+            }
+        })
+
+        $("#recv_ipt").bind('input propertychange', function (e) {
+            var ipt_phones = $('#recv_ipt').val();
+            var c = $(this);
+            if (/[^\d]/.test(c.val())) {//替换非数字字符
+                var temp_amount = c.val().replace(/[^\d]/g, '');
+                $(this).val(temp_amount);
+                toastr.error('请输入正确的手机号')
+            }
+            if (ipt_phones.length >= 12) {
+                toastr.error('请输入正确的手机号')
+                var recvstr = ipt_phones.substring(0, 11)
+                $("#recv_ipt").val(recvstr);
+            }
+        });
+
+        function appDown() {
+            var u = navigator.userAgent;
+            var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
+            var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
+            if (isiOS) {
+                $.ajax({
+                    url: baseUrl + '/api/user/v1/promote',
+                    type: 'get',
+                    headers: {
+                        'Authorization': id  //id
+                    },
+                    contentType: "application/json",
+                    dataType: 'json',
+                    cache: false,
+                    success: function (res) {
+                        var jsonStr = JSON.stringify(res.data)
+                        var jsonObj = JSON.parse(jsonStr)
+                        // WKWebView使用
+                        // 使用下方方法,会报错,为使界面执行逻辑通畅,因此使用try-catch
+                        try {
+                            getMessage(jsonObj);
+                        } catch (error) {
+                            console.log(error)
+                        }
+                        try {
+                            window.webkit.messageHandlers.getMessage.postMessage(jsonObj)
+                        } catch (error) {
+                            console.log(error)
+                        }
+                    }
+                })
+            } else if (isAndroid) {
+                window.native.onClikWebView()
+            } else {
+                $.ajax({
+                    url: baseUrl + '/api/user/v1/promote',
+                    type: 'get',
+                    headers: {
+                        'Authorization': id  //id
+                    },
+                    contentType: "application/json",
+                    dataType: 'json',
+                    cache: false,
+                    success: function (res) {
+                        //加载数据
+                        var copyBefore = JSON.stringify(res.data.url);
+                        var copyUrl = copyBefore.split('"');
+                        $('#inviteCopy').val(copyUrl[1]);
+                        var input = document.getElementById("inviteCopy");
+                        // 选中文本
+                        input.select();
+                        // 执行浏览器复制命令
+                        document.execCommand("copy");
+                        toastr.error('复制成功')
+                    }
+                })
+            }
+        }
+    </script>
+</body>
+
+</html>