reportUni.vue 31 KB

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