改进豆瓣评分样式

This commit is contained in:
haiyangcui
2020-10-31 22:04:25 +01:00
parent 2af85fbfd1
commit d54dab4e90
3 changed files with 5 additions and 4 deletions

View File

@@ -318,11 +318,12 @@
top: 5%;
right: -40%;
width: 100%;
background-color: #2f90b9;
color: #cdcdcd;
background-color: #111111aa;
color:#2f90b9;
height: 30px;
line-height: 30px;
font-size: 14px;
font-weight: bolder;
text-align: center;
transform: rotate(45deg);
}

View File

@@ -78,7 +78,7 @@
<div class="card">
<div class="img">
<div class="rate" v-if="props.data.rate && props.data.rate !== '暂无评分'">
<span>豆瓣: {{props.data.rate}}</span>
<span>{{props.data.rate}}</span>
</div>
<img style="width: 100%" :src="props.data.detail.pic" alt="" @load="$refs.waterfall.refresh()" @click="detailEvent(props.data)">
<div class="operate">

View File

@@ -85,7 +85,7 @@
<div class="card">
<div class="img">
<div class="rate" v-if="props.data.rate && props.data.rate !== '暂无评分'">
<span>豆瓣: {{props.data.rate}}</span>
<span>{{props.data.rate}}</span>
</div>
<div class="update" v-if="props.data.hasUpdate">
<span>有更新</span>