wordInfo.vue
755 字节
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
<template>
<view class="wordInfo u-line-1">
<text style="min-width: 140rpx; margin-right: 20rpx;">车主:{{ userName }}</text>
<text style="min-width: 160rpx; margin-right: 20rpx;">联系电话:{{ phone }}</text>
<text>上年承保公司:{{ company }}</text>
</view>
</template>
<script setup>
const props = defineProps({
phone: {
type: String,
default: ''
},
userName: {
type: String,
default: ''
},
company: {
type: String,
default: ''
}
})
console.log(props.phone, props.userName)
</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>