car.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678
  1. <template>
  2. <view class="content">
  3. <view class="nodataBox" v-show="nodataShow||carList.length==0">
  4. <image src="http://dmsphoto.66km.com.cn/thFiles/3C95A4C5-73F8-4B34-902B-703B8A0825C9.png" mode="widthFix" class="nodataImg"></image>
  5. <view class="noTxt">暂无数据</view>
  6. </view>
  7. <view style="margin-top: -26rpx;"></view>
  8. <view class="carLine" v-for="(item,index ) in carList" @click="carlineFn(item)">
  9. <view class="carTop" >
  10. <view class="carCont">
  11. <view class="carModel">
  12. <image :src="item.BrandLogo" v-if="item.BrandLogo" mode="" class="carLogo"></image>
  13. <image v-else src="../../static/img/nocar.png" mode="" class="carLogo"></image>
  14. <view class="carModelCont">
  15. <view class="carMcTop">
  16. <view class="plateNumber">{{item.PlateNumber}}</view>
  17. <view class="carTime" v-if="item.carDetailInfo.carAge">{{item.carDetailInfo.carAge}}</view>
  18. <view class="carA">{{item.carType}}</view>
  19. </view>
  20. <view class="carMcTxt">{{item.CarModel}}</view>
  21. <view class="carTitleBox" v-if="item.carDetailInfo.labelName">
  22. <view class="carTitle" v-for="(v,i) in item.carDetailInfo.labelName.split(',')">{{v}}</view>
  23. </view>
  24. </view>
  25. <!-- <view v-if="item.carDetailInfo.NextAuditTime||item.carDetailInfo.InsuranceExpireDate||item.remindSheetInfo.length>0||item.carDetailInfo.NextCareTime"> -->
  26. <view>
  27. <image class="carUpimg" v-if="item.show" src="../../static/img/icon_arrow_up.png" mode=""></image>
  28. <image class="carUpimg" v-if="!item.show" src="../../static/img/icon_arrow_down.png" mode=""></image>
  29. </view>
  30. </view>
  31. <view class="carData">
  32. <view class="carDataLine" > 最新里程:
  33. <span v-if="item.Milage">{{item.Milage}}km</span>
  34. </view>
  35. <view class="carDataLine">累计消费:{{item.checkoutMoneySum}}</view>
  36. </view>
  37. <view class="carnotes">车辆备注:{{item.carDetailInfo.Comment}}</view>
  38. </view>
  39. </view>
  40. <view class="box" v-if="item.show">
  41. <view class="line">
  42. <view class="lineTop" v-show="item.carDetailInfo.NextAuditTime" @click.stop="carDfn1(item)">
  43. <view class="lineTop1">
  44. <view class="lineTopNs">
  45. <view class="nsTxt">年审日期</view>
  46. <view v-if="isDateGreater(item.carDetailInfo.NextAuditTime)">
  47. <span v-if="daysUntilDate(item.carDetailInfo.NextAuditTime)>30"></span>
  48. <view class="nsStatus" v-else>即将过期</view>
  49. </view>
  50. <view class="nsStatus" v-else>
  51. <span>已过期</span>
  52. </view>
  53. </view>
  54. <view class="lineTimeBox">
  55. <span>{{item.carDetailInfo.NextAuditTime}}</span>
  56. <image class="carUpimg" v-show="item.show2" src="../../static/img/icon_arrow_up.png" mode=""></image>
  57. <image class="carUpimg" v-show="!item.show2" src="../../static/img/icon_arrow_down.png" mode=""></image>
  58. </view>
  59. </view>
  60. <view class="lineTop2" v-show="item.show2">
  61. <view class="chaoqi" v-if="isDateGreater(item.carDetailInfo.NextAuditTime)">
  62. <span >距离天数:</span>
  63. {{daysUntilDate(item.carDetailInfo.NextAuditTime)}}天
  64. </view>
  65. <view class="chaoqi">
  66. <span v-if="!isDateGreater(item.carDetailInfo.NextAuditTime)">超期天数:{{daysUntilDate(item.carDetailInfo.NextAuditTime)}}天</span>
  67. </view>
  68. <view>
  69. <view class="lineBtn" @click.stop="sendChat(item,1)">发送提醒</view>
  70. </view>
  71. </view>
  72. </view>
  73. <view class="" style="border-top: 1px solid #EEEEEE;" v-show="item.carDetailInfo.NextCareTime">
  74. <view class="lineTop" @click.stop="carDfn5(item)">
  75. <view class="lineTop1">
  76. <view class="lineTopNs">
  77. <view class="nsTxt">保养提醒</view>
  78. <view v-if="isDateGreater(item.carDetailInfo.NextCareTime)">
  79. <span v-if="daysUntilDate(item.carDetailInfo.NextCareTime)>30"></span>
  80. <view class="nsStatus" v-else>即将过期</view>
  81. </view>
  82. <view class="nsStatus" v-else>
  83. <span>已过期</span>
  84. </view>
  85. </view>
  86. <view class="lineTimeBox">
  87. <span v-if="item.carDetailInfo.NextCareMilage">{{item.carDetailInfo.NextCareMilage}}km/</span>
  88. <span>{{item.carDetailInfo.NextCareTime}}</span>
  89. <image class="carUpimg" v-show="item.show5" src="../../static/img/icon_arrow_up.png" mode=""></image>
  90. <image class="carUpimg" v-show="!item.show5" src="../../static/img/icon_arrow_down.png" mode=""></image>
  91. </view>
  92. </view>
  93. <view class="lineTop2" v-show="item.show5">
  94. <view class="chaoqi" v-if="isDateGreater(item.carDetailInfo.NextCareTime)">
  95. <span >距离天数:</span>
  96. {{daysUntilDate(item.carDetailInfo.NextCareTime)}}天
  97. </view>
  98. <view class="chaoqi">
  99. <span v-if="!isDateGreater(item.carDetailInfo.NextCareTime)">超期天数:{{daysUntilDate(item.carDetailInfo.NextCareTime)}}天</span>
  100. </view>
  101. <view>
  102. <view class="lineBtn" @click.stop="sendChat(item,5)">发送提醒</view>
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. <view class="lineCont" v-show="item.carDetailInfo.InsuranceExpireDate" @click.stop="carDfn2(item)">
  108. <view class="lcLine">
  109. <view class="lineTop1">
  110. <view class="lineTopNs">
  111. <view class="nsTxt">保险提醒</view>
  112. <view v-if="isDateGreater(item.carDetailInfo.InsuranceExpireDate)">
  113. <span v-if="daysUntilDate(item.carDetailInfo.InsuranceExpireDate)>30"></span>
  114. <view class="nsStatus" v-else>即将过期</view>
  115. </view>
  116. <view class="nsStatus" v-else>
  117. <span>已过期</span>
  118. </view>
  119. </view>
  120. <view class="lineTimeBox" v-if="item.carDetailInfo.InsuranceExpireDate">
  121. <span>{{item.carDetailInfo.InsuranceExpireDate.slice(0,10)}}</span>
  122. <image class="carUpimg" v-show="item.show3" src="../../static/img/icon_arrow_up.png" mode=""></image>
  123. <image class="carUpimg" v-show="!item.show3" src="../../static/img/icon_arrow_down.png" mode=""></image>
  124. </view>
  125. </view>
  126. <view v-show="item.show3">
  127. <view class="carData">
  128. <view class="carDataLine">交强险到期:{{item.carDetailInfo.CompulsoryInsuranceTime}}</view>
  129. <view class="carDataLine">商业险到期:{{item.carDetailInfo.CommercialInsuranceTime}}</view>
  130. </view>
  131. <view class="carnotes">保险公司:{{item.carDetailInfo.inscName}}</view>
  132. <view class="lineTop2">
  133. <view class="chaoqi" v-if="isDateGreater(item.carDetailInfo.InsuranceExpireDate)">
  134. <span >距离天数:</span>
  135. {{daysUntilDate(item.carDetailInfo.InsuranceExpireDate)}}天
  136. </view>
  137. <view class="chaoqi" v-if="!isDateGreater(item.carDetailInfo.InsuranceExpireDate)">
  138. <span >超期天数:</span>
  139. {{daysUntilDate(item.carDetailInfo.InsuranceExpireDate)}}天
  140. </view>
  141. <view>
  142. <view class="lineBtn" @click.stop="sendChat(item,2)">发送提醒</view>
  143. </view>
  144. </view>
  145. </view>
  146. </view>
  147. </view>
  148. </view>
  149. <!-- 提醒商机 -->
  150. <view class="line" v-if="false">
  151. <view class="lineTop">
  152. <view class="lineTop1">
  153. <view class="lineTopNs">
  154. <view class="nsTxt">提醒商机</view>
  155. </view>
  156. <view class="lineTimeBox">
  157. <span style="color: #FF0000;">2条</span>
  158. <image class="carUpimg" src="../../static/img/icon_arrow_up.png" mode=""></image>
  159. </view>
  160. </view>
  161. </view>
  162. <view class="lineCont">
  163. <view class="lcLine">
  164. <view class="lineTop1">
  165. <view class="lineTopNs">
  166. <view class="nsTxt">提醒类别:机油滤清器</view>
  167. </view>
  168. </view>
  169. <view class="carData">
  170. <view class="carDataLine">下次服务日期:2024-02-12</view>
  171. <view class="carDataLine">下次服务里程:93843km</view>
  172. </view>
  173. <view class="carnotes">上次到店:2022-01-21</view>
  174. <view class="lineTop2">
  175. <view class="chaoqi">超期天数:</view>
  176. <view>
  177. <view class="lineBtn">发送提醒</view>
  178. </view>
  179. </view>
  180. </view>
  181. <view class="lcLine">
  182. <view class="lineTop1">
  183. <view class="lineTopNs">
  184. <view class="nsTxt">保养提醒</view>
  185. </view>
  186. </view>
  187. <view class="carData">
  188. <view class="carDataLine">下次服务日期:2024-02-12</view>
  189. <view class="carDataLine">下次服务里程:93843km</view>
  190. </view>
  191. <view class="carnotes">上次到店:2022-01-21</view>
  192. <view class="lineTop2">
  193. <view class="chaoqi">超期天数:10</view>
  194. <view>
  195. <view class="lineBtn">发送提醒</view>
  196. </view>
  197. </view>
  198. </view>
  199. </view>
  200. </view>
  201. <!-- 提醒商机 -->
  202. <!-- 检测异常商机 -->
  203. <view class="line" v-if="item.remindSheetInfo.length" @click.stop="">
  204. <view class="lineTop" @click.stop="carDfn4(item)">
  205. <view class="lineTop1">
  206. <view class="lineTopNs">
  207. <view class="nsTxt">检测异常商机</view>
  208. </view>
  209. <view class="lineTimeBox">
  210. <span style="color: #FF0000;">{{item.remindSheetInfo.length}}条</span>
  211. <image class="carUpimg" v-show="item.show4" src="../../static/img/icon_arrow_up.png" mode=""></image>
  212. <image class="carUpimg" v-show="!item.show4" src="../../static/img/icon_arrow_down.png" mode=""></image>
  213. </view>
  214. </view>
  215. </view>
  216. <view class="lineCont" v-show="item.show4">
  217. <view class="lcLine" v-for="(v,i) in item.remindSheetInfo">
  218. <view class="lineTop1">
  219. <view class="lineTopNs">
  220. <view class="nsTxt">{{v.CategoryName}}</view>
  221. </view>
  222. </view>
  223. <view class="carData">
  224. <view class="carDataLine">下次服务日期:{{v.NextServerDate}}</view>
  225. <view class="carDataLine" style="color: #FF0000;" v-if="!isDateGreater(v.NextServerDate)">超期天数:{{daysUntilDate(v.NextServerDate)}}</view>
  226. <view class="carDataLine" style="color: #FF0000;" v-if="isDateGreater(v.NextServerDate)">距离天数:{{daysUntilDate(v.NextServerDate)}}</view>
  227. </view>
  228. <view class="carnotes">检测结果:{{v.CheckResult}}</view>
  229. <view class="carData" style="padding-top: 16rpx;">
  230. <view class="carDataLine">检测日期:{{v.LastInTime.slice(0,10)}}</view>
  231. <view class="carDataLine" >检测里程: <span v-if="v.NextServerKm">{{v.NextServerKm}}km</span> </view>
  232. </view>
  233. <view class="carnotes">检测门店:{{v.LastShopName}}</view>
  234. <view class="lineTop2">
  235. <view class="chaoqi"></view>
  236. <view class="lineBtn" @click.stop="sendChat(v,4)">发送提醒</view>
  237. </view>
  238. </view>
  239. </view>
  240. </view>
  241. <!-- 检测异常商机 -->
  242. </view>
  243. </view>
  244. <view style="height: 40rpx;background-color: #fff;"></view>
  245. </view>
  246. </template>
  247. <script>
  248. export default {
  249. props:['token'],
  250. data() {
  251. return {
  252. carList:[],
  253. carInfo:'',
  254. nodataShow:false
  255. }
  256. },
  257. onLoad() {
  258. },
  259. computed: {
  260. // 计算属性来判断日期是否大于当前日期
  261. isDateGreater() {
  262. return (val)=>{
  263. const currentDate = new Date();
  264. const compareDate = new Date(val);
  265. return compareDate > currentDate;
  266. }
  267. },
  268. daysUntilDate() {
  269. return (val)=>{
  270. const today = new Date();
  271. const specificDate = new Date(val);
  272. const diffTime = Math.abs(today - specificDate);
  273. var time=diffTime / (1000 * 60 * 60 * 24);
  274. return parseInt(time);
  275. }
  276. }
  277. },
  278. methods: {
  279. sendChat(item,num){
  280. /* 保险:InsuranceExpireDate
  281. 未过期:您的爱车桂A2AQ02车险到期时间为2022-12-04,还有26天即将到期,请及时续保~
  282. 过期:您的爱车桂A2AQ02车险已于2022-11-05到期了,为了不影响车辆使用,请及时续保~
  283. 年审:NextAuditTime
  284. 未过期:您的爱车桂A2AQ02年审到期时间为2022-12-04,还有26天即将到期,请及时处理~
  285. 过期:您的爱车桂A2AQ02年审已于2022-11-05到期了,为了不影响车辆使用,请及时处理~*/
  286. var txt='';
  287. if(num==1){
  288. var state= this.isDateGreater(item.carDetailInfo.NextAuditTime)
  289. var day= this.daysUntilDate(item.carDetailInfo.NextAuditTime)
  290. if(state){
  291. if(day>30){
  292. txt='您的爱车'+item.PlateNumber+'年审到期时间为'+item.carDetailInfo.NextAuditTime+',还有'+day+'天到期,请及时续保~'
  293. }else{
  294. txt='您的爱车'+item.PlateNumber+'年审到期时间为'+item.carDetailInfo.NextAuditTime+',还有'+day+'天即将到期,请及时续保~'
  295. }
  296. }else{
  297. txt='您的爱车'+item.PlateNumber+'年审已于'+item.carDetailInfo.NextAuditTime+'过期,为了不影响车辆使用,请及时续保~'
  298. }
  299. }
  300. if(num==2){ //保险
  301. var state= this.isDateGreater(item.carDetailInfo.InsuranceExpireDate)
  302. var day= this.daysUntilDate(item.carDetailInfo.InsuranceExpireDate)
  303. if(state){
  304. if(day>30){
  305. txt='您的爱车'+item.PlateNumber+'车险到期时间为'+item.carDetailInfo.InsuranceExpireDate.slice(0,10)+',还有'+day+'天到期,请及时续保~'
  306. }else{
  307. txt='您的爱车'+item.PlateNumber+'车险到期时间为'+item.carDetailInfo.InsuranceExpireDate.slice(0,10)+',还有'+day+'天即将到期,请及时续保~'
  308. }
  309. }else{
  310. txt='您的爱车'+item.PlateNumber+'车险已于'+item.carDetailInfo.InsuranceExpireDate.slice(0,10)+'过期,为了不影响车辆使用,请及时续保~'
  311. }
  312. }
  313. if(num==4){ //检测异常
  314. var state= this.isDateGreater(item.NextServerDate)
  315. var day= this.daysUntilDate(item.NextServerDate)
  316. if(state){
  317. txt='您好,您的爱车'+item.PlateNumber+'距离下次'+item.CategoryName+'维修保养,还剩下'+day+'天了,请及时到店保养~'
  318. }else{
  319. //您好,您的爱车桂AXD021#检测部位#维修保养服务已超过预计下次服务日5天了,请及时到店保养~
  320. txt='您好,您的爱车'+item.PlateNumber+item.CategoryName+'维修保养服务已超过预计下次服务日'+day+'5天了,请及时到店保养~'
  321. }
  322. }
  323. if(num==5){
  324. var state= this.isDateGreater(item.carDetailInfo.NextCareTime)
  325. var day= this.daysUntilDate(item.carDetailInfo.NextCareTime)
  326. if(state){
  327. if(day>30){
  328. txt='您的爱车'+item.PlateNumber+'保养到期时间为'+item.carDetailInfo.NextCareTime+',还有'+day+'天到期,请及时保养~'
  329. }else{
  330. txt='您的爱车'+item.PlateNumber+'保养到期时间为'+item.carDetailInfo.NextCareTime+',还有'+day+'天即将到期,请及时保养~'
  331. }
  332. }else{
  333. txt='您的爱车'+item.PlateNumber+'保养已于'+item.carDetailInfo.NextCareTime+'过期,为了不影响车辆使用,请及时保养~'
  334. }
  335. }
  336. console.log(txt)
  337. /* uni.showToast({
  338. title: txt,
  339. icon: 'none',
  340. duration: 3000
  341. }); */
  342. //console.log(this.isDateGreater(item.NextAuditTime))
  343. // if(item.)
  344. this.$wx.invoke('sendChatMessage', {
  345. msgtype:"text", //消息类型,必填
  346. enterChat: true, //为true时表示发送完成之后顺便进入会话,仅移动端3.1.10及以上版本支持该字段
  347. text: {
  348. content:txt, //文本内容
  349. },
  350. /* news:
  351. {
  352. link: "http://qw.66km.com.cn", //H5消息页面url 必填
  353. title: "2", //H5消息标题
  354. desc: "23", //H5消息摘要
  355. imgUrl: "", //H5消息封面图片URL
  356. }, */
  357. }, function(res) {
  358. if (res.err_msg == 'sendChatMessage:ok') {
  359. //发送成功
  360. }else{
  361. /* uni.showToast({
  362. title: '发送失败',
  363. icon: 'none',
  364. duration: 3000
  365. }); */
  366. }
  367. })
  368. },
  369. carlineFn(item){
  370. if(item.carDetailInfo.NextAuditTime||item.carDetailInfo.InsuranceExpireDate||item.remindSheetInfo.length>0||item.carDetailInfo.NextCareTime){
  371. item.show=!item.show
  372. }else{
  373. uni.showToast({
  374. title: '暂无提醒',
  375. icon: 'none',
  376. duration: 3000
  377. });
  378. }
  379. },
  380. carDfn2(item){
  381. item.show3=!item.show3
  382. },
  383. carDfn1(item){
  384. item.show2=!item.show2
  385. },
  386. carDfn4(item){
  387. item.show4=!item.show4
  388. },
  389. carDfn5(item){
  390. item.show5=!item.show5
  391. },
  392. getdata(){
  393. this.extCarInfo()
  394. /* var that=this;
  395. this.$http('enterprise/wechat/extCustomerInfo', {
  396. corpID:'wpMGjbBgAA_zIu6wbKy48zFSbGiGeP8g',
  397. extUserId:'wmMGjbBgAA0JAbGD5Vu8BzEuYgZhvhOA',
  398. token:this.token
  399. }, 'GET').then(res => {
  400. this.carList=res.data.data.map
  401. }) */
  402. },
  403. extCarInfo(item){
  404. var that=this;
  405. this.customerId=uni.getStorageSync('customerId')
  406. if(!this.customerId){
  407. this.nodataShow=true
  408. }else{
  409. uni.showLoading({
  410. title: '加载中'
  411. });
  412. this.$http('enterprise/wechat/extCarInfo', {
  413. id:this.customerId,
  414. //token:this.token
  415. }, 'GET').then(res => {
  416. uni.hideLoading();
  417. res.data.forEach(item=>{
  418. item.show=false
  419. item.show2=false
  420. item.show3=false
  421. item.show4=false
  422. item.show5=false
  423. })
  424. this.carList=res.data
  425. })
  426. }
  427. }
  428. }
  429. }
  430. </script>
  431. <style scoped>
  432. .carTop{
  433. background: #fff;
  434. padding: 24rpx;
  435. /* padding-top: 0; */
  436. }
  437. .carCont{
  438. /* height: 305rpx; */
  439. background: linear-gradient( 180deg, #FFE9DB 0%, #FFF2EB 48%, #FFF8F4 100%);
  440. border-radius: 10rpx;
  441. padding-bottom: 20rpx;
  442. /* opacity: 0.7; */
  443. }
  444. .carCont .carData{
  445. padding-top: 20rpx;
  446. }
  447. .carLogo{
  448. width: 72rpx;
  449. height: 72rpx;
  450. border-radius: 50%;
  451. }
  452. .carUpimg{
  453. width: 26rpx;height: 16rpx;
  454. }
  455. .carModel{
  456. display: flex;
  457. padding-top: 24rpx;
  458. padding-left: 24rpx;
  459. }
  460. .carModelCont{
  461. width: 540rpx;
  462. padding-left: 12rpx;
  463. }
  464. .carMcTop{
  465. display: flex;
  466. }
  467. .plateNumber{
  468. font-weight: 500;
  469. font-size: 30rpx;
  470. color: #3C3C3C;
  471. line-height: 42rpx;
  472. }
  473. .carTime{
  474. height: 36rpx;
  475. background: #FF842D;
  476. border-radius: 4rpx;
  477. font-size: 24rpx;
  478. color: #FFFFFF;
  479. line-height: 38rpx;
  480. padding: 0 10rpx;
  481. margin-left: 10rpx;
  482. }
  483. .carA{
  484. height: 36rpx;
  485. background: #FFE26C;
  486. border-radius: 4rpx;
  487. font-size: 24rpx;
  488. color: #2A2623;
  489. line-height: 38rpx;
  490. padding: 0 10rpx;
  491. margin-left: 10rpx;
  492. }
  493. .carMcTxt{
  494. font-size: 24rpx;
  495. color: #666666;
  496. padding-top: 12rpx;
  497. white-space: nowrap; /* 不换行 */
  498. overflow: hidden; /* 隐藏超出的内容 */
  499. text-overflow: ellipsis; /* 用省略号表示被隐藏的部分 */
  500. width: 560rpx; /* 设置最大宽度以限制文本的显示长度 */
  501. }
  502. .carTitleBox{
  503. display: flex;padding-top: 12rpx;flex-wrap: wrap;
  504. }
  505. .carTitle{
  506. /* height: 36rpx; */
  507. border-radius: 4rpx;
  508. border: 1px solid #FF8113;
  509. /* line-height: 34rpx; */
  510. font-size: 24rpx;
  511. color: #FF8113;
  512. padding: 2rpx 8rpx;
  513. margin-right: 10rpx;
  514. margin-bottom: 10rpx;
  515. }
  516. .carModel{
  517. border-bottom: 1px solid #EFDFD6;
  518. padding-bottom: 20rpx;
  519. }
  520. .carData{
  521. display: flex;
  522. justify-content: space-between;
  523. font-size: 26rpx;
  524. color: #666666;
  525. /* padding-top: 18rpx; */
  526. line-height: 33rpx;
  527. padding-left: 20rpx;
  528. padding-right: 20rpx;
  529. }
  530. .carnotes{
  531. font-size: 26rpx;
  532. color: #666666;
  533. padding-top: 18rpx;
  534. line-height: 33rpx;
  535. padding-left: 20rpx;
  536. padding-right: 20rpx;
  537. }
  538. .box{
  539. padding: 0 24rpx;
  540. }
  541. .line{
  542. background: #fff;margin-top: 20rpx;
  543. border-radius: 10rpx;
  544. }
  545. .lineTop{
  546. padding: 30rpx 22rpx 0rpx 22rpx;
  547. }
  548. .lineTop1{
  549. display: flex;justify-content: space-between;
  550. padding-bottom: 20rpx;
  551. }
  552. .lineTopNs{
  553. display: flex;
  554. }
  555. .nsTxt{
  556. font-size: 30rpx;
  557. color: #3C3C3C;
  558. line-height: 36rpx;
  559. font-weight: 600;
  560. }
  561. .nsStatus{
  562. font-size: 24rpx;
  563. color: #FF0000;
  564. height: 36rpx;
  565. background: #FFF1F1;
  566. border-radius: 4rpx;
  567. line-height: 38rpx;
  568. padding: 0 10rpx;
  569. margin-left: 20rpx;
  570. }
  571. .lineTimeBox{
  572. line-height: 36rpx;color: #3C3C3C;display: flex;
  573. }
  574. .carUpimg{
  575. margin-left: 20rpx;margin-top: 8rpx;
  576. }
  577. .lineTop2{
  578. display: flex;justify-content: space-between;
  579. padding-bottom: 20rpx;
  580. margin-top: 4rpx;
  581. }
  582. .lineBtn{
  583. /* height: 52rpx; */
  584. border-radius: 28rpx;
  585. border: 1px solid #DDDDDD;
  586. /* line-height: 56rpx; */
  587. padding: 10rpx 20rpx;
  588. font-size: 26rpx;
  589. color: #3C3C3C;
  590. }
  591. .chaoqi{
  592. line-height: 56rpx;font-size: 26rpx;
  593. color: #FF0000;
  594. }
  595. .lineCont{
  596. }
  597. .lcLine{
  598. padding: 24rpx 20rpx 0 20rpx;
  599. border-top: 1px solid #EEEEEE;
  600. /* padding-bottom: 20rpx; */
  601. }
  602. .lcLine .carData{
  603. padding-left: 0;padding-right: 0;
  604. }
  605. .lcLine .carnotes{
  606. padding-left: 0;padding-right: 0;
  607. }
  608. .nodataImg{
  609. width: 400rpx;
  610. padding-top: 100rpx;
  611. }
  612. .noTxt{
  613. font-size: 32rpx;
  614. color: #999999;
  615. padding-top: 50rpx;
  616. }
  617. .nodataBox{
  618. text-align: center;
  619. background: #fff;
  620. }
  621. .carLine{
  622. margin-bottom: 20rpx;
  623. }
  624. </style>