Showing
5 changed files
with
16 additions
and
2 deletions
@@ -149,6 +149,7 @@ export default { | @@ -149,6 +149,7 @@ export default { | ||
149 | clear() { | 149 | clear() { |
150 | this.clearTimestamp = new Date().getTime(); | 150 | this.clearTimestamp = new Date().getTime(); |
151 | this.noMore = false; | 151 | this.noMore = false; |
152 | + this.listHeight = 0; | ||
152 | 153 | ||
153 | for (let i = 0; i < this.cols; i++) { | 154 | for (let i = 0; i < this.cols; i++) { |
154 | this.visibleItems[i].length = 0; | 155 | this.visibleItems[i].length = 0; |
@@ -110,7 +110,7 @@ export default { | @@ -110,7 +110,7 @@ export default { | ||
110 | display: block; | 110 | display: block; |
111 | width: 230px; | 111 | width: 230px; |
112 | height: 230px; | 112 | height: 230px; |
113 | - background-image: url('~statics/image/userpage/follow-empty.jpg'); | 113 | + background-image: url('~statics/image/userpage/follow-empty.png'); |
114 | background-size: 100% 100%; | 114 | background-size: 100% 100%; |
115 | margin: 0 auto 10px; | 115 | margin: 0 auto 10px; |
116 | } | 116 | } |
@@ -23,6 +23,7 @@ | @@ -23,6 +23,7 @@ | ||
23 | </div> | 23 | </div> |
24 | </div> | 24 | </div> |
25 | </div> | 25 | </div> |
26 | + <div v-if="data.recommendFlag" class="rec-flag"></div> | ||
26 | </div> | 27 | </div> |
27 | </template> | 28 | </template> |
28 | 29 | ||
@@ -97,14 +98,26 @@ export default { | @@ -97,14 +98,26 @@ export default { | ||
97 | width: 100%; | 98 | width: 100%; |
98 | padding: 5px; | 99 | padding: 5px; |
99 | font-size: 24px; | 100 | font-size: 24px; |
101 | + position: relative; | ||
100 | 102 | ||
101 | .wf-item-mid { | 103 | .wf-item-mid { |
102 | border-radius: 2PX; | 104 | border-radius: 2PX; |
103 | - overflow: hidden; | ||
104 | position: relative; | 105 | position: relative; |
106 | + overflow: hidden; | ||
105 | background-color: #fff; | 107 | background-color: #fff; |
106 | } | 108 | } |
107 | 109 | ||
110 | + .rec-flag { | ||
111 | + width: 70px; | ||
112 | + height: 28px; | ||
113 | + position: absolute; | ||
114 | + right: 0; | ||
115 | + top: 10px; | ||
116 | + z-index: 1; | ||
117 | + background-image: url('~statics/image/userpage/rec-flg.png'); | ||
118 | + background-size: contain; | ||
119 | + } | ||
120 | + | ||
108 | .action-article { | 121 | .action-article { |
109 | position: absolute; | 122 | position: absolute; |
110 | top: 0; | 123 | top: 0; |
apps/statics/image/userpage/follow-empty.png
0 → 100755
![](/fe/yoho-community-web/raw/81b86ffde90ac52f18fe5603e0824a3b9f9f9149/apps/statics/image/userpage/follow-empty.png)
3.48 KB
apps/statics/image/userpage/rec-flg.png
0 → 100644
![](/fe/yoho-community-web/raw/81b86ffde90ac52f18fe5603e0824a3b9f9f9149/apps/statics/image/userpage/rec-flg.png)
2.86 KB
-
Please register or login to post a comment