vinRecord.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <template>
  2. <view class="vinRecord">
  3. <view class="des">仅可查看最近7天的VIN查询记录</view>
  4. <view class="list-box" v-for="item in 35">
  5. <view class="list-item flex align_center justify_between">
  6. <view>
  7. <u-image shape="circle" src="@/static/share1.jpg" width='90' height="90"></u-image>
  8. </view>
  9. <view>
  10. <view class="flex align_center justify_between">
  11. <text class="vin-text">LFV2A21K0G4053021</text>
  12. <text class="time-text">2022-05-21 15:23:33</text>
  13. </view>
  14. <view>马自达 CX-5(KE 2012-2017) 2.0L | 手自一体 2014款 都市型</view>
  15. </view>
  16. </view>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. data() {
  23. return {
  24. }
  25. },
  26. methods: {
  27. }
  28. }
  29. </script>
  30. <style lang="less">
  31. .vinRecord{
  32. background: #f8f8f8;
  33. .des{
  34. text-align: center;
  35. color: #999;
  36. font-size: 12px;
  37. padding: 20rpx 15rpx;
  38. }
  39. .list-item{
  40. margin: 20rpx 30rpx;
  41. border:2rpx solid #f8f8f8;
  42. box-shadow: 2rpx 2rpx 6rpx #eee;
  43. border-radius: 20rpx;
  44. padding: 20rpx 15rpx;
  45. background: #ffffff;
  46. > view{
  47. padding: 0 10rpx;
  48. &:last-child{
  49. >view{
  50. padding: 10rpx 0;
  51. }
  52. }
  53. }
  54. .time-text{
  55. font-size: 10px;
  56. color: #999;
  57. }
  58. &:first-child{
  59. margin-top: 10rpx;
  60. }
  61. &:active{
  62. opacity: 0.6;
  63. transform:scale(0.9);
  64. }
  65. }
  66. }
  67. </style>