reportUni.vue 27 KB

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