reportUni.vue 27 KB

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