reportUni.vue 27 KB

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