reportUni.vue 29 KB

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