60 lines
1.0 KiB
Vue
60 lines
1.0 KiB
Vue
|
<template>
|
|||
|
<view :class="['content',{'gray':store.isgray==1}]">
|
|||
|
<view class="list">
|
|||
|
<view class="item" v-for="item,i in 3" :key="i">
|
|||
|
<view class="left f-row aic">
|
|||
|
<view class="avatar f-row aic">
|
|||
|
<image src="../../static/system.png" mode=""></image>
|
|||
|
</view>
|
|||
|
<view class="content">
|
|||
|
你今天在干嘛呢?为什么这么久不回我信息,真的生气了
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</view>
|
|||
|
</template>
|
|||
|
|
|||
|
<script setup>
|
|||
|
import {
|
|||
|
useStore
|
|||
|
} from '@/store';
|
|||
|
const store = useStore();
|
|||
|
</script>
|
|||
|
<style>
|
|||
|
page {
|
|||
|
background-color: #f8f8f8;
|
|||
|
}
|
|||
|
</style>
|
|||
|
|
|||
|
<style lang="scss" scoped>
|
|||
|
.content{
|
|||
|
padding-bottom: 120rpx;
|
|||
|
}
|
|||
|
.list {
|
|||
|
padding: 40rpx 30rpx;
|
|||
|
|
|||
|
.item:not(:first-child) {
|
|||
|
margin-top: 60rpx;
|
|||
|
}
|
|||
|
|
|||
|
.item {
|
|||
|
image {
|
|||
|
width: 86rpx;
|
|||
|
height: 86rpx;
|
|||
|
border-radius: 50%;
|
|||
|
}
|
|||
|
|
|||
|
.left {
|
|||
|
.content {
|
|||
|
padding: 24rpx 30rpx;
|
|||
|
background: #FFFFFF;
|
|||
|
border-radius: 0rpx 16rpx 16rpx 16rpx;
|
|||
|
margin-left: 24rpx;
|
|||
|
font-size: 28rpx;
|
|||
|
color: #333333;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
</style>
|