reportUni.vue 27 KB

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