|
@@ -30,7 +30,7 @@
|
|
|
<div class="mini-img-group">
|
|
|
<img :src="item.img" alt="" @error="handleError">
|
|
|
<i class="word-type" :class="'el-icon-jy-' + item.type" ></i>
|
|
|
- <span v-if="item.productType === 1" class="word-vip-mark">会员免费</span>
|
|
|
+ <span class="type-tag" :class="item.productType === 2 ? 'boutique' : 'free'">{{item.productType === 2 ? '付费精品' : '会员免费'}}</span>
|
|
|
</div>
|
|
|
<div class="word-file-name">{{ item.title }}</div>
|
|
|
</div>
|
|
@@ -611,22 +611,30 @@ export default {
|
|
|
right: 4px;
|
|
|
bottom: 2px;
|
|
|
}
|
|
|
- .word-vip-mark{
|
|
|
+ &>img{
|
|
|
+ width: 100%;
|
|
|
+ height: 184px;
|
|
|
+ border: 1px solid #ECECEC;
|
|
|
+ border-radius: 4px;
|
|
|
+ }
|
|
|
+ .type-tag {
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
top: 0;
|
|
|
padding: 2px 5px;
|
|
|
+ border-radius: 4px 0px 9px 0px;
|
|
|
font-size: 11px;
|
|
|
line-height: 14px;
|
|
|
- color: #fff;
|
|
|
- border-radius: 4px 0px 9px 0px;
|
|
|
- background: linear-gradient(to right, #FF7C32 0%, #F33838 100%);
|
|
|
- }
|
|
|
- &>img{
|
|
|
- width: 100%;
|
|
|
- height: 184px;
|
|
|
- border: 1px solid #ECECEC;
|
|
|
- border-radius: 4px;
|
|
|
+
|
|
|
+ &.free {
|
|
|
+ background: linear-gradient(to right, #FF7C32 0%, #F33838 100%);
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ &.boutique{
|
|
|
+ border: 0.5px solid #D69E55;
|
|
|
+ background: #FAE7CA;
|
|
|
+ color: #C26F33;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.word-file-name{
|