yuJing.vue 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. <template>
  2. <view class="box">
  3. <u-navbar :autoBack="true" title="预警处理" bgColor="rgba(255,255,255,0)" :placeholder="true" titleStyle="font-weight:bold;color:#000000"></u-navbar>
  4. <view class="scarch_box">
  5. <u-search
  6. @custom="search"
  7. :actionStyle="{ color: '#985741', fontSize: '28rpx', fontWeight: 'bold' }"
  8. height="25"
  9. shape="square"
  10. placeholder="输入关键字"
  11. v-model.trim="value"
  12. ></u-search>
  13. </view>
  14. <view class="map_tit">
  15. <image style="width: 186rpx; height: 40rpx" src="/static/img/right_img.png"></image>
  16. <view class="">事件图片</view>
  17. <image style="width: 186rpx; height: 40rpx" src="/static/img/left_img.png"></image>
  18. </view>
  19. <view class="monitor_box">
  20. <view class="monitor_item"><image style="width: 100%; height: 100%" src="https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/jk1.png"></image></view>
  21. </view>
  22. <view class="star">
  23. <view class="tit">待处理</view>
  24. <view class="num_box">3</view>
  25. </view>
  26. <view class="tit_box">
  27. <view class="pm_tit">事件图片</view>
  28. <view class="pm_tit">预警时间</view>
  29. <view class="pm_tit">问题</view>
  30. <view class="pm_tit">来源</view>
  31. <view class="pm_tit">级别</view>
  32. <view class="pm_tit">其他</view>
  33. </view>
  34. <view class="xx_box">
  35. <view class="xx_item" v-for="item in information" :key="item.index">
  36. <view><image style="width: 140rpx; height: 85rpx" :src="item.image"></image></view>
  37. <view style="width: 130rpx">{{ item.time }}</view>
  38. <view class="">{{ item.problem }}</view>
  39. <view class="">{{ item.duration }}</view>
  40. <view class="">{{ item.level }}</view>
  41. <view class="">{{ item.level }}</view>
  42. </view>
  43. </view>
  44. <!-- 描述 -->
  45. <view class="btm_box">
  46. <view style="margin-top: 20rpx">
  47. <u--textarea cursorSpacing="10" height="80" v-model.trim="textVal" placeholder="预警描述及情况:" placeholderStyle="color:red"></u--textarea>
  48. </view>
  49. <!-- <view style="margin-top: 20rpx">
  50. <u--textarea height="50" v-model.trim="textVal" placeholder="影响范围:" placeholderStyle="color:red"></u--textarea>
  51. </view>
  52. <view style="margin-top: 20rpx">
  53. <u--textarea height="50" v-model.trim="textVal" placeholder="建议处理方法:" placeholderStyle="color:red"></u--textarea>
  54. </view>
  55. <view class="star2"><view class="tit2">其他相关信息</view></view>
  56. <view style="margin-top: 20rpx">
  57. <u--textarea height="50" v-model.trim="textVal" placeholder="预警的触发条件:" placeholderStyle="color:red"></u--textarea>
  58. </view>
  59. <view style="margin-top: 20rpx">
  60. <u--textarea height="50" v-model.trim="textVal" placeholder="历史记录:" placeholderStyle="color:red"></u--textarea>
  61. </view> -->
  62. <view class="menu_box">
  63. <view class="item" @click="menuBtn(index)" :class="{ active: index == menuIndex }" v-for="(item, index) in menuList" :key="item.index">{{ item.title }}</view>
  64. </view>
  65. </view>
  66. </view>
  67. </template>
  68. <script>
  69. export default {
  70. data() {
  71. return {
  72. menuIndex: 0,
  73. // 信息列表
  74. information: [
  75. {
  76. image: 'https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/sh_top.png',
  77. time: '2024-2-1 10:20:05',
  78. problem: '疑似明火',
  79. duration: 'xx文物',
  80. level: '省级'
  81. }
  82. ],
  83. menuList: [
  84. {
  85. title: '误报'
  86. },
  87. {
  88. title: '情况上报'
  89. }
  90. ]
  91. };
  92. },
  93. methods: {
  94. menuBtn(i) {
  95. this.menuIndex = i;
  96. }
  97. }
  98. };
  99. </script>
  100. <style>
  101. .box {
  102. height: auto;
  103. width: 100%;
  104. padding-bottom: 50rpx;
  105. background-image: url('https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/xy_bgt.png');
  106. background-repeat: repeat-y;
  107. background-size: 100% 100%;
  108. }
  109. view.data-v-09988a29,
  110. scroll-view.data-v-09988a29,
  111. swiper-item.data-v-09988a29 {
  112. background-color: #fce3c4 !important;
  113. }
  114. /deep/.u-textarea.data-v-09988a29 {
  115. background-color: #fce3c4 !important;
  116. border-radius: 0;
  117. }
  118. /deep/.u-textarea.data-v-09988a29 {
  119. background-color: #fce3c4 !important;
  120. }
  121. .scarch_box {
  122. width: 600rpx;
  123. height: 82rpx;
  124. margin: auto;
  125. padding: 15rpx 0 0 30rpx;
  126. background-image: url('/static/img/search_bg1.png');
  127. background-size: 100% 100%;
  128. }
  129. .map_tit {
  130. display: flex;
  131. align-items: center;
  132. margin-left: 125rpx;
  133. margin-top: 50rpx;
  134. font-size: 32rpx;
  135. font-family: Songti SC, Songti SC;
  136. font-weight: 900;
  137. line-height: 52rpx;
  138. color: #444444;
  139. }
  140. .monitor_box {
  141. width: 90%;
  142. height: 280rpx;
  143. padding: 20rpx;
  144. margin: auto;
  145. margin-top: 40rpx;
  146. border-radius: 10rpx;
  147. background-color: #f2c8a2;
  148. }
  149. .monitor_item {
  150. width: 100%;
  151. height: 100%;
  152. }
  153. .tit {
  154. font-size: 30rpx;
  155. letter-spacing: 6rpx;
  156. text-align: center;
  157. font-weight: 600;
  158. background: linear-gradient(180deg, #af7e44 0%, #934b36 100%);
  159. -webkit-background-clip: text;
  160. -webkit-text-fill-color: transparent;
  161. }
  162. .star {
  163. width: 180rpx;
  164. height: 60rpx;
  165. display: flex;
  166. justify-content: space-evenly;
  167. margin-left: 42rpx;
  168. margin-top: 50rpx;
  169. text-align: center;
  170. line-height: 55rpx;
  171. background: url('/static/img/dt_bg2.png') no-repeat;
  172. background-size: 100% 100%;
  173. }
  174. .num_box {
  175. font-size: 32rpx;
  176. color: #db0303;
  177. font-weight: 600;
  178. }
  179. .tit_box {
  180. display: flex;
  181. align-items: center;
  182. height: 75rpx;
  183. justify-content: space-around;
  184. margin-top: 30rpx;
  185. background: url('/static/img/sj_top_bg.png') no-repeat;
  186. background-size: 100% 100%;
  187. }
  188. .pm_tit {
  189. font-size: 26rpx;
  190. font-weight: 400;
  191. line-height: 40rpx;
  192. }
  193. .xx_box {
  194. width: 90%;
  195. margin-top: 40rpx;
  196. margin-left: 30rpx;
  197. }
  198. .xx_item {
  199. display: flex;
  200. justify-content: space-between;
  201. align-items: center;
  202. margin-top: 40rpx;
  203. font-size: 28rpx;
  204. color: #444444;
  205. line-height: 44rpx;
  206. }
  207. .btm_box {
  208. width: 90%;
  209. margin: auto;
  210. }
  211. .tit2 {
  212. width: 90%;
  213. margin: auto;
  214. margin-top: 30rpx;
  215. font-size: 32rpx;
  216. letter-spacing: 6rpx;
  217. text-align: center;
  218. font-weight: 700;
  219. background: linear-gradient(180deg, #af7e44 0%, #934b36 100%);
  220. -webkit-background-clip: text;
  221. -webkit-text-fill-color: transparent;
  222. }
  223. .star2 {
  224. width: 300rpx;
  225. height: 76rpx;
  226. text-align: center;
  227. line-height: 76rpx;
  228. background: url('/static/img/dt_bg2.png') no-repeat;
  229. background-size: 100% 100%;
  230. }
  231. .menu_box {
  232. display: flex;
  233. margin: auto;
  234. margin-top: 50rpx;
  235. width: 80%;
  236. justify-content: space-around;
  237. }
  238. .item {
  239. width: 200rpx;
  240. height: 70rpx;
  241. font-size: 30rpx;
  242. text-align: center;
  243. color: #934b36;
  244. line-height: 70rpx;
  245. background: url('/static/img/dt_bg2.png') no-repeat;
  246. background-size: 100% 100%;
  247. }
  248. .active {
  249. background: url('/static/img/dt_bg1.png') no-repeat !important;
  250. background-size: 100% 100% !important;
  251. }
  252. </style>