reportUni.vue 28 KB

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