Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 15:58:10 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-01-02 10:19:05 |
| | | * @LastEditTime: 2023-01-02 11:43:05 |
| | | * @FilePath: \srs-police-affairs\src\App.vue |
| | | * @Description: app.vue |
| | | * |
| | | * Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved. |
| | | --> |
| | | <template> |
| | | <div id="app" :style="{ width: currentWidth + 'px', height: currentHeight + 'px' }"> |
| | | <div id="app" :style="{ |
| | | width: (useSceen == true ? currentWidth + 'px' : '100%'), |
| | | height: (useSceen == true ? currentHeight + 'px' : '100%') |
| | | }"> |
| | | <router-view></router-view> |
| | | </div> |
| | | </template> |
| | |
| | | return { |
| | | currentWidth: 0, |
| | | currentHeight: 0, |
| | | useSceen: false |
| | | } |
| | | }, |
| | | |
| | | watch: { |
| | | $route: { |
| | | handler (newPath, oldPath) { |
| | | if (newPath.path == "/layout/home") { |
| | | this.useSceen = true |
| | | } else { |
| | | this.useSceen = false |
| | | } |
| | | }, |
| | | immediate: true |
| | | } |
| | | }, |
| | | |
| | | provide () { |
| | | return { |
| | | getWidth: this.getWidth, |
| | | currentHeight: this.currentHeight, |
| | | getWidth: this.getWidth |
| | | } |
| | | }, |
| | | |
| | |
| | | |
| | | <style lang="scss"> |
| | | #app { |
| | | width: 100%; |
| | | height: 100%; |
| | | font-family: Avenir, Helvetica, Arial, sans-serif; |
| | | -webkit-font-smoothing: antialiased; |
| | | -moz-osx-font-smoothing: grayscale; |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-11-09 13:51:23 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-11-09 16:31:43 |
| | | * @LastEditTime: 2023-01-02 14:18:14 |
| | | * @FilePath: \srs-police-affairs\src\components\shrink\index.vue |
| | | * @Description: |
| | | * |
| | |
| | | document.querySelector('.dc-container .dc-zoom-controller').classList.remove('shrink-btn') |
| | | document.querySelector('.screen-full-btn').classList.remove('shrink-btn') |
| | | document.querySelector('.image-switch-icon-btn').classList.remove('shrink-btn') |
| | | document.querySelector('.image-switch-img-btn').classList.remove('shrink-btn') |
| | | |
| | | } else { |
| | | this.str = '>>' |
| | | document.querySelector('.dc-container .dc-zoom-controller').classList.add('shrink-btn') |
| | | document.querySelector('.screen-full-btn').classList.add('shrink-btn') |
| | | document.querySelector('.image-switch-icon-btn').classList.add('shrink-btn') |
| | | document.querySelector('.image-switch-img-btn').classList.add('shrink-btn') |
| | | } |
| | | } |
| | | }, |
| | |
| | | document.querySelector('.dc-container .dc-zoom-controller').classList.remove('shrink-btn') |
| | | document.querySelector('.screen-full-btn').classList.remove('shrink-btn') |
| | | document.querySelector('.image-switch-icon-btn').classList.remove('shrink-btn') |
| | | document.querySelector('.image-switch-img-btn').classList.remove('shrink-btn') |
| | | } |
| | | } |
| | | </script> |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-07-29 15:19:13 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-12-16 16:48:28 |
| | | * @LastEditTime: 2023-01-02 14:06:29 |
| | | * @FilePath: \srs-police-affairs\src\router\axios.js |
| | | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | */ |
| | |
| | | margin: 0; |
| | | padding: 0; |
| | | box-sizing: border-box; |
| | | scrollbar-color: rgba(8, 56, 185, 0.9) hsla(0, 0%, 84.7%, 0.2); |
| | | scrollbar-width: thin; |
| | | } |
| | | |
| | | html, |
| | |
| | | height: 100%; |
| | | font-size: 16px; |
| | | overflow-x: hidden; |
| | | overflow-y: auto; |
| | | background: #032e61; |
| | | |
| | | // scrollbar-width: none; |
| | | // -ms-overflow-style: none; |
| | |
| | | -ms-interpolation-mode: nearest-neighbor; |
| | | } |
| | | |
| | | ::-webkit-scrollbar { |
| | | width: 8px; |
| | | height: 8px; |
| | | background-color: none; |
| | | border-radius: 8px; |
| | | } |
| | | // ::-webkit-scrollbar { |
| | | // width: 5px; |
| | | // height: 5px; |
| | | // background-color: transparent; |
| | | // } |
| | | |
| | | // hsla(0, 0%, 84.7%, 0.6); |
| | | ::-webkit-scrollbar-thumb { |
| | | border-radius: 8px; |
| | | background-color: rgba(17, 38, 163, 0.5); |
| | | padding-left: 2px; |
| | | padding-right: 2px; |
| | | } |
| | | // ::-webkit-scrollbar { |
| | | // width: 7px; |
| | | // height: 7px; |
| | | // background-color: transparent; |
| | | // } |
| | | |
| | | ::-webkit-scrollbar-track { |
| | | background-color: hsla(0, 0%, 84.7%, 0.2); |
| | | } |
| | | // ::-webkit-scrollbar-thumb { |
| | | // border-radius: 5px; |
| | | // background-color: hsla(220deg, 4%, 58%, 0.3); |
| | | // } |
| | | |
| | | ::-webkit-scrollbar-thumb:window-inactive { |
| | | background-color: rgba(8, 56, 185, 0.9); |
| | | } |
| | | // ::-webkit-scrollbar-thumb { |
| | | // border-radius: 5px; |
| | | // background-color: hsla(220deg, 4%, 58%, 0.3); |
| | | // } |
| | | |
| | | :not(select)::-webkit-scrollbar { |
| | | background-color: hsla(0, 0%, 84.7%, 0.2); |
| | | } |
| | | // ::-webkit-scrollbar-track-piece { |
| | | // background-color: transparent; |
| | | // } |
| | | |
| | | ::-webkit-scrollbar-thumb:hover { |
| | | background-color: rgba(8, 56, 185, 0.9); |
| | | } |
| | | // ::-webkit-scrollbar-track-piece { |
| | | // background-color: transparent; |
| | | // } |
| | | |
| | | .car-video-box { |
| | | .el-dialog { |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | position: fixed; |
| | | position: absolute; |
| | | font-size: 20px; |
| | | color: #fff; |
| | | background: #fff; |
| | |
| | | height: countSizeVh(44); |
| | | line-height: countSizeVh(44); |
| | | } |
| | | |
| | | .close { |
| | | height: countSizeVh(20); |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | .second-container { |
| | |
| | | margin-left: countSizeVw(18, 1920) !important; |
| | | } |
| | | } |
| | | |
| | | .row-btn-box { |
| | | height: countSizeVh(30); |
| | | .el-button { |
| | | padding: countSizeVh(7) 20px; |
| | | font-size: countSizeVh(14); |
| | | border: countSizeVh(1) solid #2e3fad; |
| | | } |
| | | } |
| | | |
| | | .el-button { |
| | | padding: countSizeVh(7) 20px; |
| | | font-size: countSizeVh(14); |
| | | border: countSizeVh(1) solid #2e3fad; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .btn-box { |
| | |
| | | width: countSizeVw(60, 1920); |
| | | height: countSizeVh(30); |
| | | margin-top: countSizeVh(40); |
| | | background-color: rgba(2, 140, 184, 0.8); |
| | | border: countSizeVh(1) solid rgba(2, 140, 184, 0.8); |
| | | background-color: rgba(8, 56, 185, 0.9); |
| | | border: countSizeVh(1) solid rgba(8, 56, 185, 0.9); |
| | | } |
| | | |
| | | .el-dialog .el-dialog__body .el-button:hover { |
| | | background-color: #409EFF; |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | .image-switch-img-btn { |
| | | left: countSizeVw(46, 1920); |
| | | bottom: countSizeVh(190); |
| | | top: 0; |
| | | left: countSizeVw(40, 1920); |
| | | font-size: countSizeVh(20); |
| | | border-radius: countSizeVh(5); |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | .image-switch-img-btn.imgbottom { |
| | | left: countSizeVw(446, 1920); |
| | | bottom: countSizeVh(480); |
| | | } |
| | | |
| | | .image-switch-img-btn.shrink-btn { |
| | | left: countSizeVw(454, 1920); |
| | | bottom: countSizeVh(154); |
| | | } |
| | | } |
| | | |
| | | .auth-page { |
| | |
| | | border-top: countSizeVh(14) solid transparent; |
| | | top: countSizeVh(28); |
| | | left: countSizeVw(72, 1920); |
| | | |
| | | |
| | | div { |
| | | height: countSizeVh(36); |
| | | line-height: countSizeVh(36); |
| | | font-size: countSizeVh(16); |
| | | } |
| | | |
| | | |
| | | div:first-child { |
| | | padding-top: countSizeVh(10); |
| | | } |
| | | |
| | | |
| | | div:last-child { |
| | | padding-bottom: countSizeVh(10); |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | .draw-btn { |
| | | margin: countSizeVh(8) countSizeVw(8, 1920); |
| | | height: countSizeVh(26); |
| | | .el-button--mini{ |
| | | |
| | | .el-button--mini { |
| | | font-size: countSizeVh(16); |
| | | padding: countSizeVh(8) 0; |
| | | border-radius: countSizeVh(4); |
| | |
| | | |
| | | .el-table__header-wrapper { |
| | | height: countSizeVh(48); |
| | | |
| | | |
| | | .el-table__header { |
| | | height: 100%; |
| | | } |
| | | } |
| | | |
| | | |
| | | .el-table th.el-table__cell { |
| | | height: 100%; |
| | | } |
| | | |
| | | |
| | | .el-table .cell { |
| | | line-height: countSizeVh(48); |
| | | font-size: countSizeVh(16); |
| | | } |
| | | |
| | | |
| | | .el-table th.el-table__cell>.cell { |
| | | height: 100%; |
| | | } |
| | | |
| | | |
| | | .el-table__empty-text { |
| | | font-size: countSizeVh(16); |
| | | } |
| | |
| | | &>div { |
| | | display: flex; |
| | | align-items: center; |
| | | |
| | | |
| | | &>button { |
| | | width: countSizeVh(32); |
| | | height: countSizeVh(32); |
| | | |
| | | |
| | | &>i { |
| | | font-size: countSizeVh(16); |
| | | } |
| | | } |
| | | |
| | | |
| | | &>ul { |
| | | display: flex; |
| | | align-items: center; |
| | | |
| | | |
| | | li { |
| | | width: countSizeVh(32); |
| | | height: countSizeVh(32); |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | width: countSizeVw(88, 1920); |
| | | font-size: countSizeVh(16); |
| | | } |
| | | .category-value{ |
| | | |
| | | .category-value { |
| | | .category-input { |
| | | width: 80%; |
| | | height: countSizeVh(32); |
| | |
| | | border: countSizeVh(1) solid rgb(0, 92, 169); |
| | | border-radius: countSizeVh(5) 0 0 countSizeVw(5, 1920); |
| | | } |
| | | |
| | | |
| | | .category-button { |
| | | font-size: countSizeVh(20); |
| | | // width: countSizeVw(60, 1920); |
| | |
| | | border: countSizeVh(1) solid rgb(0, 92, 169); |
| | | border-radius: 0 countSizeVw(5, 1920) countSizeVh(5) 0; |
| | | } |
| | | |
| | | |
| | | .category-button:active { |
| | | border: countSizeVh(1) solid rgb(0, 92, 169); |
| | | } |
| | | |
| | | .el-range-editor.el-input__inner{ |
| | | width: 100%!important; |
| | | .el-range-editor.el-input__inner { |
| | | width: 100% !important; |
| | | height: countSizeVh(32); |
| | | } |
| | | |
| | | .el-range-editor .el-range-input{ |
| | | .el-range-editor .el-range-input { |
| | | font-size: countSizeVh(14); |
| | | height: countSizeVh(32); |
| | | line-height: countSizeVh(32); |
| | | } |
| | | |
| | | .el-icon-date:before{ |
| | | .el-icon-date:before { |
| | | font-size: countSizeVh(14); |
| | | } |
| | | |
| | | .el-date-editor .el-range__icon{ |
| | | line-height: countSizeVh(32); |
| | | height: countSizeVh(32); |
| | | margin-left: countSizeVw(4, 1920); |
| | | .el-date-editor .el-range__icon { |
| | | line-height: countSizeVh(32); |
| | | height: countSizeVh(32); |
| | | margin-left: countSizeVw(4, 1920); |
| | | } |
| | | |
| | | .el-date-editor .el-range-separator{ |
| | | height: countSizeVh(32); |
| | | line-height: countSizeVh(32); |
| | | font-size: countSizeVh(14); |
| | | .el-date-editor .el-range-separator { |
| | | height: countSizeVh(32); |
| | | line-height: countSizeVh(32); |
| | | font-size: countSizeVh(14); |
| | | } |
| | | |
| | | .el-select { |
| | | width: 100%; |
| | | height: countSizeVh(32); |
| | | } |
| | | .el-input--suffix .el-input__inner{ |
| | | |
| | | .el-input--suffix .el-input__inner { |
| | | height: countSizeVh(32); |
| | | font-size: countSizeVh(14); |
| | | padding-left: countSizeVw(10, 1920); |
| | | } |
| | | .el-select .el-input .el-select__caret{ |
| | | |
| | | .el-select .el-input .el-select__caret { |
| | | font-size: countSizeVh(14); |
| | | line-height: countSizeVh(32); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | .second-container { |
| | | top: countSizeVh(10); |
| | | width: countSizeVw(240, 1920); |
| | | |
| | | .el-tree-node__content{ |
| | | |
| | | .el-tree-node__content { |
| | | height: countSizeVh(30); |
| | | font-size: countSizeVh(16); |
| | | } |
| | | .el-tree-node__label{ |
| | | |
| | | .el-tree-node__label { |
| | | font-size: countSizeVh(16); |
| | | } |
| | | .el-checkbox .el-checkbox__inner{ |
| | | |
| | | .el-checkbox .el-checkbox__inner { |
| | | height: countSizeVh(20); |
| | | width: countSizeVh(20); |
| | | border-radius: countSizeVh(2); |
| | | } |
| | | .el-tree-node__expand-icon{ |
| | | |
| | | .el-tree-node__expand-icon { |
| | | font-size: countSizeVh(16); |
| | | |
| | | } |
| | | .el-checkbox .el-checkbox__inner::after{ |
| | | |
| | | .el-checkbox .el-checkbox__inner::after { |
| | | height: countSizeVh(16); |
| | | left:countSizeVw(7, 1920); |
| | | left: countSizeVw(7, 1920); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | } |
| | | |
| | | .flexible-btn{ |
| | | .flexible-btn { |
| | | font-size: countSizeVh(24); |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .image-switch-img-btn.imgbottom { |
| | | left: countSizeVw(446, 1920); |
| | | bottom: countSizeVh(480); |
| | | } |
| | | |
| | | .image-switch-img-btn.shrink-btn { |
| | | left: countSizeVw(454, 1920); |
| | | bottom: countSizeVh(154); |
| | | } |
| | | } |
| | | } |
| | | .option-css,.activity-option { |
| | | |
| | | .option-css, |
| | | .activity-option { |
| | | height: countSizeVh(40); |
| | | line-height: countSizeVh(40); |
| | | font-size: countSizeVh(16); |
| | | } |
| | | .option-css:hover,.option-css.selected { |
| | | |
| | | .option-css:hover, |
| | | .option-css.selected { |
| | | color: #409EFF; |
| | | } |
| | | |
| | | .option-css:hover { |
| | | background-color:rgba(0, 92, 169, 0.3) !important; |
| | | background-color: rgba(0, 92, 169, 0.3) !important; |
| | | } |
| | | |
| | | .el-select-dropdown__wrap { |
| | | max-height: countSizeVh(200); |
| | | } |
| | | .el-picker-panel{ |
| | | width: countSizeVw(536, 1920)!important; |
| | | |
| | | .el-picker-panel { |
| | | width: countSizeVw(536, 1920) !important; |
| | | } |
| | | .el-date-range-picker__header div{ |
| | | |
| | | .el-date-range-picker__header div { |
| | | font-size: countSizeVh(16); |
| | | height: countSizeVh(36); |
| | | line-height: countSizeVh(36); |
| | | |
| | | } |
| | | |
| | | .el-picker-panel .el-date-range-picker__header button { |
| | | font-size: countSizeVh(16); |
| | | height: countSizeVh(36); |
| | | line-height: countSizeVh(36); |
| | | } |
| | | .el-date-table td span,.el-date-table th{ |
| | | |
| | | .el-date-table td span, |
| | | .el-date-table th { |
| | | font-size: countSizeVh(16); |
| | | } |
| | | .el-date-table tr{ |
| | | |
| | | .el-date-table tr { |
| | | height: countSizeVh(22); |
| | | } |
| | | } |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-12-29 15:46:00 |
| | | * @LastEditTime: 2023-01-02 11:49:02 |
| | | * @FilePath: \srs-police-affairs\src\views\activity\index.vue |
| | | * @Description: 安保活动 |
| | | * |
| | |
| | | <div> |
| | | <div class="category">活动类型:</div> |
| | | <div class="category-value"> |
| | | <el-select |
| | | size="small" |
| | | v-model="activityType" |
| | | placeholder="请选择" |
| | | @change="activityTypeChange" |
| | | > |
| | | <el-option |
| | | v-for="item in activityOptions" |
| | | :key="item.dictKey" |
| | | :label="item.dictValue" |
| | | :value="item.dictKey" |
| | | class="activity-option" |
| | | ></el-option> |
| | | <el-select size="small" v-model="activityType" placeholder="请选择" @change="activityTypeChange"> |
| | | <el-option v-for="item in activityOptions" :key="item.dictKey" :label="item.dictValue" |
| | | :value="item.dictKey" class="activity-option"></el-option> |
| | | </el-select> |
| | | </div> |
| | | </div> |
| | |
| | | placeholder="选择日期" |
| | | style="width:268px" |
| | | ></el-date-picker>--> |
| | | <el-date-picker |
| | | v-model="selectTime" |
| | | type="daterange" |
| | | align="right" |
| | | unlink-panels |
| | | format="yyyy-MM-dd HH:mm:ss" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | range-separator="至" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | :picker-options="pickerOptions" |
| | | @change="activityTimeChange" |
| | | ></el-date-picker> |
| | | <el-date-picker v-model="selectTime" type="daterange" align="right" unlink-panels |
| | | format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss" range-separator="至" |
| | | start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions" |
| | | @change="activityTimeChange"></el-date-picker> |
| | | </div> |
| | | </div> |
| | | |
| | | <div> |
| | | <div class="category">活动名称:</div> |
| | | <div class="category-value"> |
| | | <input |
| | | type="text" |
| | | placeholder="请输入活动名称" |
| | | v-model="searchActivity" |
| | | class="category-input" |
| | | @input="inputChange" |
| | | /> |
| | | <input type="text" placeholder="请输入活动名称" v-model="searchActivity" class="category-input" |
| | | @input="inputChange" /> |
| | | <button class="category-button el-icon-search" @click="searchClick"></button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="result-content"> |
| | | <div class="table-box"> |
| | | <div |
| | | v-show="activityList.length > 0" |
| | | class="row-box" |
| | | :class="{ on: currentClickIndex === index }" |
| | | v-for="(item, index) in activityList" |
| | | :key="index" |
| | | @click="activityListClick(item, index)" |
| | | > |
| | | <div v-show="activityList.length > 0" class="row-box" :class="{ on: currentClickIndex === index }" |
| | | v-for="(item, index) in activityList" :key="index" @click="activityListClick(item, index)"> |
| | | <div class="row-title">常规安保</div> |
| | | <div class="row-content"> |
| | | <div> |
| | |
| | | </div> |
| | | <div> |
| | | <div class="category">活动时间:</div> |
| | | <div |
| | | class="category-value" |
| | | >{{ item.startTime }} 至 {{ item.endTime }}</div> |
| | | <div class="category-value">{{ item.startTime }} 至 {{ item.endTime }}</div> |
| | | </div> |
| | | <div> |
| | | <div class="category">活动详情:</div> |
| | |
| | | <div v-show="activityList == 0" class="no-data">暂无数据</div> |
| | | </div> |
| | | <div class="pages"> |
| | | <el-pagination |
| | | background |
| | | layout="prev, pager, next" |
| | | :page-size="pagesize" |
| | | :page-count="pagesCount" |
| | | :current-page="currentPage" |
| | | @current-change="handleCurrentChange" |
| | | ></el-pagination> |
| | | <el-pagination background layout="prev, pager, next" :page-size="pagesize" :page-count="pagesCount" |
| | | :current-page="currentPage" @current-change="handleCurrentChange"></el-pagination> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <ul> |
| | | <li> |
| | | <button @click="draw('billboard', 'policeman')"> |
| | | <img |
| | | src="../../../public/img/icon/police-people-btn.png" |
| | | style="height:100%" |
| | | /> |
| | | <img src="../../../public/img/icon/police-people-btn.png" style="height:100%" /> |
| | | </button> |
| | | </li> |
| | | <li> |
| | |
| | | </div> |
| | | <div class="row-box"> |
| | | <div class="category">活动时间:</div> |
| | | <div |
| | | class="category-value" |
| | | >{{ activityDetails.startTime }} 至 {{ activityDetails.endTime }}</div> |
| | | <div class="category-value">{{ activityDetails.startTime }} 至 {{ activityDetails.endTime }}</div> |
| | | </div> |
| | | <div class="row-box"> |
| | | <div class="category">活动内容:</div> |
| | |
| | | <div class="row-box"> |
| | | <div class="category">应急预案:</div> |
| | | <div class="category-value"> |
| | | <el-switch |
| | | v-model="polylineSwitch" |
| | | @change="switchChange" |
| | | active-color="#13ce66" |
| | | inactive-color="#ccc" |
| | | ></el-switch> |
| | | <el-switch v-model="polylineSwitch" @change="switchChange" active-color="#13ce66" |
| | | inactive-color="#ccc"></el-switch> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="row-box"> |
| | | <div class="category">巡逻路线:</div> |
| | | <div class="category-value"> |
| | | <el-switch |
| | | v-model="polylineBtnSwitch" |
| | | @change="switchBtnChange" |
| | | active-color="#13ce66" |
| | | inactive-color="#ccc" |
| | | ></el-switch> |
| | | <el-switch v-model="polylineBtnSwitch" @change="switchBtnChange" active-color="#13ce66" |
| | | inactive-color="#ccc"></el-switch> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </ul> |
| | | </div> |
| | | |
| | | <el-dialog |
| | | :title="policeChooseTitle" |
| | | :modal="false" |
| | | :visible.sync="policeChooseVisible" |
| | | :before-close="policeChooseBeforeClose" |
| | | :close-on-click-modal="true" |
| | | class="choose-police-box" |
| | | > |
| | | <el-dialog :title="policeChooseTitle" :modal="false" :visible.sync="policeChooseVisible" |
| | | :before-close="policeChooseBeforeClose" :close-on-click-modal="true" class="choose-police-box"> |
| | | <div> |
| | | <el-select size="small" v-model="policeType" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in policeOption" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | ></el-option> |
| | | <el-option v-for="item in policeOption" :key="item.value" :label="item.label" |
| | | :value="item.value"></el-option> |
| | | </el-select> |
| | | <el-button @click="determine">确定</el-button> |
| | | <el-button @click="cancel">取消</el-button> |
| | |
| | | .search-box { |
| | | padding: 0 10px; |
| | | |
| | | & > div:first-child { |
| | | &>div:first-child { |
| | | margin-top: 0; |
| | | } |
| | | |
| | | & > div { |
| | | &>div { |
| | | margin-top: 10px; |
| | | display: flex; |
| | | align-items: center; |
| | |
| | | font-size: 14px; |
| | | |
| | | .row-content { |
| | | & > div { |
| | | &>div { |
| | | display: flex; |
| | | line-height: 28px; |
| | | |
| | |
| | | white-space: nowrap; |
| | | transform: translate(-50%, 0); |
| | | |
| | | & > div { |
| | | &>div { |
| | | display: flex; |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .close { |
| | | position: absolute; |
| | | top: 2%; |
| | |
| | | line-height: 28px; |
| | | display: flex; |
| | | |
| | | & > div { |
| | | &>div { |
| | | text-align: left; |
| | | } |
| | | |
| | |
| | | flex: 1; |
| | | } |
| | | } |
| | | |
| | | .row-btn-box { |
| | | |
| | | // height: 30px; |
| | | :deep(.el-button) { |
| | | // padding: 7px 20px; |
| | | font-size: 14px; |
| | | color: #fff; |
| | | background-color: rgba(2, 140, 184, 0.8); |
| | | border: 1px solid #2e3fad; |
| | | background-color: rgba(8, 56, 185, 0.9); |
| | | border: 1px solid rgba(8, 56, 185, 0.9); |
| | | border-radius: 14px; |
| | | } |
| | | |
| | | :deep(.el-button:hover) { |
| | | background-color: rgba(2, 140, 184, 0.5); |
| | | background-color: #409EFF; |
| | | } |
| | | } |
| | | } |
| | |
| | | padding: 10px; |
| | | color: #fff; |
| | | background-color: $bg-color; |
| | | |
| | | .row-box { |
| | | width: 100%; |
| | | line-height: 28px; |
| | | display: flex; |
| | | |
| | | & > div { |
| | | &>div { |
| | | text-align: left; |
| | | } |
| | | |
| | |
| | | } |
| | | }, |
| | | |
| | | inject: ["getWidth", "currentHeight"], |
| | | inject: ["getWidth"], |
| | | |
| | | components: { |
| | | vueSeamlessScroll |
| | |
| | | <mask id="border-box-8-mask-974b4d7cfafa444396861ca1d1173c8c"> |
| | | <circle cx="0" cy="0" r="150" |
| | | fill="url(#border-box-8-gradient-974b4d7cfafa444396861ca1d1173c8c)"> |
| | | <animateMotion dur="3s" |
| | | <animateMotion dur="8s" |
| | | path="M0.27,0.03c52.66,0,105.34,0,158,0c1.67,2,3.33,4,5,6c1,0.33,2,0.67,3,1c1.33,1.67,2.67,3.33,4,5 |
| | | c16,0,32,0,48,0c53.66,0,107.34,0,161,0c1.13,1.72,0.63,1.36,3,2c0,0.67,0,1.33,0,2c0.67,0,1.33,0,2,0 |
| | | c0.01,104.58,0.01,206.44,0,309c-1.43,0.78-4.01,2.77-5,4c-12,0-24,0-36,0c-2.67-3.33-5.33-6.67-8-10c-21,0-42,0-63,0 |
| | |
| | | </use> |
| | | <use stroke-width="3" xlink:href="#border-box-8-path-974b4d7cfafa444396861ca1d1173c8c" |
| | | mask="url(#border-box-8-mask-974b4d7cfafa444396861ca1d1173c8c)" stroke="#4fd2dd"> |
| | | <animate attributeName="stroke-dasharray" from="0, 1442" to="1442, 0" dur="3s" |
| | | <animate attributeName="stroke-dasharray" from="0, 1442" to="1442, 0" dur="8s" |
| | | repeatCount="indefinite"> |
| | | </animate> |
| | | </use> |
| | |
| | | <mask id="border-box-8-mask-974b4d7cfafa444396861ca1d1173c8c"> |
| | | <circle cx="0" cy="0" r="150" |
| | | fill="url(#border-box-8-gradient-974b4d7cfafa444396861ca1d1173c8c)"> |
| | | <animateMotion dur="3s" |
| | | <animateMotion dur="8s" |
| | | path="M0.27,0.03c52.66,0,105.34,0,158,0c1.67,2,3.33,4,5,6c1,0.33,2,0.67,3,1c1.33,1.67,2.67,3.33,4,5 |
| | | c16,0,32,0,48,0c53.66,0,107.34,0,161,0c1.13,1.72,0.63,1.36,3,2c0,0.67,0,1.33,0,2c0.67,0,1.33,0,2,0 |
| | | c0.01,104.58,0.01,206.44,0,309c-1.43,0.78-4.01,2.77-5,4c-12,0-24,0-36,0c-2.67-3.33-5.33-6.67-8-10c-21,0-42,0-63,0 |
| | |
| | | </use> |
| | | <use stroke-width="3" xlink:href="#border-box-8-path-974b4d7cfafa444396861ca1d1173c8c" |
| | | mask="url(#border-box-8-mask-974b4d7cfafa444396861ca1d1173c8c)" stroke="#4fd2dd"> |
| | | <animate attributeName="stroke-dasharray" from="0, 1442" to="1442, 0" dur="3s" |
| | | <animate attributeName="stroke-dasharray" from="0, 1442" to="1442, 0" dur="8s" |
| | | repeatCount="indefinite"> |
| | | </animate> |
| | | </use> |
| | |
| | | <mask id="border-box-8-mask-974b4d7cfafa444396861ca1d1173c8c"> |
| | | <circle cx="0" cy="0" r="150" |
| | | fill="url(#border-box-8-gradient-974b4d7cfafa444396861ca1d1173c8c)"> |
| | | <animateMotion dur="3s" |
| | | <animateMotion dur="8s" |
| | | path="M0.27,0.03c52.66,0,105.34,0,158,0c1.67,2,3.33,4,5,6c1,0.33,2,0.67,3,1c1.33,1.67,2.67,3.33,4,5 |
| | | c16,0,32,0,48,0c53.66,0,107.34,0,161,0c1.13,1.72,0.63,1.36,3,2c0,0.67,0,1.33,0,2c0.67,0,1.33,0,2,0 |
| | | c0.01,104.58,0.01,206.44,0,309c-1.43,0.78-4.01,2.77-5,4c-12,0-24,0-36,0c-2.67-3.33-5.33-6.67-8-10c-21,0-42,0-63,0 |
| | |
| | | </use> |
| | | <use stroke-width="3" xlink:href="#border-box-8-path-974b4d7cfafa444396861ca1d1173c8c" |
| | | mask="url(#border-box-8-mask-974b4d7cfafa444396861ca1d1173c8c)" stroke="#4fd2dd"> |
| | | <animate attributeName="stroke-dasharray" from="0, 1442" to="1442, 0" dur="3s" |
| | | <animate attributeName="stroke-dasharray" from="0, 1442" to="1442, 0" dur="8s" |
| | | repeatCount="indefinite"> |
| | | </animate> |
| | | </use> |
| | |
| | | <mask id="border-box-8-mask-974b4d7cfafa444396861ca1d1173c8c"> |
| | | <circle cx="0" cy="0" r="150" |
| | | fill="url(#border-box-8-gradient-974b4d7cfafa444396861ca1d1173c8c)"> |
| | | <animateMotion dur="3s" |
| | | <animateMotion dur="8s" |
| | | path="M0.27,0.03c52.66,0,105.34,0,158,0c1.67,2,3.33,4,5,6c1,0.33,2,0.67,3,1c1.33,1.67,2.67,3.33,4,5 |
| | | c16,0,32,0,48,0c53.66,0,107.34,0,161,0c1.13,1.72,0.63,1.36,3,2c0,0.67,0,1.33,0,2c0.67,0,1.33,0,2,0 |
| | | c0.01,104.58,0.01,206.44,0,309c-1.43,0.78-4.01,2.77-5,4c-12,0-24,0-36,0c-2.67-3.33-5.33-6.67-8-10c-21,0-42,0-63,0 |
| | |
| | | </use> |
| | | <use stroke-width="3" xlink:href="#border-box-8-path-974b4d7cfafa444396861ca1d1173c8c" |
| | | mask="url(#border-box-8-mask-974b4d7cfafa444396861ca1d1173c8c)" stroke="#4fd2dd"> |
| | | <animate attributeName="stroke-dasharray" from="0, 1442" to="1442, 0" dur="3s" |
| | | <animate attributeName="stroke-dasharray" from="0, 1442" to="1442, 0" dur="8s" |
| | | repeatCount="indefinite"> |
| | | </animate> |
| | | </use> |
| | |
| | | <mask id="border-box-8-mask-974b4d7cfafa444396861ca1d1173c8c"> |
| | | <circle cx="0" cy="0" r="150" |
| | | fill="url(#border-box-8-gradient-974b4d7cfafa444396861ca1d1173c8c)"> |
| | | <animateMotion dur="3s" |
| | | <animateMotion dur="8s" |
| | | path="M0.27,0.03c52.66,0,105.34,0,158,0c1.67,2,3.33,4,5,6c1,0.33,2,0.67,3,1c1.33,1.67,2.67,3.33,4,5 |
| | | c16,0,32,0,48,0c53.66,0,107.34,0,161,0c1.13,1.72,0.63,1.36,3,2c0,0.67,0,1.33,0,2c0.67,0,1.33,0,2,0 |
| | | c0.01,104.58,0.01,206.44,0,309c-1.43,0.78-4.01,2.77-5,4c-12,0-24,0-36,0c-2.67-3.33-5.33-6.67-8-10c-21,0-42,0-63,0 |
| | |
| | | </use> |
| | | <use stroke-width="3" xlink:href="#border-box-8-path-974b4d7cfafa444396861ca1d1173c8c" |
| | | mask="url(#border-box-8-mask-974b4d7cfafa444396861ca1d1173c8c)" stroke="#4fd2dd"> |
| | | <animate attributeName="stroke-dasharray" from="0, 1442" to="1442, 0" dur="3s" |
| | | <animate attributeName="stroke-dasharray" from="0, 1442" to="1442, 0" dur="8s" |
| | | repeatCount="indefinite"> |
| | | </animate> |
| | | </use> |
| | |
| | | <mask id="border-box-8-mask-974b4d7cfafa444396861ca1d1173c8c"> |
| | | <circle cx="0" cy="0" r="150" |
| | | fill="url(#border-box-8-gradient-974b4d7cfafa444396861ca1d1173c8c)"> |
| | | <animateMotion dur="3s" |
| | | <animateMotion dur="8s" |
| | | path="M0.27,0.03c52.66,0,105.34,0,158,0c1.67,2,3.33,4,5,6c1,0.33,2,0.67,3,1c1.33,1.67,2.67,3.33,4,5 |
| | | c16,0,32,0,48,0c53.66,0,107.34,0,161,0c1.13,1.72,0.63,1.36,3,2c0,0.67,0,1.33,0,2c0.67,0,1.33,0,2,0 |
| | | c0.01,104.58,0.01,206.44,0,309c-1.43,0.78-4.01,2.77-5,4c-12,0-24,0-36,0c-2.67-3.33-5.33-6.67-8-10c-21,0-42,0-63,0 |
| | |
| | | </use> |
| | | <use stroke-width="3" xlink:href="#border-box-8-path-974b4d7cfafa444396861ca1d1173c8c" |
| | | mask="url(#border-box-8-mask-974b4d7cfafa444396861ca1d1173c8c)" stroke="#4fd2dd"> |
| | | <animate attributeName="stroke-dasharray" from="0, 1442" to="1442, 0" dur="3s" |
| | | <animate attributeName="stroke-dasharray" from="0, 1442" to="1442, 0" dur="8s" |
| | | repeatCount="indefinite"> |
| | | </animate> |
| | | </use> |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-12-28 10:26:55 |
| | | * @LastEditTime: 2023-01-02 14:20:09 |
| | | * @FilePath: \srs-police-affairs\src\views\home\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | // document.querySelector('.dc-container .dc-location-bar').classList.add('homebottom') |
| | | document.querySelector('.screen-full-btn').classList.add('homebottom') |
| | | document.querySelector('.image-switch-icon-btn').classList.add('iconbottom') |
| | | document.querySelector('.image-switch-img-btn').classList.add('imgbottom') |
| | | this.setDomStyle() |
| | | }) |
| | | // axios.get('/user/getUserList').then((res) => { |
| | |
| | | // document.querySelector('.dc-container .dc-location-bar').classList.add('homebottom') |
| | | document.querySelector('.screen-full-btn').classList.add('homebottom') |
| | | document.querySelector('.image-switch-icon-btn').classList.add('iconbottom') |
| | | document.querySelector('.image-switch-img-btn').classList.add('imgbottom') |
| | | this.setDomStyle() |
| | | }) |
| | | // axios.get('/user/getUserList').then((res) => { |
| | |
| | | // document.querySelector('.dc-container .dc-location-bar').classList.remove('homebottom') |
| | | document.querySelector('.screen-full-btn').classList.remove('homebottom') |
| | | document.querySelector('.image-switch-icon-btn').classList.remove('iconbottom') |
| | | document.querySelector('.image-switch-img-btn').classList.remove('imgbottom') |
| | | window.removeEventListener('resize', this.setDomStyle) |
| | | }, |
| | | } |
| | |
| | | document.querySelector('.dc-container .dc-zoom-controller').classList.remove('shrink-btn') |
| | | document.querySelector('.screen-full-btn').classList.remove('shrink-btn') |
| | | document.querySelector('.image-switch-icon-btn').classList.remove('shrink-btn') |
| | | document.querySelector('.image-switch-img-btn').classList.remove('shrink-btn') |
| | | }) |
| | | |
| | | if (this.currentUrl == '/layout/home') { |
| | |
| | | document.querySelector('.screen-full-btn').classList.add('shrink-btn') |
| | | |
| | | document.querySelector('.image-switch-icon-btn').classList.add('shrink-btn') |
| | | document.querySelector('.image-switch-img-btn').classList.add('shrink-btn') |
| | | } else { |
| | | |
| | | document.querySelector('.dc-container .dc-zoom-controller').classList.remove('shrink-btn') |
| | | document.querySelector('.screen-full-btn').classList.remove('shrink-btn') |
| | | document.querySelector('.image-switch-icon-btn').classList.remove('shrink-btn') |
| | | document.querySelector('.image-switch-img-btn').classList.remove('shrink-btn') |
| | | } |
| | | }, |
| | | |
| | |
| | | document.querySelector('.screen-full-btn').classList.add('shrink-btn') |
| | | |
| | | document.querySelector('.image-switch-icon-btn').classList.add('shrink-btn') |
| | | document.querySelector('.image-switch-img-btn').classList.add('shrink-btn') |
| | | } else { |
| | | |
| | | document.querySelector('.dc-container .dc-zoom-controller').classList.remove('shrink-btn') |
| | | document.querySelector('.screen-full-btn').classList.remove('shrink-btn') |
| | | document.querySelector('.image-switch-icon-btn').classList.remove('shrink-btn') |
| | | document.querySelector('.image-switch-img-btn').classList.remove('shrink-btn') |
| | | } |
| | | }) |
| | | }, |