reportUni.vue 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075
  1. <template>
  2. <view class="content">
  3. <view class="car-report-main newjcbgD">
  4. <view class="car-report newcar-report">
  5. <view class="top" :style="{background:'#'+themeColor}">
  6. <view class="orderState">
  7. <image src="../../static/img/icon_order_def.png" mode="" style="width: 44rpx;height: 44rpx;"></image>
  8. <view class="SheetState" >检测报告</view>
  9. </view>
  10. </view>
  11. <!-- 店铺信息 -->
  12. <view class="shopBox">
  13. <image src="../../static/img/icon_store.png" mode="" class="shopBoximg"></image>
  14. <view class="shopCont">
  15. <view class="shopName">{{detailData.shopName}}</view>
  16. <!-- <view class="Address">
  17. {{orderData.shopInfo.provinceName}}{{orderData.shopInfo.cityName}}{{orderData.shopInfo.areaName}}{{orderData.shopInfo.address}}
  18. </view> -->
  19. </view>
  20. <!-- <view class="shopRightBox" @click="map">
  21. <image src="../../static/img/icon_ditu.png" mode="" class="shopRightImg"></image>
  22. <view class="shopRihgtTxt">地图</view>
  23. </view> -->
  24. <!-- <view class="shopsx"></view> -->
  25. <view class="shopRightBox" @click="call">
  26. <image src="../../static/img/icon_phone.png" mode="" class="shopRightImg"></image>
  27. <view class="shopRihgtTxt">电话</view>
  28. </view>
  29. </view>
  30. <!-- 车辆信息 -->
  31. <view class="carinfoBox" >
  32. <view class="carinfoBoxTop">
  33. <img :src="detailData.brandLogo" alt="" class="shopBoximg" v-if="detailData.brandLogo">
  34. <img src="../../static/timg/nocar.png" alt="" class="shopBoximg" v-else>
  35. <view class="carinfoBoxTopCont">
  36. <view class="carinfoBoxTopContTop">
  37. <view class="carInfoplateNumber">{{detailData.licensePlateNumber}}</view>
  38. <view class="carTnfomilage" v-if="detailData.currentMileage">{{detailData.currentMileage}}km</view>
  39. </view>
  40. <view class="carInfocarModel" v-if="detailData.carModel">{{detailData.carModel}}</view>
  41. <view class="carInfocarModel" v-else>暂无</view>
  42. <view class="workBox">
  43. <image src="../../static/img/icon_order_jiedai.png" mode="" style="width: 27rpx; height: 29rpx;"></image>
  44. <view class="workName" v-if="detailData.workerName">{{detailData.workerName}}</view>
  45. <view class="workName" v-if="detailData.time">{{detailData.time}}</view>
  46. </view>
  47. </view>
  48. </view>
  49. <view class="car-report-item questionBox">
  50. <view class="car-report-statistics">
  51. <view class="car-report-statistics-item">
  52. <p style="font-size: 24rpx;">急需处理</p>
  53. <h3 class="report-color-red" style="font-size: 28rpx;">
  54. {{detailData.ultimateOutcome&&detailData.ultimateOutcome[3]&&detailData.ultimateOutcome[3].length||0}}
  55. </h3>
  56. </view>
  57. <view class="car-report-statistics-item">
  58. <p style="font-size: 24rpx;">密切关注</p>
  59. <h3 class="report-color-yellow" style="font-size: 28rpx;">
  60. {{detailData.ultimateOutcome&&detailData.ultimateOutcome[2]&&detailData.ultimateOutcome[2].length||0}}
  61. </h3>
  62. </view>
  63. <view class="car-report-statistics-item">
  64. <p style="font-size: 24rpx;">状态良好</p>
  65. <h3 class="report-color-green" style="font-size: 28rpx;">
  66. {{detailData.ultimateOutcome&&detailData.ultimateOutcome[1]&&detailData.ultimateOutcome[1].length||0}}
  67. </h3>
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. <view v-for="status in listData">
  73. <view :key="status.valueType">
  74. <view class="car-report-item flex"
  75. :class="{'report-warning':status.valueType===2,'report-error':status.valueType===3,'report-ok':status.valueType===1}"
  76. @click="ckd(status)">
  77. <view class="report-status-count">{{status.value&&status.value.length||0}}项</view>
  78. <view class="report-status">
  79. <h3>{{status.name}}</h3>
  80. <p v-if="status.valueType===1&&!status.show">点击查看详情</p>
  81. <p v-else>{{status.message}}</p>
  82. </view>
  83. <span class="icon-select-down" v-if="status.show">
  84. <image src="../../static/img/icon_arrow_up.png" mode=""
  85. style="width: 30rpx; height: 15rpx;"></image>
  86. </span>
  87. <span class="icon-select-down" v-else>
  88. <image src="../../static/img/icon_arrow_down.png" mode=""
  89. style="width: 30rpx; height: 15rpx;"></image>
  90. </span>
  91. </view>
  92. <!-- <collapse-transition> -->
  93. <view v-show="status.show">
  94. <view class="car-report-item" v-for="item in status.value" :key="item.name">
  95. <view class="car-report-item-title"
  96. :class="{'warning-title':status.valueType===2,'error-title':status.valueType===3,'ok-title':status.valueType===1}">
  97. <h3 class="carjcdItemname">{{item.name}}</h3>
  98. <h4 class="carjcZt"><i class="title-icon"></i>{{status.name}}</h4>
  99. </view>
  100. <view class="car-report-item-info">
  101. <view v-if="item.SectionType===0">
  102. <p v-for="(item2,index) in item.value" :key="index"><span
  103. class="carjcitemSpan">{{item2.ItemName}}:</span>{{item2.Value}}
  104. <i class="info-status"
  105. :class="{'report-color-red':item2.ValueType===3,'report-color-yellow':item2.ValueType===2}">{{item2.ValueType===3?'急需处理':item2.ValueType===2?'密切关注':'状态良好'}}</i>
  106. </p>
  107. <p v-if="item.Comment"><span class="leftTitle">备注:</span>{{item.Comment}}
  108. </p>
  109. <p v-if="item.Describe"><span class="leftTitle">说明:</span>{{item.Describe}} </p>
  110. </view>
  111. <view class="warning-lamp" v-if="item.SectionType===2">
  112. <span v-for="(item2,index) in item.value" :key="index"
  113. class="lamp-item error-lamp"
  114. :class="[{'check':item2.IsSelect},{'img4':(index+1)%4==0}]"
  115. v-bind:style="{'background-image':'url('+item2.ItemIcon+')'}"></span>
  116. </view>
  117. <view v-if="item.SectionType===1">
  118. <view class="car-report-rv">
  119. <img :src="item.SectionPic" style="width: 100%; height: 100%;" alt="图片加载失败">
  120. </view>
  121. <view class="car-report-rv-buttom"></view>
  122. </view>
  123. <view class="video-button carjcvideo-button" v-if="item.VideoName&&!item.showVideo">
  124. <view class="video-play" @click="ckVideo(item)"></view>
  125. {{item.VideoName}}
  126. </view>
  127. <view class="image-list">
  128. <view class="image-list-item" v-for="(file,index) in item.photoPath"
  129. :key="file.id">
  130. <img :src="file" v-preview="file" :alt="`查看图片${index+1}`"
  131. preview-title-enable="true" preview-nav-enable="true" />
  132. </view>
  133. </view>
  134. <view class="video-wrapper" v-if="item.showVideo">
  135. <video :src="item.VideoURL"></video>
  136. <!-- <video-player class="vjs-custom-skin" :options="getPlayerOptions(item.VideoURL)"></video-player> -->
  137. </view>
  138. <view class="car-report-remarks" v-if="item.SectionType&&item.Comment">
  139. <p><span>备注:</span>{{item.Comment}} </p>
  140. </view>
  141. </view>
  142. </view>
  143. </view>
  144. <!-- </collapse-transition> -->
  145. </view>
  146. </view>
  147. </view>
  148. </view>
  149. <!-- 手机号授权 -->
  150. <view class="authorizBox" v-if="authorizShow" @click="authorizShow=false">
  151. <view class="authorizCont" @click.stop="">
  152. <view class="authorizName">{{wxOpenData.miniAppName}}</view>
  153. <view class="authorizMs">您好,欢迎访问本店,授权手机号登录能获取我们最新的促销活动哦~</view>
  154. <button class="authorizContbutton" type="default" open-type="getPhoneNumber"
  155. @getphonenumber="decryptPhoneNumber">授权</button>
  156. </view>
  157. <view style="text-align: center;padding-top: 56rpx;">
  158. <image src="../../../static/timg/icon_guanbi@2x.png" mode="" class="authorizCloseImg"></image>
  159. </view>
  160. </view>
  161. </view>
  162. </template>
  163. <script>
  164. export default {
  165. data() {
  166. return {
  167. detailData: {},
  168. listData: {},
  169. id: '',
  170. userInfo: '',
  171. ext: '',
  172. wxOpenData: '',
  173. authorizShow: false,
  174. code: '',
  175. }
  176. },
  177. onLoad(opt) {
  178. this.id = opt.id;
  179. this.userInfo = this.$store.state.userInfo;
  180. this.ext = this.$common.getExtStoreId();
  181. if (this.userInfo) {
  182. if (this.id) {
  183. this.getDetail()
  184. }
  185. } else {
  186. this.$common.automaticlogin().then(val => {
  187. this.userInfo = this.$store.state.userInfo;
  188. this.wxOpenData = this.$store.state.wxOpenData;
  189. this.themeColor = uni.getStorageSync("themeColor");
  190. if (this.id) {
  191. this.getDetail()
  192. }
  193. })
  194. }
  195. },
  196. methods: {
  197. call() {
  198. uni.makePhoneCall({
  199. phoneNumber: this.detailData.mobilePhone
  200. });
  201. },
  202. decryptPhoneNumber: function(e) {
  203. console.log(e);
  204. this.code = e.detail.code
  205. this.wxPhoneLogin()
  206. this.authorizShow = false;
  207. },
  208. wxPhoneLogin() {
  209. var that = this;
  210. this.$http('miniApp2/sys/wxPhoneLogin', {
  211. appId: this.ext.appId,
  212. unionId: this.ext.unionId,
  213. code: this.code,
  214. openId: this.wxOpenData.openid
  215. }, 'POST').then(res => {
  216. var data = res.data;
  217. if (data.loginInfo) {
  218. this.userInfo = data.loginInfo.openUser;
  219. this.wxOpenData = data.loginInfo;
  220. this.$store.commit('mutationswxOpenData', data.loginInfo)
  221. this.$store.commit('mutationsuserInfo', this.userInfo)
  222. this.getDetail()
  223. }
  224. })
  225. },
  226. ckd(status) {
  227. status.show = !status.show
  228. },
  229. ckVideo(item) {
  230. console.log("点击视频")
  231. item.showVideo = !item.showVideo
  232. },
  233. getPlayerOptions(url) {
  234. return {
  235. // videojs options
  236. muted: true,
  237. language: 'zh',
  238. width: document.documentElement.clientWidth - 40,
  239. height: (document.documentElement.clientWidth - 40) / 16 * 9,
  240. playbackRates: [0.7, 1.0, 1.5, 2.0],
  241. sources: [{
  242. type: 'video/mp4',
  243. src: url
  244. }]
  245. }
  246. },
  247. getDetail() {
  248. this.$http('opencheckSheet/getTestReportDetails', {
  249. sheetId: this.id
  250. }, 'GET').then(res => {
  251. let data = [{
  252. name: '急需处理',
  253. value: res.data.ultimateOutcome[3],
  254. valueType: 3,
  255. message: '以下项存在异常,请尽快去处理哟~',
  256. show: true
  257. }, {
  258. name: '密切关注',
  259. value: res.data.ultimateOutcome[2],
  260. valueType: 2,
  261. message: '以下项需保持关注~',
  262. show: true
  263. }, {
  264. name: '状态良好',
  265. value: res.data.ultimateOutcome[1],
  266. valueType: 1,
  267. message: '以下项没有异常,请保持定期检测哟~',
  268. show: false
  269. }]
  270. data.forEach((item, index) => {
  271. item.value && item.value.forEach((item2, index2) => {
  272. this.$set(item2, 'name', Object.keys(item2)[0])
  273. this.$set(item2, 'value', item2[Object.keys(item2)[0]])
  274. this.$set(item2, 'showVideo', false)
  275. this.$set(item2, 'VideoName', item2.value[0].VideoName)
  276. this.$set(item2, 'VideoURL', item2.value[0].VideoURL)
  277. this.$set(item2, 'photoPath', item2.value[0].photoPath && item2.value[
  278. 0].photoPath.split(',') || [])
  279. this.$set(item2, 'Comment', item2.value[0].Comment)
  280. this.$set(item2, 'Describe', item2.value[0].Describe)
  281. this.$set(item2, 'SectionType', item2.value[0].SectionType)
  282. this.$set(item2, 'SectionPic', item2.value[0].SectionPic)
  283. })
  284. })
  285. console.log(data)
  286. this.detailData = res.data
  287. this.listData = data
  288. })
  289. }
  290. }
  291. }
  292. </script>
  293. <style scoped lang="scss">
  294. .image-list {
  295. display: block;
  296. }
  297. .image-list-item {
  298. vertical-align: top;
  299. position: relative;
  300. display: inline-block;
  301. width: 33%;
  302. margin: 4rpx auto;
  303. }
  304. .remove {
  305. position: absolute;
  306. text-align: center;
  307. line-height: 20rpx;
  308. border-radius: 50%;
  309. font-size: 20rpx;
  310. font-weight: 700;
  311. color: rgb(255, 255, 255);
  312. right: 10%;
  313. top: 0px;
  314. height: 20rpx;
  315. width: 20rpx;
  316. background-color: gray;
  317. display: block;
  318. }
  319. img {
  320. display: block;
  321. width: 85rpx;
  322. height: 85rpx;
  323. vertical-align: center;
  324. border: 1px solid rgba(247, 247, 247, 1);
  325. border-radius: 10rpx;
  326. object-fit: contain;
  327. cursor: pointer;
  328. }
  329. .newjcbgD .newcar-report {
  330. // background: url('http://dmsphoto.66km.com.cn/thFiles/58BF776D-0B1D-420A-A7C1-BAE6FA7E8695.png') no-repeat;
  331. background-size: 100%;
  332. position: relative;
  333. background: #F7F7F7;
  334. }
  335. .newcar-reportTs {
  336. font-size: 44rpx;
  337. color: #ffffff;
  338. font-weight: 600;
  339. position: absolute;
  340. top: 50rpx;
  341. left: 24rpx;
  342. }
  343. .car-report {
  344. // background: url("http://dmsphoto.66km.com.cn/thFiles/B5701B43-38A7-48A9-928D-7C8CCCE750D6.png") 100% -70px no-repeat;
  345. background-size: contain;
  346. padding: 0 20rpx 20rpx 20rpx;
  347. }
  348. .car-report-title {
  349. margin-top: 140rpx;
  350. }
  351. .report-title-box {
  352. h4 {
  353. margin-left: 10rpx;
  354. margin-bottom: 30rpx;
  355. .car-list-container-title {
  356. h5,
  357. h3,
  358. .km-con {
  359. color: white;
  360. }
  361. }
  362. }
  363. }
  364. .car-list-container-icon {
  365. width: 72rpx;
  366. height: 72rpx;
  367. display: inline-block;
  368. }
  369. .car-list-container-title {
  370. display: inline-block;
  371. padding-left: 10rpx;
  372. >h5 {
  373. height: 36rpx;
  374. font-size: 32rpx;
  375. font-weight: 600;
  376. color: rgba(51, 51, 51, 1);
  377. line-height: 36rpx;
  378. display: inline-block;
  379. margin-right: 10rpx;
  380. }
  381. .km-con {
  382. height: 33rpx;
  383. font-size: 24rpx;
  384. font-weight: 400;
  385. color: rgba(102, 102, 102, 1);
  386. line-height: 33rpx;
  387. border-radius: 5rpx;
  388. border: 2rpx solid rgba(221, 221, 221, 1);
  389. display: inline-block;
  390. padding: 2rpx 11rpx;
  391. transform: translateY(-4rpx);
  392. }
  393. >h3 {
  394. width: 550rpx;
  395. height: 33rpx;
  396. font-size: 24rpx;
  397. font-weight: 400;
  398. color: rgba(153, 153, 153, 1);
  399. line-height: 33rpx;
  400. }
  401. }
  402. .car-report-item {
  403. background-color: #fff;
  404. padding: 30rpx 20rpx;
  405. box-shadow: 0px 0px 10rpx 0px rgba(153, 153, 153, 0.16);
  406. border-radius: 10rpx;
  407. margin-bottom: 20rpx;
  408. position: relative;
  409. .car-report-item-info {
  410. padding: 15rpx 0;
  411. .car-report-rv {
  412. width: 331rpx;
  413. height: 465rpx;
  414. margin: 10rpx auto;
  415. position: relative;
  416. }
  417. .car-report-rv-buttom {
  418. width: 480rpx;
  419. height: 70rpx;
  420. background: url("http://dmsphoto.66km.com.cn/thFiles/1A42D7CB-072B-4565-95BA-878FA340B852.png") 100% 100% no-repeat;
  421. background-size: contain;
  422. margin: 10rpx auto;
  423. }
  424. .car-report-remarks {
  425. border-top: 2px solid #EEEEEE;
  426. padding-top: 10rpx;
  427. margin-top: 10rpx;
  428. margin-bottom: -10rpx;
  429. }
  430. .video-wrapper {
  431. margin-top: 20rpx;
  432. //border-radius:20px;
  433. object-fit: fill;
  434. overflow: hidden;
  435. .vjs-paused {
  436. overflow: hidden;
  437. }
  438. }
  439. .video-button {
  440. margin-top: 20rpx;
  441. height: 90rpx;
  442. background-color: #FEEFD8;
  443. display: flex;
  444. font-size: 28rpx;
  445. font-weight: 500;
  446. color: rgba(185, 144, 86, 1);
  447. line-height: 90rpx;
  448. .video-play {
  449. width: 50rpx;
  450. height: 50rpx;
  451. margin: 20rpx;
  452. display: inline-block;
  453. background: url("http://dmsphoto.66km.com.cn/thFiles/A7F13529-E889-4B2B-83B7-4CD5E322853D.png") 100% 100% no-repeat;
  454. background-size: contain;
  455. }
  456. }
  457. .warning-lamp {
  458. display: flex;
  459. justify-content: flex-start;
  460. align-content: center;
  461. flex-wrap: wrap;
  462. .img4 {
  463. margin-right: 0rpx;
  464. }
  465. .lamp-item {
  466. margin: 30rpx;
  467. margin-right: 55rpx;
  468. width: 80rpx;
  469. height: 70rpx;
  470. display: block;
  471. background: url("http://dmsphoto.66km.com.cn/thFiles/DE80CE12-534E-4AD0-921A-17051A4F5984.png") 100% 100% no-repeat;
  472. background-size: contain;
  473. position: relative;
  474. // &.check:after {
  475. // background: url("http://dmsphoto.66km.com.cn/thFiles/7E809DDE-FD2D-4158-A6EF-01FC855A5A2D.png") 100% 100% no-repeat;
  476. // background-size: contain;
  477. // }
  478. // &:after {
  479. // content: '';
  480. // width: 38rpx;
  481. // height: 38rpx;
  482. // border-radius: 50%;
  483. // border: 2px solid rgba(221, 221, 221, 1);
  484. // display: block;
  485. // position: absolute;
  486. // left: -50rpx;
  487. // top: 18rpx;
  488. // }
  489. &.error-lamp {
  490. // color: #F03B3B;
  491. // filter: drop-shadow(#F03B3B 10rpx 0);
  492. // &svg path {
  493. // fill: rgb(18, 136, 222)
  494. // }
  495. }
  496. }
  497. }
  498. p {
  499. font-size: 28rpx;
  500. font-weight: 400;
  501. color: rgba(153, 153, 153, 1);
  502. line-height: 150%;
  503. padding: 8rpx 0;
  504. display: flex;
  505. >span {
  506. height: 28rpx;
  507. font-size: 28rpx;
  508. font-weight: 400;
  509. color: rgba(102, 102, 102, 1);
  510. line-height: 28rpx;
  511. padding-top: 5rpx;
  512. }
  513. .info-status {
  514. margin-left: 10rpx;
  515. height: 38rpx;
  516. border-radius: 8rpx;
  517. border: 2rpx solid rgba(221, 221, 221, 1);
  518. padding: 2rpx 14rpx;
  519. text-decoration: none;
  520. font-style: normal;
  521. }
  522. }
  523. }
  524. .car-report-item-title {
  525. position: relative;
  526. &.error-title {
  527. .title-icon {
  528. background: url("http://dmsphoto.66km.com.cn/thFiles/69B1087C-79B4-40E3-99DD-7B6F7C334373.png") 100% 100% no-repeat;
  529. }
  530. >h4 {
  531. display: flex;
  532. font-weight: 400;
  533. color: rgba(240, 59, 59, 1);
  534. .title-icon {
  535. width: 36rpx;
  536. height: 36rpx;
  537. background-size: contain;
  538. margin-right: 10rpx;
  539. transform: translateY(2rpx);
  540. }
  541. }
  542. }
  543. &.ok-title {
  544. .title-icon {
  545. background: url("http://dmsphoto.66km.com.cn/thFiles/A331D98F-D90C-4170-BA36-EBD94C2B8EE1.png") 100% 100% no-repeat;
  546. }
  547. >h4 {
  548. display: flex;
  549. font-weight: 400;
  550. color: rgba(38, 150, 92, 1);
  551. .title-icon {
  552. width: 36rpx;
  553. height: 36rpx;
  554. background-size: contain;
  555. margin-right: 10rpx;
  556. transform: translateY(2px);
  557. }
  558. }
  559. }
  560. &.warning-title {
  561. .title-icon {
  562. background: url("http://dmsphoto.66km.com.cn/thFiles/C3B101F2-32E7-4247-A679-52C82C976E0D.png") 100% 100% no-repeat;
  563. }
  564. >h4 {
  565. display: flex;
  566. font-weight: 400;
  567. color: rgba(241, 157, 1, 1);
  568. .title-icon {
  569. width: 36rpx;
  570. height: 36rpx;
  571. background-size: contain;
  572. margin-right: 10rpx;
  573. transform: translateY(2px);
  574. }
  575. }
  576. }
  577. >h3 {
  578. height: 32rpx;
  579. font-size: 32rpx;
  580. font-weight: 600;
  581. color: rgba(51, 51, 51, 1);
  582. line-height: 32rpx;
  583. padding-top: 10rpx;
  584. padding-bottom: 30rpx;
  585. border-bottom: 2px solid #EEEEEE;
  586. padding-right: 200rpx;
  587. }
  588. >h4 {
  589. position: absolute;
  590. top: 6rpx;
  591. right: 0;
  592. height: 42rpx;
  593. font-size: 30rpx;
  594. font-weight: 400;
  595. line-height: 42rpx;
  596. }
  597. }
  598. &.report-error {
  599. .report-status-count {
  600. background-color: rgb(255, 77, 15);
  601. }
  602. }
  603. &.report-warning {
  604. .report-status-count {
  605. background-color: rgb(244, 165, 11);
  606. }
  607. }
  608. &.report-ok {
  609. .report-status-count {
  610. background-color: rgb(41, 162, 87);
  611. }
  612. }
  613. .report-status-count {
  614. width: 100rpx;
  615. height: 100rpx;
  616. border-radius: 50%;
  617. margin: 10rpx 20rpx;
  618. margin-left: 0;
  619. line-height: 100rpx;
  620. text-align: center;
  621. font-size: 30rpx;
  622. font-weight: 500;
  623. color: rgba(255, 255, 255, 1);
  624. }
  625. .report-status {
  626. flex-grow: 1;
  627. >h3 {
  628. height: 45rpx;
  629. font-size: 32rpx;
  630. font-weight: 500;
  631. color: rgba(51, 51, 51, 1);
  632. line-height: 45rpx;
  633. margin-bottom: 10rpx;
  634. padding-top: 15rpx;
  635. }
  636. >p {
  637. height: 33rpx;
  638. font-size: 24rpx;
  639. font-weight: 400;
  640. color: rgba(153, 153, 153, 1);
  641. line-height: 33rpx;
  642. }
  643. }
  644. .car-report-statistics {
  645. display: flex;
  646. justify-content: space-around;
  647. .car-report-statistics-item {
  648. >h3 {
  649. text-align: center;
  650. height: 62rpx;
  651. font-size: 44rpx;
  652. font-weight: 500;
  653. line-height: 62rpx;
  654. }
  655. >p {
  656. height: 40rpx;
  657. font-size: 28rpx;
  658. font-weight: 400;
  659. color: rgba(153, 153, 153, 1);
  660. line-height: 40rpx;
  661. }
  662. }
  663. }
  664. h5 {
  665. margin: 0 0 16rpx 8rpx;
  666. width: 600rpx;
  667. height: 37rpx;
  668. font-size: 26rpx;
  669. font-weight: 400;
  670. color: rgba(51, 51, 51, 1);
  671. line-height: 37rpx;
  672. .phone {
  673. position: absolute;
  674. right: 40rpx;
  675. top: 24rpx;
  676. width: 30rpx;
  677. height: 40rpx;
  678. display: inline-block;
  679. background: url("http://dmsphoto.66km.com.cn/thFiles/36EFD213-1D81-4153-AFFD-33BE701E5DBF.png") 100% no-repeat;
  680. background-size: contain;
  681. }
  682. .shop-icon {
  683. vertical-align: sub;
  684. transform: translateY(-2rpx);
  685. }
  686. &:last-child {
  687. margin-bottom: 0;
  688. }
  689. }
  690. }
  691. .fule {
  692. display: flex;
  693. }
  694. .newjcbgD .hhhhh5 {
  695. height: 44rpx !important;
  696. font-weight: 500 !important;
  697. color: #3C3C3C !important;
  698. font-size: 28rpx !important;
  699. }
  700. .newjcbgD .hxxhhh5 {
  701. padding-left: 50rpx;
  702. color: #999999 !important;
  703. }
  704. .newjcbgD .shop-icon2 {
  705. /* background: url(../newimg/icon_store@2x.png);
  706. background-size: 100% !important; */
  707. width: 40rpx;
  708. height: 44rpx;
  709. margin-right: 10rpx;
  710. }
  711. .newjcbgD .car-report .car-report-item h5 .phone {
  712. background: url('http://dmsphoto.66km.com.cn/thFiles/AA0ED98C-DC25-41D0-B09A-9ACC497D017A.png');
  713. background-size: 100% 100% !important;
  714. width: 60rpx;
  715. height: 60rpx;
  716. }
  717. .report-color-red {
  718. color: rgba(240, 59, 59, 1) !important;
  719. border-color: rgba(240, 59, 59, 1) !important;
  720. }
  721. .report-color-yellow {
  722. color: rgb(242, 157, 0) !important;
  723. border-color: rgb(242, 157, 0) !important;
  724. }
  725. .report-color-green {
  726. color: rgba(38, 150, 92, 1) !important;
  727. border-color: rgba(38, 150, 92, 1) !important;
  728. }
  729. .authorizBox {
  730. width: 100vw;
  731. height: 100vh;
  732. background: rgba(0, 0, 0, 0.5);
  733. position: fixed;
  734. top: 0;
  735. left: 0;
  736. }
  737. .authorizCont {
  738. margin-top: 30vh;
  739. width: 564rpx;
  740. height: 408rpx;
  741. background: #FFFFFF;
  742. border-radius: 24rpx;
  743. margin-left: 93rpx;
  744. position: relative;
  745. }
  746. .authorizCloseImg {
  747. width: 62rpx;
  748. height: 62rpx;
  749. }
  750. .sqLogoBox {
  751. width: 180rpx;
  752. height: 180rpx;
  753. background: #FFFFFF;
  754. border-radius: 90rpx;
  755. text-align: center;
  756. position: absolute;
  757. top: -50rpx;
  758. left: 192rpx;
  759. }
  760. .authorizName {
  761. color: #333333;
  762. line-height: 42rpx;
  763. font-size: 30rpx;
  764. text-align: center;
  765. padding-top: 58rpx;
  766. }
  767. .authorizMs {
  768. color: #999999;
  769. line-height: 36rpx;
  770. font-size: 26rpx;
  771. width: 452rpx;
  772. padding-top: 24rpx;
  773. text-align: center;
  774. margin-left: 56rpx;
  775. }
  776. .authorizContbutton {
  777. width: 422rpx;
  778. height: 88rpx;
  779. background: #D53533;
  780. border-radius: 44rpx;
  781. line-height: 88rpx;
  782. text-align: center;
  783. font-size: 30rpx;
  784. color: #FFFFFF;
  785. margin-top: 62rpx;
  786. margin-left: 71rpx;
  787. }
  788. .flex {
  789. display: flex;
  790. align-items: center;
  791. justify-content: space-between;
  792. }
  793. .icon-select-down {
  794. width: 34rpx;
  795. height: 22rpx;
  796. }
  797. .leftTitle{
  798. width: 100rpx;
  799. }
  800. .top {
  801. height: 190rpx;
  802. background: #FF0000;
  803. margin-left: -24rpx;
  804. margin-right: -24rpx;
  805. }
  806. .orderState {
  807. display: flex;
  808. justify-content: center;
  809. align-items: center;
  810. padding-top: 40rpx;
  811. }
  812. .SheetState {
  813. display: flex;
  814. justify-content: center;
  815. font-size: 36rpx;
  816. font-weight: 500;
  817. color: #FFFFFF;
  818. margin-left: 15rpx;
  819. }
  820. .shopBoximg {
  821. width: 40rpx;
  822. height: 40rpx;
  823. }
  824. .shopRightImg {
  825. width: 44rpx;
  826. height: 45rpx;
  827. }
  828. .shopsx {
  829. width: 1px;
  830. height: 50rpx;
  831. background: #EEEEEE;
  832. margin-top: 30rpx;
  833. margin-left: 28rpx;
  834. }
  835. .shopBox {
  836. display: flex;
  837. justify-content: space-between;
  838. padding: 30rpx 20rpx;
  839. margin-top: -60rpx;
  840. background-color: #FFFFFF;
  841. border-radius: 10rpx;
  842. }
  843. .shopCont {
  844. flex-grow: 1;
  845. padding-left: 20rpx;
  846. }
  847. .shopName {
  848. font-size: 30rpx;
  849. font-weight: bold;
  850. color: #3C3C3C;
  851. line-height: 42rpx;
  852. }
  853. .Address {
  854. color: #999999;
  855. font-size: 24rpx;
  856. margin-top: 10rpx;
  857. }
  858. .shopRihgtTxt {
  859. color: #999999;
  860. font-size: 24rpx;
  861. }
  862. .shopRightBox {
  863. padding-left: 28rpx;
  864. }
  865. .carinfoBox{
  866. background: #FFFFFF;
  867. border-radius: 10rpx;
  868. margin-top: 20rpx;
  869. padding: 20rpx;
  870. margin-bottom: 20rpx;
  871. }
  872. .carinfoBox .carLogo{
  873. width: 60rpx;height: 60rpx;
  874. margin-top: 6rpx;
  875. }
  876. .carinfoBoxTop{
  877. display: flex;
  878. }
  879. .carinfoBoxTopCont{
  880. flex-grow: 1;
  881. padding-left: 20rpx;
  882. }
  883. .carinfoBoxTopContTop{
  884. display: flex;
  885. }
  886. .carInfoplateNumber{
  887. font-weight: 500;
  888. color: #3C3C3C;
  889. font-size: 30rpx;
  890. line-height: 42rpx;
  891. padding-right: 16rpx;
  892. }
  893. .carTnfomilage{
  894. color: #F19D01;
  895. font-size: 22rpx;
  896. padding: 0rpx 10rpx;
  897. border-radius: 4rpx;
  898. border: 1px solid #F19D01;
  899. height: 32rpx;
  900. line-height: 34rpx;
  901. margin-top: 2rpx;
  902. margin-left: 2rpx;
  903. }
  904. .carInfocarModel{
  905. padding-top: 10rpx;
  906. color: #999999;
  907. font-size: 24rpx;
  908. white-space: nowrap;
  909. overflow: hidden;
  910. text-overflow: ellipsis;
  911. }
  912. .workBox{
  913. display: flex;
  914. align-items: center;
  915. }
  916. .workName{
  917. padding-left: 10rpx;
  918. font-size: 24rpx;
  919. font-weight: 400;
  920. color: #999999;
  921. padding-top: 10rpx;
  922. padding-bottom: 18rpx;
  923. }
  924. .questionBox{
  925. padding: 20rpx;
  926. border-top: #EEEEEE solid 1rpx;
  927. box-shadow: 0 0 0 0;
  928. margin-bottom: 0;
  929. padding-bottom: 0;
  930. }
  931. </style>