Commit a10d60d9 by 陈超

T

parent e33a1741
...@@ -739,9 +739,14 @@ div::-webkit-scrollbar { ...@@ -739,9 +739,14 @@ div::-webkit-scrollbar {
height: 6.25rem; height: 6.25rem;
margin: 1rem 1.5rem; margin: 1rem 1.5rem;
position: relative; position: relative;
background-size:100% 100%; }
background-repeat: no-repeat;
.vip_bg {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
} }
.hint_top { .hint_top {
......
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
</div> </div>
</div> </div>
</van-sticky> </van-sticky>
<div class="vip_content" :style="currentBg"> <div class="vip_content">
<van-image class="vip_bg" :src="currentBg" width="100%" height="100%" ></van-image>
<div class="layout_h"> <div class="layout_h">
<van-image src="{:getUserFace($user['uid'],b)}" round width="32" height="32" ></van-image> <van-image src="{:getUserFace($user['uid'],b)}" round width="32" height="32" ></van-image>
<div class="text_16_600 color_333333 self_center" style="margin-left: 0.5rem;">{:getUserName($user['uid'])}</div> <div class="text_16_600 color_333333 self_center" style="margin-left: 0.5rem;">{:getUserName($user['uid'])}</div>
...@@ -209,9 +210,7 @@ ...@@ -209,9 +210,7 @@
computed: { computed: {
currentBg: function() { currentBg: function() {
let opt = this.options[this.tab] let opt = this.options[this.tab]
return { return "__THEME__/img/" + opt.bg
background: "url(__THEME__/img/" + opt.bg + ")"
}
}, },
currentHint: function() { currentHint: function() {
let opt = this.options[this.tab] let opt = this.options[this.tab]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment