洛阳学员端
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.

43 lines
793 B

10 months ago
10 months ago
10 months ago
  1. <template>
  2. <view class="tabCon">
  3. <view class="tab1">
  4. <view class="card" v-for="(item,index) in carList" :key="index">
  5. <view class="leftTxt">{{ item.licnum}}</view>
  6. <view class="rightTxt">{{ item.model }}</view>
  7. </view>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. props: ['carList']
  14. }
  15. </script>
  16. <style lang="scss" scoped>
  17. .tabCon {
  18. width: 100%;
  19. .tab1 {
  20. width: 100%;
  21. .card {
  22. height: 100rpx;
  23. background: #FFFFFF;
  24. border-radius: 16rpx;
  25. display: flex;
  26. align-items: center;
  27. justify-content: space-between;
  28. padding: 24rpx;
  29. border-bottom: 1rpx solid #f4f4f4;
  30. .leftTxt {
  31. font-size: 32rpx;
  32. color: $themC;
  33. font-weight: 500;
  34. }
  35. .rightTxt {
  36. font-size: 28rpx;
  37. color: #686B73;
  38. }
  39. }
  40. }
  41. }
  42. </style>