You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
2.5 KiB
123 lines
2.5 KiB
<template>
|
|
<view class="record">
|
|
<view class="item" v-for="o in 10" :key="o">
|
|
<view class="hd">
|
|
<image src="@/static/home/phone.jpg"></image>
|
|
<view class="info">
|
|
<view class="a">iphone13 绿色 128GBiphone13 绿色 128GBiphone13 绿色 128GBiphone13 绿色 128GB</view>
|
|
<view class="b"><text>倒计时</text><u-count-down :timestamp="timestamp" format="HH:mm:ss"></u-count-down></view>
|
|
<view class="c">预约价:¥<text>3599</text></view>
|
|
</view>
|
|
<view class="status">已预约</view>
|
|
</view>
|
|
<view class="bd">
|
|
<view class="btn">取消</view>
|
|
<view class="btn btn-01">详情</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
timestamp: 24*3600*1000,
|
|
};
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.record{
|
|
padding: 0 16rpx 20rpx;
|
|
overflow: hidden;
|
|
.item{
|
|
width: 100%;
|
|
padding: 0 30rpx;
|
|
box-sizing: border-box;
|
|
background-color: #fff;
|
|
margin-top: 20rpx;
|
|
.hd{
|
|
display: flex;
|
|
align-items: flex-start;
|
|
overflow: hidden;
|
|
padding: 15rpx 0;
|
|
overflow: hidden;
|
|
border-bottom: 1px solid #F2F2F2;
|
|
image{
|
|
width: 190rpx;
|
|
height: 190rpx;
|
|
margin-right: 20rpx;
|
|
}
|
|
.info{
|
|
flex: 1;
|
|
max-width: 320rpx;
|
|
.a{
|
|
white-space: nowrap;
|
|
font-size: 32rpx;
|
|
font-weight: 400;
|
|
color: #1E1E1E;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
margin-top: 30rpx;
|
|
}
|
|
.b{
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 10rpx;
|
|
text{
|
|
color: #949494;
|
|
margin-right: 20rpx;
|
|
}
|
|
font-size: 28rpx;
|
|
font-weight: 400;
|
|
color: #FF0E0E;
|
|
}
|
|
.c{
|
|
margin-top: 10rpx;
|
|
text{
|
|
font-size: 36rpx;
|
|
font-weight: 600;
|
|
color: #F21A1C;
|
|
}
|
|
font-size: 28rpx;
|
|
font-weight: 400;
|
|
color: #FF0E0E;
|
|
}
|
|
}
|
|
.status{
|
|
flex: 1;
|
|
text-align: right;
|
|
font-size: 32rpx;
|
|
font-weight: 400;
|
|
color: #529C30;
|
|
}
|
|
}
|
|
.bd{
|
|
padding: 30rpx 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
.btn{
|
|
width: 158rpx;
|
|
line-height: 62rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 62rpx;
|
|
text-align: center;
|
|
border: 1px solid #C6C6C6;
|
|
font-size: 28rpx;
|
|
font-weight: 400;
|
|
color: #3D3D3D;
|
|
margin-left: 20rpx;
|
|
&-01{
|
|
background: #F19592;
|
|
border-color: #F19592;
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
|