carConfiguration.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <view class="carBrand">{{info.brand}}</view>
  5. <view class="carName">{{info.manufactor}}-{{info.carSeries}}-{{info.salesName}}</view>
  6. </view>
  7. <view class="box">
  8. <view class="line">
  9. <view class="lineLeft">品牌</view>
  10. <view class="lineRight">{{info.brand}}</view>
  11. </view>
  12. <view class="line">
  13. <view class="lineLeft">车型</view>
  14. <view class="lineRight">{{info.carModel}}</view>
  15. </view>
  16. <view class="line">
  17. <view class="lineLeft">销售名称</view>
  18. <view class="lineRight">{{info.salesName}}</view>
  19. </view>
  20. <view class="line">
  21. <view class="lineLeft">款型年份</view>
  22. <view class="lineRight">{{info.listedYear}}</view>
  23. </view>
  24. <view class="line">
  25. <view class="lineLeft">生产年份</view>
  26. <view class="lineRight">{{info.productionYear}}</view>
  27. </view>
  28. <view class="line">
  29. <view class="lineLeft">停产年份</view>
  30. <view class="lineRight">{{info.discontinuationYear}}</view>
  31. </view>
  32. <view class="line">
  33. <view class="lineLeft">排量</view>
  34. <view class="lineRight">{{info.brakeoilqty}}</view>
  35. </view>
  36. <view class="line">
  37. <view class="lineLeft">进气形式</view>
  38. <view class="lineRight">{{info.intakeForm}}</view>
  39. </view>
  40. <view class="line">
  41. <view class="lineLeft">燃油类型</view>
  42. <view class="lineRight">{{info.fuelLabeling}}</view>
  43. </view>
  44. <view class="line">
  45. <view class="lineLeft">发动机型号</view>
  46. <view class="lineRight">{{info.engineDescription}}</view>
  47. </view>
  48. </view>
  49. </view>
  50. </template>
  51. <script>
  52. export default {
  53. components: {
  54. },
  55. data() {
  56. return {
  57. nLevelIDs:'',
  58. info:'',
  59. }
  60. },
  61. onLoad(opt) {
  62. this.nLevelIDs=opt.nLevelID;
  63. this.queryCarModelBynLevelID()
  64. },
  65. methods: {
  66. queryCarModelBynLevelID(){
  67. uni.showLoading({ title: '加载中'});
  68. this.$http('matchingByOpen/queryCarModelBynLevelID', {
  69. nLevelIDs:this.nLevelIDs,
  70. },'POST').then(res => {
  71. uni.hideLoading();
  72. this.info=res.data
  73. })
  74. }
  75. }
  76. }
  77. </script>
  78. <style scoped>
  79. .top{
  80. background: url('http://dmsphoto.66km.com.cn/thFiles/AFCBDA6F-03C0-46C0-9090-9A34C125D140.png') no-repeat;
  81. background-size: 100%;
  82. width: 750rpx;height: 250rpx;
  83. background-position: right bottom;
  84. }
  85. .carBrand{
  86. font-weight: 500;font-size: 44rpx;
  87. color: #FFFFFF;padding-left: 24rpx;
  88. line-height: 62rpx;padding-top: 30rpx;
  89. }
  90. .carName{
  91. font-weight: 400;font-size: 28rpx;
  92. color: #FFFFFF;padding-left: 24rpx;
  93. line-height: 40rpx;padding-top: 26rpx;
  94. }
  95. .box{
  96. width: 750rpx;
  97. background: #FFFFFF;
  98. padding-top: 20rpx;
  99. border-radius: 24rpx 24rpx 0rpx 0rpx;
  100. margin-top: -40rpx;
  101. }
  102. .line{
  103. display: flex;font-size: 28rpx;line-height: 40rpx;padding: 20rpx 24rpx;
  104. }
  105. .lineLeft{
  106. color: #999999;width: 180rpx;
  107. }
  108. .lineRight{
  109. color: #3C3C3C;
  110. }
  111. </style>