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.

consumption-record.vue 991B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <template>
  2. <view class='content'>
  3. <view class='search_wrap'>
  4. <input type="text" placeholder='搜索ETC卡号'/><button size='mini'>搜索</button>
  5. </view>
  6. <view class='item'>
  7. <view class='time'><text>时间:2021-07-10 09:37:22</text><text>¥5000</text></view>
  8. <view>ETC卡号:52011328220200045994</view>
  9. </view>
  10. </view>
  11. </template>
  12. <script>
  13. </script>
  14. <style scoped>
  15. .content{
  16. /* background-color:#f6f6f6; */
  17. min-height:100vh;
  18. padding: 0 30rpx;
  19. overflow: hidden;
  20. font-size: 32rpx;
  21. }
  22. .search_wrap{
  23. display:flex;
  24. margin:20rpx 0;
  25. }
  26. .search_wrap>input{
  27. background-color:rgb(238,240,237);
  28. width: 76%;
  29. height: 40rpx;
  30. line-height: 40rpx;
  31. padding: 10rpx 10rpx;
  32. border-radius: 10rpx 0 0 10rpx;
  33. }
  34. .item{
  35. width:100%;
  36. border:1rpx solid rgb(203,203,203);
  37. border-radius:10rpx;
  38. box-sizing: border-box;
  39. padding: 30rpx 20rpx;
  40. margin-top:30rpx;
  41. }
  42. .time{
  43. display:flex;
  44. margin-bottom: 16rpx;
  45. justify-content: space-between;
  46. }
  47. </style>