120 lines
2.2 KiB
Vue
120 lines
2.2 KiB
Vue
<template>
|
||
<view :class="['content',{'gray':store.isgray==1}]">
|
||
<view class="list">
|
||
<view class="item" v-for="item,i in 14" :key="i">
|
||
<view class="left f-row aic" v-show="i%2==0">
|
||
<view class="avatar f-row aic">
|
||
<image src="../../static/system.png" mode=""></image>
|
||
</view>
|
||
|
||
<view class="content">
|
||
你今天在干嘛呢?为什么这么久不回我信息,真的生气了
|
||
</view>
|
||
</view>
|
||
<view class="right f-row aic" v-show="i%2!=0">
|
||
<view class="content">
|
||
请问如何退款?
|
||
</view>
|
||
<view class="avatar f-row aic">
|
||
<image src="" mode=""></image>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<view class="input_box f-row aic jce">
|
||
<input type="text" placeholder="请输入内容......" placeholder-style="font-size: 28rpx;color: #999999;" />
|
||
<view class="send">
|
||
发送
|
||
</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;
|
||
}
|
||
|
||
.input_box {
|
||
position: fixed;
|
||
width: 750rpx;
|
||
height: 120rpx;
|
||
background: #FFFFFF;
|
||
bottom: 0;
|
||
left: 0;
|
||
|
||
input {
|
||
width: 467rpx;
|
||
height: 80rpx;
|
||
background: #F8F8F8;
|
||
border-radius: 8rpx;
|
||
padding: 0 30rpx;
|
||
|
||
}
|
||
|
||
.send {
|
||
width: 133rpx;
|
||
height: 80rpx;
|
||
background: #01508B;
|
||
border-radius: 8rpx;
|
||
text-align: center;
|
||
line-height: 80rpx;
|
||
font-size: 28rpx;
|
||
color: #FFFFFF;
|
||
}
|
||
|
||
}
|
||
|
||
.list {
|
||
padding: 40rpx 30rpx;
|
||
|
||
.item:not(:first-child) {
|
||
margin-top: 60rpx;
|
||
}
|
||
|
||
.item {
|
||
image {
|
||
width: 86rpx;
|
||
height: 86rpx;
|
||
border-radius: 50%;
|
||
background-color: maroon;
|
||
}
|
||
|
||
.left {
|
||
.content {
|
||
padding: 24rpx 30rpx;
|
||
background: #FFFFFF;
|
||
border-radius: 0rpx 16rpx 16rpx 16rpx;
|
||
margin-left: 24rpx;
|
||
font-size: 28rpx;
|
||
color: #333333;
|
||
}
|
||
}
|
||
|
||
.right {
|
||
justify-content: flex-end;
|
||
|
||
.content {
|
||
margin-right: 24rpx;
|
||
padding: 24rpx 30rpx;
|
||
background: #01508B;
|
||
border-radius: 16rpx 0rpx 16rpx 16rpx;
|
||
font-size: 28rpx;
|
||
color: #FFFFFF;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
</style> |