zhxf.vue 8.1 KB

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