reportUni.vue 28 KB

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