earlyWarningGasDetail.vue 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. <!-- 气瓶报警信息 -->
  2. <template>
  3. <view class="earlyWarning">
  4. <scroll-view scroll-y @scrolltolower="scrollGet" class="info-max-box">
  5. <!-- 预案报警 -->
  6. <view class="header">气瓶违规带离</view>
  7. <view class="site">
  8. <view class="site_t">
  9. <img src="@/images/Version2.2/icon_wtzg_xx.png"/>
  10. <text>2023-10-1014:00</text>
  11. </view>
  12. <view class="site_b">
  13. <img src="@/images/Version2.2/icon_wtzg_xx.png"/>
  14. <text>一号实验室</text>
  15. <text></text>
  16. <text>一号楼二楼C区C111</text>
  17. </view>
  18. </view>
  19. <view class="basics">
  20. <view class="small_title"><text></text><text>气瓶信息</text></view>
  21. <view class="basics_li" style="margin-top:20rpx;">
  22. <text>气体名称</text>
  23. <text></text>
  24. </view>
  25. <view class="basics_li">
  26. <text>气体余量:</text>
  27. <text>10L</text>
  28. </view>
  29. <view class="basics_li">
  30. <text>气瓶规格:</text>
  31. <text>100g/瓶 </text>
  32. </view>
  33. <view class="basics_li">
  34. <text>申领人:</text>
  35. <text>刘然</text>
  36. </view>
  37. <view class="basics_li">
  38. <text>申领时间:</text>
  39. <text>10-10 10:00:23</text>
  40. </view>
  41. </view>
  42. <view class="note">
  43. <view class="small_title"><text></text><text>预警通知</text></view>
  44. <view class="note_li" style="margin-top:20rpx;">
  45. <text>声光报警通知</text>
  46. <view class="note_li_r"><img src="@/images/icon_yjxx_ytz.png"/><text>已通知</text></view>
  47. </view>
  48. </view>
  49. <view class="picture">
  50. <view class="small_title"><text></text><text>报警抓拍</text></view>
  51. <view class="picture_b" @click="lockImg(item.uploadDtoList)">
  52. <img src="@/images/icon_yjxx_ytz.png"/>
  53. <!-- <img :src="baseUrl+imgItem.fileUrl" v-for="(imgItem,imgIndex) in item.uploadDtoList"/> -->
  54. </view>
  55. </view>
  56. <view class="bottom_btn">查看监控</view>
  57. </scroll-view>
  58. </view>
  59. </template>
  60. <script>
  61. import { config } from '@/api/request/config.js'
  62. import {checkManageList,conditionCollegeInfo} from '@/api/index.js'
  63. export default {
  64. name: "rectifyList",
  65. components: {
  66. },
  67. data() {
  68. return {
  69. //列表请求参数
  70. getData:{
  71. pageNum:1,
  72. pageSize:20,
  73. },
  74. total:0,
  75. }
  76. },
  77. onLoad(option) {
  78. },
  79. onShow() {
  80. },
  81. mounted(){
  82. },
  83. methods: {
  84. //滚动事件
  85. scrollGet(){
  86. let self=this;
  87. },
  88. //查看图片
  89. lockImg(list){
  90. console.log(list)
  91. if(!list[0]){
  92. return
  93. }
  94. let urlList=[];
  95. for(let i=0;i<list.length;i++){
  96. urlList.push(this.baseUrl+list[i].fileUrl)
  97. }
  98. wx.previewImage({
  99. urls: urlList, //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
  100. current: '', // 当前显示图片的http链接,默认是第一个
  101. success: function(res) {},
  102. fail: function(res) {},
  103. complete: function(res) {},
  104. })
  105. },
  106. handleClick(row,doType){
  107. let self=this;
  108. if( doType=='detail'){//详情
  109. }
  110. },
  111. }
  112. }
  113. </script>
  114. <style lang="stylus" scoped>
  115. .earlyWarning{
  116. height:100%;
  117. display flex;
  118. padding-bottom: 30rpx;
  119. box-sizing: border-box;
  120. .red_color{
  121. color: #D40000;
  122. border: 1rpx solid #D40000;
  123. }
  124. .orange_color{
  125. color: #FF4800;
  126. border: 1rpx solid #FF4800;
  127. }
  128. .yellow_color{
  129. color: #FFA34E;
  130. border: 1rpx solid #FFA34E;
  131. }
  132. .info-max-box{
  133. flex: 1;
  134. overflow: scroll;
  135. }
  136. .header{
  137. width: 750rpx;
  138. height: 80rpx;
  139. font-size: 28rpx;
  140. font-family: PingFang SC-Medium, PingFang SC;
  141. font-weight: 400;
  142. color: #FF4800;
  143. line-height: 80rpx;
  144. text-align: center;
  145. background: rgba(255,72,0,0.2);
  146. }
  147. .site{
  148. width: 690rpx;
  149. height: 170rpx;
  150. background: #FFFFFF;
  151. border-radius: 20rpx 20rpx 20rpx 20rpx;
  152. margin:20rpx 30rpx;
  153. overflow: hidden;
  154. .site_t{
  155. height: 40rpx;
  156. display: flex;
  157. justify-content: flex-start;
  158. align-items: center;
  159. margin-top: 32rpx;
  160. >img{
  161. width: 30rpx;
  162. height: 30rpx;
  163. margin-right: 22rpx;
  164. margin-left: 30rpx;
  165. }
  166. >text:nth-of-type(1){
  167. font-size: 28rpx;
  168. font-family: PingFang SC-Medium, PingFang SC;
  169. font-weight: 400;
  170. color: #333333;
  171. line-height: 28rpx;
  172. }
  173. }
  174. .site_b{
  175. height: 40rpx;
  176. display: flex;
  177. justify-content: flex-start;
  178. align-items: center;
  179. margin-top: 20rpx;
  180. >img{
  181. width: 30rpx;
  182. height: 30rpx;
  183. margin-right: 22rpx;
  184. margin-left: 30rpx;
  185. }
  186. >text:nth-of-type(1){
  187. font-size: 28rpx;
  188. font-family: PingFang SC-Medium, PingFang SC;
  189. font-weight: 400;
  190. color: #333333;
  191. line-height: 28rpx;
  192. }
  193. >text:nth-of-type(2){
  194. display: inline-block;
  195. width: 2rpx;
  196. height: 20rpx;
  197. background: #E0E0E0;
  198. margin: 0 24rpx 0 28rpx;
  199. }
  200. >text:nth-of-type(3){
  201. font-size: 28rpx;
  202. font-family: PingFang SC-Medium, PingFang SC;
  203. font-weight: 400;
  204. color: #333333;
  205. line-height: 28rpx;
  206. }
  207. }
  208. }
  209. .small_title{
  210. height: 90rpx;
  211. display: flex;
  212. justify-content: flex-start;
  213. align-items: center;
  214. border-bottom: 1rpx solid #E0E0E0;
  215. >text:nth-of-type(1){
  216. display: inline-block;
  217. width: 4rpx;
  218. height: 30rpx;
  219. background: #0183FA;
  220. margin: 0 22rpx 0 28rpx;
  221. }
  222. >text:nth-of-type(1){
  223. font-size: 30rpx;
  224. font-family: PingFang SC-Medium, PingFang SC;
  225. font-weight: 400;
  226. color: #333333;
  227. line-height: 30rpx;
  228. }
  229. }
  230. .basics{
  231. margin-left: 30rpx;
  232. width: 690rpx;
  233. height: auto;
  234. background: #FFFFFF;
  235. border-radius: 20rpx 20rpx 20rpx 20rpx;
  236. padding-bottom: 16rpx;
  237. box-sizing: border-box;
  238. .basics_li{
  239. display: flex;
  240. justify-content: space-between;
  241. margin: 0 30rpx;
  242. >text:nth-of-type(1){
  243. font-size: 28rpx;
  244. font-family: PingFang SC-Medium, PingFang SC;
  245. font-weight: 400;
  246. color: #333333;
  247. line-height: 60rpx;
  248. }
  249. >text:nth-of-type(2){
  250. font-size: 28rpx;
  251. font-family: PingFang SC-Medium, PingFang SC;
  252. font-weight: 400;
  253. color: #333333;
  254. line-height: 60rpx;
  255. flex: 1;
  256. text-align: right;
  257. }
  258. }
  259. }
  260. .note{
  261. margin-left: 30rpx;
  262. margin-top: 20rpx;
  263. width: 690rpx;
  264. height: auto;
  265. background: #FFFFFF;
  266. border-radius: 20rpx 20rpx 20rpx 20rpx;
  267. padding-bottom: 16rpx;
  268. box-sizing: border-box;
  269. .note_li{
  270. display: flex;
  271. justify-content: space-between;
  272. margin: 0 30rpx;
  273. >text:nth-of-type(1){
  274. font-size: 28rpx;
  275. font-family: PingFang SC-Medium, PingFang SC;
  276. font-weight: 400;
  277. color: #333333;
  278. line-height: 60rpx;
  279. }
  280. .note_li_r{
  281. display: flex;
  282. justify-content: flex-start;
  283. align-items: center;
  284. >img{
  285. width: 28rpx;
  286. height: 28rpx;
  287. margin-right: 10rpx;
  288. }
  289. font-size: 28rpx;
  290. font-family: PingFang SC-Medium, PingFang SC;
  291. font-weight: 400;
  292. color: #0183FA;
  293. line-height: 60rpx;
  294. }
  295. }
  296. }
  297. .picture{
  298. margin-left: 30rpx;
  299. width: 690rpx;
  300. height: auto;
  301. background: #FFFFFF;
  302. border-radius: 20rpx 20rpx 20rpx 20rpx;
  303. margin-top: 20rpx;
  304. .picture_b{
  305. display: flex;
  306. justify-content: flex-start;
  307. flex-wrap: wrap;
  308. padding: 40rpx 30rpx 10rpx;
  309. box-sizing: border-box;
  310. >img{
  311. width: 180rpx;
  312. height: 180rpx;
  313. border-radius: 10rpx 10rpx 10rpx 10rpx;
  314. margin-right: 38rpx;
  315. margin-bottom: 10rpx;
  316. }
  317. >img:nth-of-type(3n+3){
  318. margin-right: 0rpx;
  319. }
  320. }
  321. }
  322. .bottom_btn{
  323. width: 690rpx;
  324. height: 90rpx;
  325. border-radius: 10rpx 10rpx 10rpx 10rpx;
  326. opacity: 1;
  327. border: 1rpx solid #0183FA;
  328. font-size: 30rpx;
  329. font-family: PingFang SC-Medium, PingFang SC;
  330. font-weight: 400;
  331. color: #0183FA;
  332. line-height: 90rpx;
  333. text-align: center;
  334. background: #F5F5F5;
  335. margin: 90rpx 30rpx 30rpx;
  336. }
  337. }
  338. </style>