fireBashDetail.vue 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <template>
  2. <view class="padding fireBashDetailWrapper">
  3. <view class="margin-bottom fireD-tit">{{this.getData.title}}</view>
  4. <view class="flex justify-between align-center">
  5. <view>
  6. <view class="cu-avatar round" style="background-image:url(../../static/fireBase.png)"></view>
  7. <text class="margin-left-sm margin-right-sm text-sm">{{this.getData.author}}</text>
  8. <text>{{this.getData.release_time}}</text>
  9. </view>
  10. <view style="color:#999">阅读:{{this.getData.frequency}}</view>
  11. </view>
  12. <view class="fireD-content margin-top padding-top-xs">
  13. <view class="">
  14. <img src="../../../static/fireD-img.png" alt="" style="max-width:100%">
  15. <view style="text-indent:58rpx">
  16. &nbsp;第一决:熟悉环境,暗记出口。当你来到酒店,卡拉OK厅,务必留心疏散通道、安全出口及楼梯方位等,等大火燃起、浓烟密布时,便可以摸清道路,尽快逃离现场。</view>
  17. <view style="text-indent:58rpx">第二决:通道出口畅通无阻。楼梯、通道、安全出口等是火灾发生时最重要的逃生支路,应保证畅通无阻,切不可堆放杂物或设闸上锁。且自断后路,必死无疑。
  18. </view>
  19. <view style="text-indent:58rpx">第三决:保持镇静,快速撤离。突遇火灾,面对浓烟和烈火,千万不要盲目的跟从人流相互拥挤、乱冲乱撞。
  20. 首先要保持镇静,判明起火地点,多地脑筋,因地制宜, 因时制宜,决定逃生的办法。</view>
  21. <view style="text-indent:58rpx">第四决:不入险地、不贪财物、生命是最重要的。不要因为害羞及顾及贵重物品,而把宝贵的逃生时间浪费在
  22. 穿衣或寻找贵重物品上。据报载:在一次特大火灾中,人们发现有三名遇难者手中抓着存折或首饰。</view>
  23. <view style="text-indent:58rpx">
  24. 第五决:简易防护,不可缺少。逃生时可用毛巾、口罩等蒙住口鼻,将被褥浇湿蒙在身上通过烟火区。烟气较空气轻而飘上部,匍匐前进,贴近地面逃离是较佳的办法。</view>
  25. <view style="text-indent:58rpx">第六决:莫乘电梯。发生火灾后,电气设备随时可能发生短路,造成停电。一定不要乘坐电梯。要走楼梯或紧急疏散通道。</view>
  26. </view>
  27. </view>
  28. <view class="preAndNext">
  29. <view class="flex align-top">
  30. <view style="width:120rpx">上一篇:</view>
  31. <view style="width:calc(100% - 120rpx)" >火灾逃生十大要诀</view>
  32. </view>
  33. <view class="flex align-top">
  34. <view style="width:120rpx">下一篇:</view>
  35. <view style="width:calc(100% - 120rpx)">火灾逃生十大要诀</view>
  36. </view>
  37. </view>
  38. <!-- <view class="share grid col-3">
  39. <view class="share-item align">
  40. <text class="icon iconfont margin-right-xs margin-left-lg">&#xe60c;</text>
  41. 分享
  42. </view>
  43. <view class="share-item" @click="clickPraise()" :class="[praise?'active':'']"><text class="icon iconfont margin-right-xs margin-left-lg" >&#xe62a;</text>收藏</view>
  44. <view class="share-item" @click="clickZan()" :class="[zan?'active':'']"><text class="icon iconfont margin-right-xs margin-left-lg">&#xe600;</text>点赞</view>
  45. </view> -->
  46. </view>
  47. </template>
  48. <script>
  49. export default {
  50. data() {
  51. return {
  52. praise:false,
  53. zan:false,
  54. getData:{}
  55. }
  56. },
  57. onLoad:function(option){
  58. this.getFireBaseDetail({'company_code':uni.getStorageSync('selectedCode'),"id":option.id})
  59. },
  60. methods: {
  61. // 详情页数据请求
  62. async getFireBaseDetail(params = {}) {
  63. const res = await this.$myRequest({
  64. url: 'KnowledgeBase/getKnowledgeBaseDetails',
  65. data:params,
  66. showLoading: true
  67. })
  68. this.getData=res.data.data[0];
  69. console.log(this.getData)
  70. },
  71. clickPraise() {
  72. this.praise = !this.praise;
  73. },
  74. clickZan() {
  75. this.zan = !this.zan;
  76. },
  77. }
  78. }
  79. </script>
  80. <style>
  81. </style>