| | |
| | | import { useSettingStore } from "@/stores"; |
| | | import { storeToRefs } from "pinia"; |
| | | import EmptyCom from "@/components/empty-com" |
| | | |
| | | const options = reactive([ |
| | | { |
| | | title:"青城山风景区", |
| | | num1:56, |
| | | num2:54, |
| | | num3:47, |
| | | num4:35, |
| | | num5:48, |
| | | num6:21, |
| | | num7:87, |
| | | }, |
| | | { |
| | | title:"都江堰风景区", |
| | | num1:356, |
| | | num2:354, |
| | | num3:347, |
| | | num4:335, |
| | | num5:348, |
| | | num6:321, |
| | | num7:387, |
| | | }, |
| | | { |
| | | title:"虹口旅游景区", |
| | | num1:256, |
| | | num2:254, |
| | | num3:247, |
| | | num4:235, |
| | | num5:248, |
| | | num6:221, |
| | | num7:287, |
| | | }, |
| | | { |
| | | title:"灌县古城", |
| | | num1:156, |
| | | num2:154, |
| | | num3:147, |
| | | num4:135, |
| | | num5:148, |
| | | num6:121, |
| | | num7:187, |
| | | } |
| | | ]) |
| | | </script> |
| | | |
| | | <template> |
| | | <div class="left_boottom_wrap beautify-scroll-def" > |
| | | 重点景区 |
| | | <div class="left-bottom-fj" v-for="(item,index) in options" :key="index"> |
| | | <div> |
| | | <div class="left-bottom-fj-title">{{item.title}}</div> |
| | | <div class="left-bottom-fj-info"> |
| | | <p class="left-fj-p">车流量:<span class="left-p">{{ item.num1 }}</span><span class="left-fj-sp">辆</span></p> |
| | | <p class="left-fj-p">游客预约:<span class="left-p">{{ item.num2 }}</span><span class="left-fj-sp">人</span></p> |
| | | <p class="left-fj-p">在岗警力:<span class="left-p">{{ item.num3 }}</span><span class="left-fj-sp">人</span></p> |
| | | <p class="left-fj-p">备用警力:<span class="left-p">{{ item.num4 }}</span><span class="left-fj-sp">辆</span></p> |
| | | <p class="left-fj-p">人流量:<span class="left-p">{{ item.num5 }}</span><span class="left-fj-sp">人</span></p> |
| | | <p class="left-fj-p">入园人数:<span class="left-p">{{ item.num6 }}</span><span class="left-fj-sp">人</span></p> |
| | | <p class="left-fj-p">在岗警车:<span class="left-p">{{ item.num7 }}</span><span class="left-fj-sp">辆</span></p> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <style scoped lang="scss"> |
| | | .left_boottom_wrap { |
| | | margin-left: 10px; |
| | | overflow: hidden; |
| | | width: 100%; |
| | | height: 100%; |
| | | .left-bottom-fj{ |
| | | margin-bottom:20px ; |
| | | border: 1px solid #29466A; |
| | | .left-bottom-fj-info{ |
| | | padding: 10px; |
| | | .left-fj-p{ |
| | | width: 23%; |
| | | margin-top: 3px; |
| | | margin-right: 10px; |
| | | color: #4481DD; |
| | | .left-fj-sp{ |
| | | color: #fff; |
| | | } |
| | | } |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | .left-p{ |
| | | color: #FAE67D; |
| | | } |
| | | } |
| | | .left-bottom-fj-title{ |
| | | font-family: PingFang SC; |
| | | font-weight: 800; |
| | | color: #44DBDD; |
| | | line-height: 40px; |
| | | height: 80px; |
| | | text-align: center; |
| | | background-image: url("@/assets/img/fjbg.png"); |
| | | background-position: center; /* 水平和垂直都居中对齐 */ |
| | | background-repeat: no-repeat; /* 不重复平铺背景图像 */ |
| | | background-size: cover; /* 自动调整大小以完全覆盖元素 */ |
| | | } |
| | | } |
| | | } |
| | | |
| | | .doudong { |