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
779 B
44 lines
779 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 {
|
|
margin-top: 24rpx;
|
|
height: 100rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 16rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 24rpx;
|
|
.leftTxt {
|
|
font-size: 32rpx;
|
|
color: $themC;
|
|
font-weight: 500;
|
|
}
|
|
.rightTxt {
|
|
font-size: 28rpx;
|
|
color: #686B73;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|