reportUni.vue 32 KB

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