From 43dac8dd80cff4d777bba14fff085c3420d36ac3 Mon Sep 17 00:00:00 2001 From: kola-web Date: Tue, 10 Jun 2025 18:18:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E7=AB=A0=E8=AF=A6=E6=83=85&=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E8=AF=A6=E6=83=85=E5=A2=9E=E5=8A=A0=E4=BA=8C=E7=BB=B4?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/article/_id.vue | 47 +++++++++++++++++++++++++++++++++++---- src/pages/video/_id.vue | 56 +++++++++++++++++++++++++++++++++++++---------- 2 files changed, 88 insertions(+), 15 deletions(-) diff --git a/src/pages/article/_id.vue b/src/pages/article/_id.vue index 7fa619d..1be94b2 100755 --- a/src/pages/article/_id.vue +++ b/src/pages/article/_id.vue @@ -113,8 +113,9 @@
猜你喜欢
-
+
+ +
+ +
+ 微信扫一扫 +
+ 获取最新糖尿病展示 +
+
+
@@ -228,7 +240,10 @@ export default { inCollect: false, isFixed: false, right: 89, - commentMaxHeight: 300 + commentMaxHeight: 300, + isPro: false, + qrcodeUrl: require('~/assets/images/follow_qrcode.png'), + qrcodeUrlTest: require('~/assets/images/follow_qrcode_test.png') }; }, @@ -257,6 +272,7 @@ export default { }, mounted() { + this.isPro = process.env.VUE_APP_TITLE === 'production'; const that = this; this.getComment(); this.$nextTick(() => { @@ -682,8 +698,8 @@ export default { height: 20px; } } - & > div { - & > div { + .list { + .list-item { display: block; position: relative; border-bottom: 1px solid $bg-color; @@ -721,6 +737,29 @@ export default { } } } + .stack-bottom { + position: sticky; + bottom: 0; + left: 0; + font-size: 16px; + color: #000; + box-shadow: 10px 10px 10px #ccc; + display: flex; + padding: 20px; + .s-left { + flex-shrink: 0; + width: 120px; + height: 120px; + } + .s-right { + flex:1; + text-align: center; + .code { + width: 80px; + height: 80px; + } + } + } } .comment-model-popup { position: fixed; diff --git a/src/pages/video/_id.vue b/src/pages/video/_id.vue index 9234d92..d9d3cf5 100755 --- a/src/pages/video/_id.vue +++ b/src/pages/video/_id.vue @@ -15,16 +15,14 @@ >
-

- 点击关注微信公众号,查看更多专业资讯 -

+
+ +
+ 微信扫码关注糖尿病网公众号 +
+ 专业资讯随时看 +
+