reportUni.vue 32 KB

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