vinRecord.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <template>
  2. <view>
  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. .des{
  32. text-align: center;
  33. color: #999;
  34. font-size: 12px;
  35. padding: 20rpx 15rpx;
  36. }
  37. .list-item{
  38. margin: 30rpx;
  39. border:2rpx solid #f8f8f8;
  40. box-shadow: 2rpx 2rpx 6rpx #eee;
  41. border-radius: 20rpx;
  42. padding: 20rpx 15rpx;
  43. > view{
  44. padding: 0 10rpx;
  45. &:last-child{
  46. >view{
  47. padding: 10rpx 0;
  48. }
  49. }
  50. }
  51. .time-text{
  52. font-size: 10px;
  53. color: #999;
  54. }
  55. &:first-child{
  56. margin-top: 10rpx;
  57. }
  58. &:active{
  59. opacity: 0.6;
  60. transform:scale(0.9);
  61. }
  62. }
  63. </style>