Authored by ityuany

推荐

- 图标更换
- 位置调整
... ... @@ -7,6 +7,7 @@
<div v-if="data.authStatus == 2" class="failed-cover">未审核通过</div>
<div v-if="cornerMark" class="article-corner-mark" :class="cornerMark"></div>
<ImageFormat :mode="1" :src="data.coverImage" :width="imgWidth" :height="Math.floor(data.scale * imgWidth)"></ImageFormat>
<div v-if="data.recommendFlag" class="rec-flag"></div>
</div>
<div v-if="data.content" class="description" @click="onClick('article')">
<p>{{data.content}}</p>
... ... @@ -23,7 +24,7 @@
</div>
</div>
</div>
<div v-if="data.recommendFlag" class="rec-flag"></div>
</div>
</template>
... ... @@ -124,14 +125,14 @@ export default {
}
.rec-flag {
width: 70px;
height: 28px;
width: 48px;
height: 48px;
position: absolute;
right: 0;
top: 10px;
left: 10px;
bottom: 10px;
z-index: 1;
background-image: url("~statics/image/userpage/rec-flg.png");
background-size: contain;
background-image: url("~statics/image/userpage/great_ic@3x.png");
background-size: cover;
}
.action-article {
... ...