wordInfo.vue
626 字节
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
<template>
<view class="wordInfo">
<text style="min-width: 160rpx;">车主:{{ userName }}</text>
<text>车辆类型:{{ carType }}</text>
<text class="applyTime">{{ applyTime }}</text>
</view>
</template>
<script setup>
defineProps({
carType: {
type: String,
default: ''
},
userName: {
type: String,
default: ''
},
applyTime: {
type: String,
default: ''
}
})
</script>
<style lang="scss" scoped>
.wordInfo{
position: relative;
display: flex;
align-items: center;
line-height: 26rpx;
color: #999;
font-size: 20rpx;
.applyTime{
position: absolute;
top: -20rpx;
right: 0;
}
}
</style>