|
@@ -7,6 +7,7 @@
|
|
|
<div class="filter-cell-title">
|
|
|
<div style="flex-shrink: 0">
|
|
|
<span class="cell-title-left">{{ title }}</span>
|
|
|
+ <span v-if="isVip" class="v-vip-icon"></span>
|
|
|
<span v-if="isTag" class="jy-tag">
|
|
|
<slot name="tag">开通</slot>
|
|
|
</span>
|
|
@@ -59,6 +60,10 @@ export default {
|
|
|
isLink: {
|
|
|
type: Boolean,
|
|
|
default: false
|
|
|
+ },
|
|
|
+ isVip: {
|
|
|
+ type: Boolean,
|
|
|
+ default: false
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -99,5 +104,14 @@ export default {
|
|
|
.filter-cell-label {
|
|
|
margin-top: 2px;
|
|
|
}
|
|
|
+ .v-vip-icon{
|
|
|
+ display: inline-block;
|
|
|
+ width: 14px;
|
|
|
+ height: 14px;
|
|
|
+ margin-left: 2px;
|
|
|
+ background: url(@/assets/image/icon/vip/v_icon.png) no-repeat center;
|
|
|
+ background-size: contain;
|
|
|
+ margin-bottom: 1px;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|