reportUni.vue 30 KB

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