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.
 
 
 
 
mianxueyoupin/pages/other/redRocket.vue

108 lines
1.8 KiB

<template>
<view class="redRocket">
<view class="order">
红包20
</view>
<view class="list">
<view class="title">
<text>红包明细</text>
<view class="date">
<text>{{year}}{{month}}</text>
<u-icon name="play-right-fill" color="#333333" size="17"></u-icon>
</view>
</view>
<view class="listContent">
<view class="listItem" v-for="(item,index) in 6" :key="index">
<text class="topic">注册赠送 +30</text>
<text class="date">9月1日</text>
</view>
</view>
</view>
</view>
</template>
<script>
export default{
data(){
return{
year:0,
month:0,
}
},
methods:{
},
onLoad(){
this.year = new Date().getFullYear()
this.month = new Date().getMonth()+1
}
}
</script>
<style scoped lang="scss">
.redRocket{
background-color: #F2F3F4;
min-height: calc(100vh);
padding:24rpx;
.order{
background: #FFFFFF;
border-radius: 20rpx;
padding: 30rpx;
font-family: Source Han Sans SC;
font-weight: 400;
font-size: 28rpx;
color: #222222;
}
.list{
padding:30rpx;
background: #FFFFFF;
border-radius: 20rpx;
margin-top:20rpx;
.title{
display:flex;
align-items: center;
justify-content: space-between;
&>text{
font-family: Source Han Sans SC;
font-weight: bold;
font-size: 30rpx;
color: #222222;
}
.date{
display: flex;
align-items: center;
text{
margin-right:19rpx;
}
font-family: Source Han Sans SC;
font-weight: 400;
font-size: 28rpx;
color: #666666;
}
}
.listContent{
.listItem{
padding:40rpx 0;
border-bottom: 1px solid #EAEAEA;
.topic{
font-size: 28rpx;
color: #222222;
}
.date{
font-weight: 400;
font-size: 28rpx;
color: #999999;
}
}
}
}
}
</style>