wordInfo.vue 755 字节
<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>