engineOil.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <template>
  2. <view class="content">
  3. <view class="box">
  4. <view class="historyLine">
  5. <image src="http://img.db.66km.cn/carbrandlogo/B - 宝马.png" mode="" class="historylinecarImg"></image>
  6. <view class="historylinecar">华晨宝马iX3 G08 电动 HA001N0电动领先型 ( 改款 )(2021-2021)过长换行</view>
  7. </view>
  8. </view>
  9. <view class="cont">
  10. <view class="topBox">
  11. <view class="topLine">
  12. <image src="../../static/img/icon_baoyang.png" mode="" class="toplineImg"></image>
  13. <view class="topName">保养周期</view>
  14. </view>
  15. <view class="topsx"></view>
  16. <view class="topLine">
  17. <image src="../../static/img/icon_cheliang.png" mode="" class="toplineImg"></image>
  18. <view class="topName">车辆配置</view>
  19. </view>
  20. </view>
  21. <view class="jiyouBox">
  22. <view class="jiyouTop">
  23. <view class="jiyoutopTitle">机油推荐</view>
  24. <view class="jyzl">机油加注量:<span style="color: #FF4F00;">6.0L</span> </view>
  25. </view>
  26. <view class="jylineBox">
  27. <view class="jyline" v-for="(item,index) in 6">
  28. <view class="jyimgBox">
  29. <image src="http://dmsphoto.66km.com.cn/thFiles/1057BA84-E59D-47B7-9F66-73E3491A443E.jpg" mode="" class="jyimg"></image>
  30. </view>
  31. <view class="jyName">
  32. <span class="best">最佳</span>
  33. <span class="jyNametxt">安耐驰 全合成机油润滑油 5W-40 SM级 4L 汽车全合成机油润滑油 </span>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. </template>
  41. <script>
  42. export default {
  43. components: {
  44. },
  45. data() {
  46. return {
  47. }
  48. },
  49. onLoad(opt) {
  50. },
  51. methods: {
  52. }
  53. }
  54. </script>
  55. <style scoped>
  56. .content {
  57. min-height: 100vh;
  58. background: #F4F5F7;
  59. }
  60. .box {
  61. padding: 0 24rpx;
  62. background: #ffffff;
  63. }
  64. .historylinecarImg {
  65. width: 46rpx;
  66. height: 46rpx;
  67. }
  68. .historylinecar {
  69. font-weight: 400;
  70. font-size: 26rpx;
  71. color: #1A1A1A;
  72. line-height: 37rpx;
  73. width: 636rpx;
  74. }
  75. .historyLine {
  76. display: flex;
  77. justify-content: space-between;
  78. padding: 30rpx 0;
  79. border-top: 1rpx solid #EEEEEE;
  80. }
  81. .cont {
  82. padding: 30rpx 24rpx;
  83. }
  84. .toplineImg{
  85. width: 35rpx;
  86. height: 34rpx;
  87. }
  88. .topName{
  89. line-height: 34rpx;font-weight: 400;
  90. color: #FFFFFF;font-size: 28rpx;padding-left: 16rpx;
  91. }
  92. .topBox{
  93. width: 702rpx;
  94. height: 98rpx;
  95. background: #FFFFFF linear-gradient(132deg, #FF8635 0%, #FF4828 100%);
  96. border-radius: 16rpx;
  97. display: flex;justify-content: space-around;
  98. }
  99. .topsx{
  100. width: 2rpx;background: #ffffff;
  101. height: 54rpx;margin-top: 22rpx;
  102. }
  103. .topLine{
  104. display: flex;padding-top: 32rpx;
  105. }
  106. .jiyouTop{
  107. display: flex;justify-content: space-between;
  108. }
  109. .jiyouBox{
  110. margin-top: 30rpx;border-radius: 16rpx;
  111. background: #ffffff;padding: 30rpx;
  112. }
  113. .jiyoutopTitle{
  114. font-weight: 500;font-size: 28rpx;
  115. color: #1A1A1A;
  116. line-height: 40rpx;
  117. }
  118. .jyzl{
  119. font-weight: 400;line-height: 40rpx;
  120. color: #666666;font-size: 24rpx;
  121. }
  122. .jyimg{
  123. width: 302rpx;
  124. height: 302rpx;
  125. border-radius: 10rpx;
  126. }
  127. .jyline{
  128. width: 302rpx;padding-top: 30rpx;
  129. }
  130. .jyName{
  131. font-weight: 400;font-size: 22rpx;
  132. color: #1A1A1A;
  133. line-height:36rpx ;
  134. overflow: hidden;
  135. text-overflow: ellipsis;
  136. display: -webkit-box;
  137. -webkit-box-orient: vertical;
  138. -webkit-line-clamp: 2;
  139. padding-top: 10rpx;
  140. }
  141. .best{
  142. color: #FF4F00;border-radius: 6rpx;
  143. padding: 0 8rpx;border: 1px solid #FF4F00;
  144. }
  145. .jylineBox{
  146. display: flex;justify-content: space-between;flex-wrap: wrap;
  147. }
  148. .jyNametxt{
  149. }
  150. </style>