复制兑换码提示框修改

master
“用lww 5 years ago
parent c1b5569213
commit ba506916d0

@ -10,6 +10,7 @@
<link href="__CSS__/ssg/common.css" rel="stylesheet" type="text/css"> <link href="__CSS__/ssg/common.css" rel="stylesheet" type="text/css">
<script src="/Public/Mobile/js/ssg/flexible.min.js" type="text/javascript"></script> <script src="/Public/Mobile/js/ssg/flexible.min.js" type="text/javascript"></script>
<link href="__CSS__/common-cz.css" rel="stylesheet" >
</head> </head>
<body class="install-box"> <body class="install-box">
<div class="title" > <div class="title" >
@ -58,11 +59,13 @@
<script src="__JS__/jquery-1.11.1.min.js" type="text/javascript"></script> <script src="__JS__/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="__JS__/ssg/clipboard.min.js" type="text/javascript"></script> <script src="__JS__/ssg/clipboard.min.js" type="text/javascript"></script>
</body> </body>
<div class="popmsg pop-dialog"></div>
<script src="__JS__/pop.lwx.min.js"></script>
<script> <script>
var pmsg = $('.popmsg').pop();
var clipboard = new ClipboardJS(".code-btn1455"); var clipboard = new ClipboardJS(".code-btn1455");
clipboard.on('success', function (e) { clipboard.on('success', function (e) {
alert("复制成功"); pmsg.msg("复制成功");
}); });
clipboard.on('error', function (e) { clipboard.on('error', function (e) {
var ua = navigator.userAgent; var ua = navigator.userAgent;

Loading…
Cancel
Save