-
-
+
-
-
- TTentau
- 使用抖音扫码,加我好友
-
+
+
+
- 请使用最新版抖音扫描
-
-
-
- 保存到相册
+
+ this.shareToFriend = true)"
+ />
+
+
+
+
+
+
+
+
+
+
+
@@ -49,6 +120,7 @@ export default {
@import "../../assets/scss/index";
#MyCard {
+ background: rgb(136, 132, 133);
position: fixed;
left: 0;
right: 0;
@@ -57,54 +129,65 @@ export default {
overflow: auto;
font-size: 1.4rem;
+ .header {
+ position: fixed;
+ z-index: 9;
+ top: 0;
+ width: 100%;
+ box-sizing: border-box;
+ padding: 0 1.5rem;
+ height: 6rem;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+
+ .share {
+ width: 2.4rem;
+ height: 2.4rem;
+ margin-left: 1.5rem;
+ }
+ }
+
.content {
padding-top: @header-height;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
- .card {
- margin: 3rem;
- background: white;
- border-radius: 1rem;
+ .qrcode {
+ margin-top: 12vh;
display: flex;
align-items: center;
- flex-direction: column;
+ justify-content: center;
+ position: relative;
- .logo-ctn {
- margin: 2rem 0;
- width: 40vw;
- background-image: url("/@/assets/img/icon/logo-bg.png");
- background-position: center;
- background-size: 100% 100%;
- display: flex;
- align-items: center;
- justify-content: center;
-
- img {
- width: 100%;
- height: 100%;
- border-radius: 50%;
- }
+ .qrcode-bg {
+ width: 60vw;
}
- .notice {
- font-size: 1.2rem;
- margin-top: 6rem;
- opacity: .4;
- }
-
- .logo {
- margin: 2rem 0;
- width: 40vw;
+ .avatar {
+ border-radius: 50%;
+ position: absolute;
+ width: 25vw;
}
}
- }
+ .name {
+ font-weight: bold;
+ margin-top: 2rem;
+ font-size: 1.6rem;
+ color: white;
+ }
+
+ .notice {
+ color: white;
+ font-size: 1.4rem;
+ margin-top: 2rem;
+ opacity: .4;
+ }
+
- .notice-two {
- font-size: 1.2rem;
- color: white;
- opacity: .4;
- text-align: center;
}
.footer {
@@ -119,10 +202,20 @@ export default {
display: flex;
flex-direction: column;
align-items: center;
+ font-size: 1.2rem;
+
+ .wrapper {
+ background: rgba(252, 250, 250, 0.3);
+ border-radius: 50%;
+ display: flex;
+ padding: 1.8rem;
+ align-items: center;
+ justify-content: center;
+ margin-bottom: 1rem;
+ }
img {
- width: 3rem;
- margin-bottom: 1rem;
+ width: 2.6rem;
}
}
}
diff --git a/src/pages/me/Uploader.less b/src/pages/me/Uploader.less
index b6d6441..319ce49 100644
--- a/src/pages/me/Uploader.less
+++ b/src/pages/me/Uploader.less
@@ -357,7 +357,7 @@
align-items: center;
img {
- width: 1.6rem;
+ width: 1.4rem;
margin-left: .5rem;
}
}
@@ -372,7 +372,7 @@
.certification {
img {
- width: 1.6rem;
+ width: 1.4rem;
margin-right: .5rem;
}
}
diff --git a/src/pages/me/Uploader.vue b/src/pages/me/Uploader.vue
index 95bac06..fa88b08 100644
--- a/src/pages/me/Uploader.vue
+++ b/src/pages/me/Uploader.vue
@@ -61,7 +61,7 @@
+
+
-
-
+
+ ZZZZZZZZZZ
+ 抖音扫一扫,立即关注我
+
+
+
+
+
+
+
+
+
+
扫一扫
+
+
+
+ 保存
+
抖音号:{{ localAuthor.unique_id }}
-
+
@@ -389,6 +389,18 @@ export default {
bus.on('baseSlide-end', () => this.canScroll = true)
},
methods: {
+ copy() {
+ const input = document.createElement('input');
+ input.setAttribute('readonly', 'readonly');
+ input.setAttribute('value', this.localAuthor.unique_id);
+ document.body.appendChild(input);
+ input.setSelectionRange(0, 9999);
+ if (document.execCommand('copy')) {
+ document.execCommand('copy');
+ this.$notice('已复制')
+ }
+ document.body.removeChild(input);
+ },
cancelFollow() {
this.localAuthor.is_follow = false
},