reportUni.vue 29 KB

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