group.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <view class="topCont">
  5. <view class="carBox">
  6. <image src="../../static/img/nocar.png" mode="" class="carLogo"></image>
  7. <view class="carTxt">华晨宝马iX3 G08 电动 HA001N0电动领先型 ( 改款 )(2021-2021)过长换行</view>
  8. <image src="../../static/img/jt.png" mode="" class="carJt"></image>
  9. </view>
  10. <view class="vinBox">
  11. <view class="vinB">VIN</view>
  12. <view class="vinNum">HNUJN8888999H9098</view>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="mainBox">
  17. <view class="maintitle">总组</view>
  18. <view class="mainLine" v-for="(item,index) in 5" @click="goTwo">
  19. <view class="lineName">电气设备,排气和加热</view>
  20. <image src="../../static/img/jt.png" mode="" class="mainLineJt"></image>
  21. </view>
  22. </view>
  23. </view>
  24. </template>
  25. <script>
  26. export default {
  27. data() {
  28. return {
  29. title: 'Hello'
  30. }
  31. },
  32. onLoad() {
  33. },
  34. methods: {
  35. goTwo(){
  36. uni.navigateTo({
  37. url:'modelTwo'
  38. })
  39. }
  40. }
  41. }
  42. </script>
  43. <style scoped>
  44. .content{
  45. background: #F4F5F7;
  46. min-height: 100vh;
  47. }
  48. .top{
  49. padding: 20rpx 0;
  50. }
  51. .topCont{
  52. width: 750rpx;
  53. height: 185rpx;
  54. background: #FFFFFF;
  55. }
  56. .carLogo{
  57. width: 72rpx;height: 72rpx;
  58. }
  59. .carTxt{
  60. font-size: 28rpx;
  61. font-family: PingFangSC-Medium, PingFang SC;
  62. font-weight: 500;
  63. color: #333333;
  64. line-height: 36rpx;
  65. width: 560rpx;
  66. }
  67. .carJt{
  68. width: 25rpx;
  69. height: 24rpx;
  70. margin-top: 6rpx;
  71. }
  72. .carBox{
  73. display: flex;
  74. justify-content: space-between;
  75. padding: 30rpx 24rpx 24rpx 24rpx;
  76. }
  77. .vinBox{
  78. display: flex;
  79. padding-left: 120rpx;
  80. }
  81. .vinB{
  82. background: #F19D01;
  83. width: 60rpx;
  84. height: 30rpx;
  85. text-align: center;
  86. line-height: 30rpx;
  87. color: #FFFFFF;
  88. font-size: 22rpx;
  89. border-radius: 5rpx;
  90. }
  91. .vinNum{
  92. color: #999999;font-size: 24rpx;line-height: 30rpx;padding-left: 10rpx;
  93. }
  94. .mainBox{
  95. background: #FFFFFF;
  96. }
  97. .maintitle{
  98. font-size: 28rpx;
  99. font-family: PingFangSC-Medium, PingFang SC;
  100. font-weight: 500;
  101. color: #333333;
  102. text-align: center;
  103. line-height: 88rpx;
  104. border-bottom: 1px solid #EEEEEE;
  105. }
  106. .mainLineJt{
  107. width: 25rpx;
  108. height: 24rpx;
  109. margin-top: 8rpx;
  110. }
  111. .mainLine{
  112. display: flex;
  113. justify-content: space-between;
  114. border-bottom: 1px solid #EEEEEE;
  115. padding: 29rpx 24rpx;
  116. }
  117. .lineName{
  118. font-size: 28rpx;
  119. font-family: PingFangSC-Regular, PingFang SC;
  120. font-weight: 400;
  121. color: #333333;
  122. line-height: 40rpx;
  123. }
  124. </style>