|
|
|
@ -113,8 +113,9 @@
@@ -113,8 +113,9 @@
|
|
|
|
|
<h6 class="common-title"> |
|
|
|
|
猜你喜欢<img src="~/assets/images/heart.png" alt="" /> |
|
|
|
|
</h6> |
|
|
|
|
<div> |
|
|
|
|
<div class="list" style="min-height: 100vh"> |
|
|
|
|
<div |
|
|
|
|
class="list-item" |
|
|
|
|
v-for="item in recommendArticles" |
|
|
|
|
:key="item.id" |
|
|
|
|
@click=" |
|
|
|
@ -142,6 +143,17 @@
@@ -142,6 +143,17 @@
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="stack-bottom"> |
|
|
|
|
<img class="s-left" :src="isPro ? qrcodeUrl : qrcodeUrlTest" alt="" /> |
|
|
|
|
<div class="s-right"> |
|
|
|
|
<img class="code" :src="isPro ? qrcodeUrl : qrcodeUrlTest" alt="" /> |
|
|
|
|
<div class="name"> |
|
|
|
|
微信扫一扫 |
|
|
|
|
<br /> |
|
|
|
|
获取最新糖尿病展示 |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div v-if="commentModelPopupShow" class="comment-model-popup"> |
|
|
|
|
<div class="mask" @click="commentModelPopupShow = false"></div> |
|
|
|
@ -228,7 +240,10 @@ export default {
@@ -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 {
@@ -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 {
@@ -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 {
@@ -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; |
|
|
|
|