detail.vue 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. <template>
  2. <div class="app-container" style="padding-top:15px;height:calc(100vh - 50px);" v-loading="loading"
  3. element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading"
  4. element-loading-background="rgba(0, 0, 0, 0.8)">
  5. <el-row>
  6. <el-col :span="6" class="jsleft">
  7. <div class="jslfot">
  8. <div class="flexc flex0 mb10">
  9. <div class="line"></div>
  10. <div class="f16 co3 flex1 fw">抓拍信息</div>
  11. </div>
  12. <!-- 比对结果 -->
  13. <div class="plr14">
  14. <div class="dbtop flexcc">
  15. <img src="../../../assets/images/pic_gjgl_lt.png" class="headimg" />
  16. <div class="flexcdc flex0" style="width: 30%;">
  17. <div class="tit">94%</div>
  18. <img src="@/assets/images/search//icon_sijs_jg_sxd.png" class="dbimg" />
  19. </div>
  20. <img src="../../../assets/images/pic_gjgl_lt.png" class="headimg" />
  21. </div>
  22. <div class="jstlists">
  23. <div class="jstlist flext">
  24. <div class="tit flexc flex0"><p>抓拍位置</p>:</div>
  25. <p class="txt">4# 中间道路西南侧</p>
  26. </div>
  27. <div class="jstlist flext">
  28. <div class="tit flexc flex0"><p>抓拍设备</p>:</div>
  29. <p class="txt">4#旁 3号摄像头</p>
  30. </div>
  31. <div class="jstlist flext">
  32. <div class="tit flexc flex0"><p>抓拍时间</p>:</div>
  33. <p class="txt">2025-06-13 20:33:24</p>
  34. </div>
  35. </div>
  36. </div>
  37. <!-- 特征分析 -->
  38. <div class="flexc flex0" style="padding-top: 24px;margin-bottom: 14px;">
  39. <div class="line"></div>
  40. <div class="f16 co3 flex1 fw">特征分析</div>
  41. </div>
  42. <div class="plr14">
  43. <div class="flexcw">
  44. <div class="jstlist flext">
  45. <div class="tit flexc flex0"><p>年龄段</p>:</div>
  46. <p class="txt">幼儿</p>
  47. </div>
  48. <div class="jstlist flext">
  49. <div class="tit flexc flex0"><p>性别</p>:</div>
  50. <p class="txt">男</p>
  51. </div>
  52. <div class="jstlist flext">
  53. <div class="tit flexc flex0"><p>上衣颜色</p>:</div>
  54. <p class="txt">黑色</p>
  55. </div>
  56. <div class="jstlist flext">
  57. <div class="tit flexc flex0"><p>下衣颜色</p>:</div>
  58. <p class="txt">黑色</p>
  59. </div>
  60. <div class="jstlist flext">
  61. <div class="tit flexc flex0"><p>上衣类型</p>:</div>
  62. <p class="txt">短袖</p>
  63. </div>
  64. <div class="jstlist flext">
  65. <div class="tit flexc flex0"><p>下衣类型</p>:</div>
  66. <p class="txt">短裤</p>
  67. </div>
  68. <div class="jstlist flext">
  69. <div class="tit flexc flex0"><p>鞋子颜色</p>:</div>
  70. <p class="txt">黑白</p>
  71. </div>
  72. <div class="jstlist flext">
  73. <div class="tit flexc flex0"><p>帽子颜色</p>:</div>
  74. <p class="txt">黑色</p>
  75. </div>
  76. <div class="jstlist flext">
  77. <div class="tit flexc flex0"><p>鞋子类型</p>:</div>
  78. <p class="txt">帆布鞋</p>
  79. </div>
  80. <div class="jstlist flext">
  81. <div class="tit flexc flex0"><p>帽子类型</p>:</div>
  82. <p class="txt">棒球帽</p>
  83. </div>
  84. <div class="jstlist flext">
  85. <div class="tit flexc flex0"><p>眼睛信息</p>:</div>
  86. <p class="txt">未知</p>
  87. </div>
  88. <div class="jstlist flext">
  89. <div class="tit flexc flex0"><p>口罩信息</p>:</div>
  90. <p class="txt">未知</p>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. <!-- 地图 -->
  96. <div class="maps">
  97. <div>
  98. <img src="../../../assets/images/pic_gjgl_lt.png"/>
  99. <div class="maptit">
  100. <div class="flex1 overtwo">高新技术开发园区</div>
  101. <div>30°N,116°E</div>
  102. </div>
  103. </div>
  104. </div>
  105. </el-col>
  106. <el-col :span="18" class="jsright">
  107. <div class="jsbox flex1">
  108. <div style="height: 100%;width: 100%;">
  109. <!-- poster="your-poster.jpg" -->
  110. <VideoPlayer
  111. :src="videourl"
  112. :options="{
  113. autoplay: false,
  114. controls: false,
  115. fluid: true
  116. }"
  117. />
  118. </div>
  119. <div class="lttit left">4# 中间道路西南侧</div>
  120. <div class="lttit right">2025-06-13 10:33:24</div>
  121. </div>
  122. <div class="jsswbox flex0">
  123. <el-carousel indicator-position="outside" height="120px" :autoplay="false" arrow="always">
  124. <el-carousel-item v-for="item in 2" :key="item">
  125. <div class="flexc swiper">
  126. <div class="imgs" @click="getChange(ite)" :class="playidx==ite?'act':''" v-for="ite in 5" :key="ite">
  127. <img src="../../../assets/images/pic_gjgl_lt.png" />
  128. <div class="tit over">相似度 94%</div>
  129. </div>
  130. <!-- <div class="zhantit">到底啦</div> -->
  131. </div>
  132. </el-carousel-item>
  133. </el-carousel>
  134. </div>
  135. </el-col>
  136. </el-row>
  137. </div>
  138. </template>
  139. <script>
  140. import trackBox from "@/components/jiansuo/index"
  141. import VideoPlayer from "@/components/jiansuo/VideoPlayer"
  142. export default {
  143. components: {
  144. trackBox,VideoPlayer
  145. },
  146. data() {
  147. return {
  148. loading: false,
  149. videourl:'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/2minute-demo.mp4',
  150. paly:false,
  151. playidx:1,
  152. list: [{
  153. tit: '123'
  154. }, {
  155. tit: '123'
  156. }, ],
  157. }
  158. },
  159. methods: {
  160. getChange(idx){
  161. this.playidx=idx
  162. }
  163. }
  164. }
  165. </script>
  166. <style lang="scss" scoped>
  167. ::v-deep {
  168. .el-input__inner {
  169. border: none !important;font-size: 14px;padding: 0;padding-right: 5px;
  170. }
  171. .el-carousel__arrow{color: #a8a8a8;background: transparent;font-size: 16px;font-weight: bold;}
  172. .el-carousel__arrow--right{right: 5px;}
  173. .el-carousel__arrow--left{left:5px}
  174. .el-icon-arrow-right:before{font-weight: bold;}
  175. .el-icon-arrow-left:before{font-weight: bold;}
  176. .bigbox {
  177. .el-select{
  178. .el-input__suffix{display: none;}
  179. input{font-weight: 500;background: transparent;font-size: 14px;color: #FFFFFF;width: 40px;padding-right: 0;text-align: right;height: 18px;line-height: 18px;}
  180. }
  181. }
  182. }
  183. p{margin: 0;padding: 0;}
  184. .mb12{margin-bottom: 12px;}
  185. .flex{display: flex;}
  186. .flext{display: flex;align-items: flex-start;}
  187. .flexc{display: flex;align-items: center;}
  188. .flexcc{display: flex;align-items: center;justify-content: center;}
  189. .flexcdc{display: flex;align-items: center;flex-direction: column;}
  190. .flexcw{display: flex;align-items: center;flex-wrap: wrap;}
  191. .flexcj{display: flex;justify-content: space-between;}
  192. .flex0{flex: 0 0 auto;}
  193. .flex1{flex: 1;}
  194. .f16{font-size: 16px;}
  195. .co3{color: #333333;}
  196. .fw{font-weight: bold;}
  197. .el-row{height: 100%;}
  198. .plr14{padding: 0 14px;}
  199. .txr{text-align: right;}
  200. .over{overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
  201. .overtwo{word-break: break-all;text-overflow: ellipsis;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;white-space: normal;}
  202. .jsleft{padding-right:12px;height: 100%;display: flex;flex-direction: column;
  203. .jstlists{padding-bottom: 10px;border-bottom: 1px solid #E6E6E6;}
  204. .jstlist{margin-bottom: 13px;min-width: 50%;
  205. .tit{font-size: 14px;color: #AAAAAA;
  206. p{text-align: justify;width: 58px;display: block;text-align-last: justify;}
  207. }
  208. .txt{font-size: 14px;color: #3D455B;}
  209. }
  210. .jslfot{background: #FFFFFF;border-radius: 10px;padding:14px 0px 6px 0;flex: 1;display: flex;flex-direction: column;overflow: auto;min-height: 260px;
  211. .line{width: 6px;height: 20px;background-color: #03BF8A;margin-right: 10px;}
  212. .sortimg{width: 13px;height: 13px;}
  213. }
  214. .dbtop{padding: 8px 0 16px;
  215. .tit{font-size: 20px;color: #03BF8A;}
  216. .headimg{width: 80px;height: 80px;flex: 0 0 auto;}
  217. .dbimg{width: 28px;height: 14px;margin-top: 3px;}
  218. }
  219. .maps{width: 100%;height: 146px;position: relative;flex: 0 0 auto;border-radius: 10px;overflow: hidden;margin-top: 12px;
  220. img{width: 100%;height: 100%;}
  221. .maptit{position: absolute;left: 0;right: 0;bottom: 0;background: rgba(0, 0, 0, 0.5);display: flex;align-items: center;min-height: 28px;padding: 4px 14px;
  222. div{font-weight: 500;font-size: 14px;color: #FFFFFF;}
  223. }
  224. }
  225. }
  226. .jsright{height: 100%;display: flex;flex-direction: column;overflow: hidden;
  227. .jsbox{background: #FFFFFF;border-radius: 10px;position: relative;overflow: hidden;
  228. .lttit{font-weight: 500;font-size: 18px;color: #FFFFFF;position: absolute;top: 10px;line-height: 24px;
  229. &.left{left: 24px;}
  230. &.right{right: 24px;}
  231. }
  232. }
  233. .jsswbox{background: #FFFFFF;margin-top: 10px;
  234. border-radius: 10px;height: 146px;padding: 12px 0px;box-sizing: border-box;}
  235. .swiper{padding: 0 44px;}
  236. .imgs{position: relative;width: 20%;height: 120px;border-radius: 8px;overflow: hidden;margin-right: 12px;
  237. &:nth-of-type(5n){margin-right: 0;}
  238. &.act{border: 2px solid #00B278;}
  239. img{width: 100%;height: 100%;}
  240. .tit{background: rgba(0, 0, 0, 0.5);font-size: 14px;color: #FFFFFF;text-align: center;height: 28px;line-height: 28px;position: absolute;right: 0;left: 0;bottom: 0;
  241. border-radius:0 0 8px 8px;}
  242. }
  243. .zhantit{font-weight: 500;font-size: 12px;color: #AAAAAA;width: 12px;margin-left: 16px;}
  244. .videos{width: 100%;height: 100%;background-color: red;}
  245. }
  246. </style>