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.
shop-app/pages/account/message/list.vue

60 lines
1.2 KiB

<!--
* @Author: ch
* @Date: 2022-03-26 14:32:03
* @LastEditors: ch
* @LastEditTime: 2022-03-26 15:03:18
* @Description: file content
-->
<template>
<view>
<view class="msgItem" v-for="item in 5" :key="item">
<view class="msgItem--title">
<text>退款消息</text>
<text class="msgItem--time">03-23 00:00</text>
</view>
<view class="msgItem--con">
<image class="msgItem--img" src="@/static/testImg/3.png" mode="widthFix"/>
<view class="msgItem--desc">马士兵新款多线程与高并发专项训练突破课程书籍项训练突破课程书籍项训练突破</view>
</view>
</view>
</view>
</template>
<script>
export default {
}
</script>
<style lang="scss" scoped>
.msgItem{
padding: 40rpx 0 0 40rpx;
&--title{
display: flex;
justify-content: space-between;
align-items: center;
padding-right: 40rpx;
font-size: 32rpx;
color: #333;
}
&--time{
font-size: 24rpx;
color: #999;
}
&--con{
display: flex;
border-bottom: 1px solid #eee;
padding: 40rpx 0;
}
&--img{
width: 140rpx;
height: 140rpx;
border-radius: 12rpx;
margin-right: 40rpx;
}
&--desc{
width: 455rpx;
font-size: 28rpx;
line-height: 39rpx;
color: #666;
}
}
</style>