|
@@ -4,8 +4,8 @@
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
|
|
- <meta name="description" content="分享朋友">
|
|
|
- <title></title>
|
|
|
+ <meta name="description" content="分享内容 ">
|
|
|
+ <title>分享内容 </title>
|
|
|
<link rel="icon" href="../static/img/favicon2.ico" type="img/x-ico">
|
|
|
<link rel="stylesheet" href="../static/css/index.css?v=1.0.0.2">
|
|
|
<link rel="stylesheet" href="../static/css/vant.css" />
|
|
@@ -21,7 +21,6 @@
|
|
|
/* align-items: center;
|
|
|
justify-content: center; */
|
|
|
}
|
|
|
-
|
|
|
.top-banner {
|
|
|
width: 6.82rem;
|
|
|
height: 0.82rem;
|
|
@@ -337,12 +336,12 @@
|
|
|
|
|
|
try {
|
|
|
if (isIOS) {
|
|
|
- var input = document.createElement("input");
|
|
|
+ const input = document.createElement("input");
|
|
|
input.value = this.code;
|
|
|
document.body.appendChild(input);
|
|
|
input.select();
|
|
|
- input.setSelectionRange(0, input.value.length), document
|
|
|
- .execCommand('Copy');
|
|
|
+ input.setSelectionRange(0, input.value.length);
|
|
|
+ document.execCommand('Copy');
|
|
|
document.body.removeChild(input);
|
|
|
this.$dialog.alert({
|
|
|
message: '复制成功'
|