You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
793 B
44 lines
793 B
<template>
|
|
<view class="tabCon">
|
|
<view class="tab1">
|
|
<view class="card" v-for="(item,index) in carList" :key="index">
|
|
<view class="leftTxt">{{ item.licnum}}</view>
|
|
<view class="rightTxt">{{ item.model }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: ['carList']
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.tabCon {
|
|
width: 100%;
|
|
.tab1 {
|
|
width: 100%;
|
|
.card {
|
|
height: 100rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 16rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 24rpx;
|
|
border-bottom: 1rpx solid #f4f4f4;
|
|
.leftTxt {
|
|
font-size: 32rpx;
|
|
color: $themC;
|
|
font-weight: 500;
|
|
}
|
|
.rightTxt {
|
|
font-size: 28rpx;
|
|
color: #686B73;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|