|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-03-23 10:07:48
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-04-09 15:03:52
|
|
|
|
|
* @LastEditTime: 2022-04-09 17:46:32
|
|
|
|
|
* @Description: file content
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
@ -21,23 +21,55 @@
|
|
|
|
|
<image class="sekill-title--more-icon" src="@/static/common/arrow.png"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="sekill--group">
|
|
|
|
|
<view>
|
|
|
|
|
<image class="sekill--item-img"></image>
|
|
|
|
|
<view class="sekill--item-pirce-box">
|
|
|
|
|
<text class="sekill--item-pirce-title">秒杀价</text>
|
|
|
|
|
<text class="sekill--item-pirce">¥29</text>
|
|
|
|
|
</view>
|
|
|
|
|
<text class="sekill--item-original-pirce">¥50</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view>
|
|
|
|
|
<image class="sekill--item-img"></image>
|
|
|
|
|
<view class="sekill--item-pirce-box">
|
|
|
|
|
<text class="sekill--item-pirce-title">秒杀价</text>
|
|
|
|
|
<text class="sekill--item-pirce">¥29</text>
|
|
|
|
|
</view>
|
|
|
|
|
<text class="sekill--item-original-pirce">¥50</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view>
|
|
|
|
|
<image class="sekill--item-img"></image>
|
|
|
|
|
<view class="sekill--item-pirce-box">
|
|
|
|
|
<text class="sekill--item-pirce-title">秒杀价</text>
|
|
|
|
|
<text class="sekill--item-pirce">¥29</text>
|
|
|
|
|
</view>
|
|
|
|
|
<text class="sekill--item-original-pirce">¥50</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
|
|
|
|
|
props : {
|
|
|
|
|
data : {
|
|
|
|
|
type : Array,
|
|
|
|
|
default : []
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed:{}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.sekill{
|
|
|
|
|
height: 384rpx;
|
|
|
|
|
height: 424rpx;
|
|
|
|
|
width: 690rpx;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 30rpx;
|
|
|
|
|
background: $color-grey0;
|
|
|
|
|
background: #fff;
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
&-title{
|
|
|
|
|
height: 38rpx;
|
|
|
|
|
height: 36rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
@ -53,23 +85,23 @@ export default {
|
|
|
|
|
line-height: 36rpx;
|
|
|
|
|
border-radius: 18rpx;
|
|
|
|
|
margin-left: 36rpx;
|
|
|
|
|
background: $color-yellow0;
|
|
|
|
|
background: #FFEDE9;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
&--time-name{
|
|
|
|
|
height: 100%;
|
|
|
|
|
padding: 0 22rpx 0 15rpx;
|
|
|
|
|
background: $color-yellow4;
|
|
|
|
|
background: #FF512B;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
color: $color-grey0;
|
|
|
|
|
color: #fff;
|
|
|
|
|
position: relative;
|
|
|
|
|
&::after{
|
|
|
|
|
display: block;
|
|
|
|
|
content: '';
|
|
|
|
|
width: 16rpx;
|
|
|
|
|
height: 36rpx;
|
|
|
|
|
background: $color-yellow4;
|
|
|
|
|
background: #FF512B;
|
|
|
|
|
transform: rotate(40deg);
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: -10rpx;
|
|
|
|
@ -80,14 +112,14 @@ export default {
|
|
|
|
|
&--time-time{
|
|
|
|
|
margin-right: 15rpx;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
color: $color-yellow4;
|
|
|
|
|
color: #FF512B;
|
|
|
|
|
position: relative;
|
|
|
|
|
&::before{
|
|
|
|
|
display: block;
|
|
|
|
|
content: '';
|
|
|
|
|
width: 14rpx;
|
|
|
|
|
height: 36rpx;
|
|
|
|
|
background: $color-yellow0;
|
|
|
|
|
background: #FFEDE9;
|
|
|
|
|
transform: rotate(40deg);
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: -52rpx;
|
|
|
|
@ -103,8 +135,8 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
&--more{
|
|
|
|
|
display: inline-block;
|
|
|
|
|
font-size: $font-size-sm;
|
|
|
|
|
color: $color-grey4;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
}
|
|
|
|
|
&--more-icon{
|
|
|
|
|
width: 10rpx;
|
|
|
|
@ -122,27 +154,29 @@ export default {
|
|
|
|
|
width: 200rpx;
|
|
|
|
|
height: 200rpx;
|
|
|
|
|
border-radius: 8rpx;
|
|
|
|
|
background: color-grey0-grey;
|
|
|
|
|
background: #F8F8F8;
|
|
|
|
|
}
|
|
|
|
|
&-pirce-box{
|
|
|
|
|
width: 140rpx;
|
|
|
|
|
width: 180rpx;
|
|
|
|
|
height: 44rpx;
|
|
|
|
|
line-height: 44rpx;
|
|
|
|
|
background: linear-gradient(90deg, #FFE7DE 0%, $color-grey0 100%);
|
|
|
|
|
background: linear-gradient(90deg, #FFE7DE 0%, #FFFFFF 100%);
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
padding-left:20rpx;
|
|
|
|
|
margin: 20rpx 0 10rpx 0;
|
|
|
|
|
}
|
|
|
|
|
&-pirce-title{
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
color: $color-grey5;
|
|
|
|
|
padding: 0 20rpx;
|
|
|
|
|
margin: 20rpx 0;
|
|
|
|
|
}
|
|
|
|
|
&-pirce{
|
|
|
|
|
color: $color-yellow4;
|
|
|
|
|
font-size: $font-size-lg;
|
|
|
|
|
color: #FF512B;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
}
|
|
|
|
|
&-original-pirce{
|
|
|
|
|
display: block;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
color: $color-grey4;
|
|
|
|
|
color: #999;
|
|
|
|
|
text-decoration: line-through;
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
|
|