[修改优惠券管理,添加我的优惠券,修改签到页面]
This commit is contained in:
@@ -6,15 +6,16 @@
|
||||
<image class="cover--src" :src="item.cover" mode="aspectFill" />
|
||||
</view>
|
||||
<template v-if='notag === ""'>
|
||||
<span class='is_self'
|
||||
v-if='item.specal_tags.is_self'>{{item.specal_tags.is_self}}</span>
|
||||
<span class='is_self' v-if='item.specal_tags.is_self'>{{item.specal_tags.is_self}}</span>
|
||||
</template>
|
||||
|
||||
<template v-if='notag === ""'>
|
||||
<span class='is_allow_values' v-if='item.specal_tags.is_allow_values'>
|
||||
<image src="/static/imgs/baodan_hot.png" mode="widthFix" />
|
||||
</span>
|
||||
</template>
|
||||
<view class="content">
|
||||
<view class="title">
|
||||
<template v-if='notag === ""'>
|
||||
<span class='is_allow_values'
|
||||
v-if='item.specal_tags.is_allow_values'>{{item.specal_tags.is_allow_values}}</span>
|
||||
</template>
|
||||
{{item.name}}
|
||||
</view>
|
||||
<view class="content-flex">
|
||||
@@ -24,10 +25,10 @@
|
||||
<view class="price cny" v-if="priceType === 'CNY'">
|
||||
<text>¥</text>{{item.price.price_min}}
|
||||
</view>
|
||||
<view class="sales" v-if="item.price.pv>0">
|
||||
<view class="sales">
|
||||
<slot name="statistics" :value="item">
|
||||
<!-- 月销量{{item.sales}} -->
|
||||
贡献值:{{item.price.pv}} <image style="width: 30rpx;" src="/static/icons/crystal-icon.png" mode="widthFix" />
|
||||
月销量{{item.sales}}
|
||||
<!-- 贡献值:{{item.price.pv}} <image style="width: 30rpx;" src="/static/icons/crystal-icon.png" mode="widthFix" /> -->
|
||||
</slot>
|
||||
</view>
|
||||
</view>
|
||||
@@ -96,7 +97,7 @@
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 20rpx;
|
||||
background-image: linear-gradient(to bottom, #ee4c47, #9e312f);
|
||||
background-image: linear-gradient(to bottom, #ee4c47, #f80000);
|
||||
// background-color: #ee4c47;
|
||||
box-shadow: 0 4rpx 10rpx 2rpx rgba($color: #000, $alpha: .3);
|
||||
color: #fff;
|
||||
@@ -105,6 +106,16 @@
|
||||
border-radius: 0 0 50rpx 50rpx;
|
||||
}
|
||||
|
||||
.is_allow_values {
|
||||
position: absolute;
|
||||
top: 264rpx;
|
||||
left: 0;
|
||||
|
||||
image {
|
||||
width: 180rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.cover {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
@@ -129,15 +140,15 @@
|
||||
text-align: justify;
|
||||
@extend .ellipsis;
|
||||
|
||||
.is_allow_values {
|
||||
color: #fff;
|
||||
background-image: linear-gradient(to left, $mian-color, $mian-color-light);
|
||||
padding: 2rpx 14rpx;
|
||||
font-size: 20rpx;
|
||||
text-align: center;
|
||||
border-radius: 30rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
// .is_allow_values {
|
||||
// color: #fff;
|
||||
// background-image: linear-gradient(to left, $mian-color, $mian-color-light);
|
||||
// padding: 2rpx 14rpx;
|
||||
// font-size: 20rpx;
|
||||
// text-align: center;
|
||||
// border-radius: 30rpx;
|
||||
// margin-right: 20rpx;
|
||||
// }
|
||||
}
|
||||
|
||||
.content-flex {
|
||||
@@ -167,10 +178,6 @@
|
||||
color: $text-gray;
|
||||
line-height: 50rpx;
|
||||
text-align: right;
|
||||
@extend .nowrap;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user