answer-dialogue.vue
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<template>
<view class="response-group inquire-group">
<view class="dialogue answer-inner">
<view class="top answer-name">我的名字</view>
<view class="answer-dialogue">您好,请问怎么提高访问量?</view>
</view>
<image class="avatar" style="margin-right: 0;" src="/static/images/useCoupon.png"></image>
</view>
</template>
<script setup>
import { onLoad } from '@dcloudio/uni-app'
onLoad(() => {
})
</script>
<style lang="scss">
.inquire-group {
@include flex();
.avatar {
@include common-icon-wh(96rpx);
margin-right: 20rpx;
}
.dialogue {
.top {
font-size: 24rpx;
}
.inquire {
width: 462rpx;
padding: 32rpx;
margin-top: 8rpx;
box-sizing: border-box;
border-radius: 0 16rpx 16rpx 16rpx;
background: #242228ff;
}
}
}
.response-group {
.answer-inner {
margin-left: auto;
.answer-name {
text-align: right;
}
}
.answer-dialogue {
width: 416rpx;
padding: 32rpx;
margin-top: 8rpx;
box-sizing: border-box;
border-radius: 16rpx 0 16rpx 16rpx;
background: #dda372ff;
}
}
</style>