zhxf.vue 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. <template>
  2. <view class="content">
  3. <!-- 顶部logo和菜单 -->
  4. <uTop></uTop>
  5. <!-- 标题和介绍 -->
  6. <uDesc :title="dTitle" :description="dMemo" :bg="descBg"></uDesc>
  7. <view class="boxs">
  8. <view class="box1">
  9. <view class="b_title">方案背景</view>
  10. <view class="b_desc">公消(2017)297号文件《关于全面推进“智慧消防”建设的指导意见》指出了消防信息建设的目标,要求综合运用物联网、云计算、大数据、移动互联网等新兴信息技术,加快推进“智慧消防”建设,全面促进信息化与消防业务工作的深度融合,为构建立体化、全覆盖的社会火灾防控体系,打造符合实战要求的现代消防警务机制提供有力支撑,全面提升社会火灾防控能力、部队灭火应急救援能力和队伍管理水平,实现“传统消防”向“现代消防”的转变。</view>
  11. </view>
  12. <!-- 方案特征 -->
  13. <view class="fatz box">
  14. <view class="b_title">方案特征</view>
  15. <view class="items">
  16. <view class="item">
  17. <image src="../../static/imgs/fmcs_fatz1.png"></image>
  18. <p>消防数据实时在线</p>
  19. <view class="tip">全面的信息收集和分析处理使各级部门能及时、全面地了解各项业务的进展情况</view>
  20. </view>
  21. <view class="item">
  22. <image src="../../static/imgs/fmcs_fatz2.png"></image>
  23. <p>事件闭环处理机制</p>
  24. <view class="tip">快速感知灾情发生、实时了解灾害情况、可视化远程指挥调度</view>
  25. </view>
  26. <view class="item">
  27. <image src="../../static/imgs/fmcs_fatz3.png"></image>
  28. <p>全面感知精准防控</p>
  29. <view class="tip">基于一张图、可视化技术实现战备值守、应急指挥、重大安保、辅助决策</view>
  30. </view>
  31. <view class="item">
  32. <image src="../../static/imgs/fmcs_fatz4.png"></image>
  33. <p>辅助决策分析</p>
  34. <view class="tip">多维度数据分析挖掘,图表展现,为决策提供辅助支撑</view>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="box2">
  39. <view class="b_title">方案架构</view>
  40. <image class="img" src="../../static/imgs/zhxf_img1.png" mode="widthFix" @click="e=>showBigImg(e,'../../static/imgs/zhxf_img1.png')"></image>
  41. </view>
  42. <view class="box3">
  43. <view class="b_title">应用场景</view>
  44. <view class="desc">凡是具有消防中控室与消防设备房的场景均可使用,属于通用型解决方案。</view>
  45. <view class="items">
  46. <view class="item" v-for="(item,index) in yycjList" :key="index">
  47. <view class="img">
  48. <image :src="item.img"></image>
  49. </view>
  50. <view class="title">{{item.title}}</view>
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. <!-- 合作与咨询 -->
  56. <uForm></uForm>
  57. </view>
  58. </template>
  59. <script>
  60. export default {
  61. data(){
  62. return {
  63. dTitle:'智慧消防综合解决方案',
  64. dMemo:'借助物联网、云计算、大数据、地理信息等新一代信息技术,与传统消防系统相结合。实现“传统消防”到“智慧消防”的转变。',
  65. descBg:'../../static/imgs/zhxf_descbg.png',
  66. yycjList:[
  67. {
  68. img:'../../static/imgs/zhxf_img2.png',
  69. title:'商业综合体'
  70. },
  71. {
  72. img:'../../static/imgs/zhxf_img3.png',
  73. title:'学校园区'
  74. },
  75. {
  76. img:'../../static/imgs/zhxf_img4.png',
  77. title:'政府机关'
  78. },
  79. {
  80. img:'../../static/imgs/zhxf_img5.png',
  81. title:'工业园区'
  82. },
  83. {
  84. img:'../../static/imgs/zhxf_img6.png',
  85. title:'生产园区'
  86. },
  87. {
  88. img:'../../static/imgs/zhxf_img7.png',
  89. title:'商业办公'
  90. }
  91. ],
  92. }
  93. },
  94. created() {
  95. uni.setNavigationBarTitle({
  96. title:'智慧消防'
  97. })
  98. },
  99. methods:{
  100. showBigImg(e,imgUrl){
  101. let current = e.target.dataset.src;
  102. let that = this;
  103. uni.previewImage({
  104. current,
  105. urls:[imgUrl],
  106. longPressActions:{
  107. itemList:['保存图片'],
  108. success(data) {
  109. that.saveImage(imgUrl);
  110. },
  111. fail(err) {
  112. that.$showToast(err.errMsg);
  113. }
  114. }
  115. })
  116. },
  117. saveImage(url){
  118. let that = this;
  119. uni.downloadFile({
  120. url,
  121. success(res) {
  122. let filePath = res.tempFilePath;
  123. uni.saveImageToPhotosAlbum({
  124. filePath,
  125. success() {
  126. that.$showToast('保存成功');
  127. },
  128. fail(err) {
  129. that.$showToast('保存失败');
  130. }
  131. })
  132. }
  133. })
  134. }
  135. }
  136. }
  137. </script>
  138. <style scoped lang="less">
  139. ::v-deep .desc .title{
  140. margin-top: 16rpx;
  141. }
  142. ::v-deep .desc .memo{
  143. padding-right: 101rpx;
  144. margin-top: 36rpx;
  145. }
  146. ::v-deep .form{
  147. margin-top: 100rpx;
  148. }
  149. .content{
  150. width: 100%;
  151. padding-bottom: 44rpx;
  152. overflow-x: hidden;
  153. .boxs{
  154. width: 100%;
  155. padding: 0 30rpx;
  156. box-sizing: border-box;
  157. .b_title{
  158. font-family: PingFang-SC, PingFang-SC;
  159. font-weight: bold;
  160. font-size: 42rpx;
  161. color: #111111;
  162. line-height: 42rpx;
  163. text-align: center;
  164. margin-top: 64rpx;
  165. }
  166. .b_desc{
  167. font-family: PingFangSC, PingFang SC;
  168. font-weight: 400;
  169. font-size: 28rpx;
  170. color: #333333;
  171. line-height: 42rpx;
  172. text-align: justify;
  173. font-style: normal;
  174. margin-top: 48rpx;
  175. }
  176. .fatz{
  177. .items{
  178. margin-top: 12rpx;
  179. display: flex;
  180. justify-content: space-between;
  181. flex-wrap: wrap;
  182. .item{
  183. width: calc(50% - 15rpx);
  184. height: 360rpx;
  185. background: #FAFCFF;
  186. border-radius: 2rpx;
  187. display: flex;
  188. flex-direction: column;
  189. align-items: center;
  190. margin-top: 24rpx;
  191. image{
  192. width: 118rpx;
  193. height: 118rpx;
  194. }
  195. p{
  196. font-family: PingFangSC, PingFang SC;
  197. font-weight: 400;
  198. font-size: 30rpx;
  199. color: #111111;
  200. line-height: 42rpx;
  201. text-align: center;
  202. margin-top: 2rpx;
  203. }
  204. .tip{
  205. width: 100%;
  206. padding: 0 20rpx;
  207. box-sizing: border-box;
  208. font-family: PingFangSC, PingFang SC;
  209. font-weight: 400;
  210. font-size: 24rpx;
  211. color: #777777;
  212. line-height: 33rpx;
  213. margin-top: 16rpx;
  214. }
  215. }
  216. }
  217. }
  218. .img{
  219. width: 100%;
  220. margin-top: 48rpx;
  221. }
  222. .box2{
  223. .img{
  224. width: calc(100% + 60rpx);
  225. position: relative;
  226. left: -30rpx;
  227. }
  228. }
  229. .box3{
  230. .desc{
  231. font-family: PingFangSC, PingFang SC;
  232. font-weight: 400;
  233. font-size: 28rpx;
  234. color: #111111;
  235. line-height: 42rpx;
  236. text-align: left;
  237. margin-top: 48rpx;
  238. }
  239. .items{
  240. margin-top: 24rpx;
  241. width: 100%;
  242. display: flex;
  243. justify-content: space-between;
  244. flex-wrap: wrap;
  245. .item{
  246. width: calc(50% - 25rpx);
  247. background: #FFFFFF;
  248. box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(0,0,0,0.06);
  249. margin-top: 25rpx;
  250. .img{
  251. width: 320rpx;
  252. height: 200rpx;
  253. margin-top: 0;
  254. image{
  255. width: 100%;
  256. height: 100%;
  257. }
  258. }
  259. .title{
  260. width: 100%;
  261. font-family: PingFangSC, PingFang SC;
  262. font-weight: 400;
  263. font-size: 30rpx;
  264. color: #111111;
  265. line-height: 32rpx;
  266. text-align: center;
  267. padding: 22rpx 0;
  268. overflow: hidden;
  269. text-overflow: ellipsis;
  270. white-space: nowrap;
  271. }
  272. }
  273. }
  274. }
  275. }
  276. }
  277. </style>