guanqb
2023-01-03 8687c2573f71eded5a667968c47672dd0ded4fc0
Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs
13 files modified
424 ■■■■ changed files
src/App.vue 26 ●●●● patch | view | raw | blame | history
src/components/shrink/index.vue 5 ●●●● patch | view | raw | blame | history
src/router/axios.js 2 ●●● patch | view | raw | blame | history
src/styles/base/index.scss 53 ●●●● patch | view | raw | blame | history
src/styles/dc/index.scss 2 ●●● patch | view | raw | blame | history
src/styles/media/index.scss 38 ●●●● patch | view | raw | blame | history
src/styles/media/index1.scss 128 ●●●● patch | view | raw | blame | history
src/views/activity/index.vue 134 ●●●● patch | view | raw | blame | history
src/views/home/components/bottomContainer.vue 2 ●●● patch | view | raw | blame | history
src/views/home/components/leftContainer.vue 12 ●●●● patch | view | raw | blame | history
src/views/home/components/rightContainer.vue 12 ●●●● patch | view | raw | blame | history
src/views/home/index.vue 5 ●●●● patch | view | raw | blame | history
src/views/layout/index.vue 5 ●●●●● patch | view | raw | blame | history
src/App.vue
@@ -2,14 +2,17 @@
 * @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>
@@ -20,13 +23,26 @@
        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
        }
    },
@@ -47,6 +63,8 @@
<style lang="scss">
#app {
    width: 100%;
    height: 100%;
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
src/components/shrink/index.vue
@@ -2,7 +2,7 @@
 * @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: 
 * 
@@ -28,14 +28,12 @@
                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')
            }
        }
    },
@@ -44,7 +42,6 @@
        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>
src/router/axios.js
@@ -2,7 +2,7 @@
 * @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
 */
src/styles/base/index.scss
@@ -2,8 +2,6 @@
    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,
@@ -12,6 +10,8 @@
    height: 100%;
    font-size: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #032e61;
    // scrollbar-width: none;
    // -ms-overflow-style: none;
@@ -36,36 +36,35 @@
    -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 {
src/styles/dc/index.scss
@@ -133,7 +133,7 @@
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    position: absolute;
    font-size: 20px;
    color: #fff;
    background: #fff;
src/styles/media/index.scss
@@ -1464,6 +1464,7 @@
                                height: countSizeVh(44);
                                line-height: countSizeVh(44);
                            }
                            .close {
                                height: countSizeVh(20);
                            }
@@ -1482,7 +1483,7 @@
                                    }
                                }
                            }
                        }
                        .second-container {
@@ -1572,14 +1573,16 @@
                                    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 {
@@ -1983,8 +1986,12 @@
                            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;
                        }
                    }
@@ -2084,8 +2091,8 @@
                }
                .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);
@@ -2103,15 +2110,6 @@
                    }
                }
                .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 {
src/styles/media/index1.scss
@@ -40,22 +40,22 @@
                                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);
                                }
                            }
                        }
                    }
                }
@@ -513,7 +513,8 @@
                            .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);
@@ -666,25 +667,25 @@
                                    .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);
                                    }
@@ -695,20 +696,20 @@
                                        &>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);
@@ -718,7 +719,7 @@
                                            }
                                        }
                                    }
                                }
                            }
@@ -746,7 +747,8 @@
                                        width: countSizeVw(88, 1920);
                                        font-size: countSizeVh(16);
                                    }
                                    .category-value{
                                    .category-value {
                                        .category-input {
                                            width: 80%;
                                            height: countSizeVh(32);
@@ -754,7 +756,7 @@
                                            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);
@@ -763,54 +765,56 @@
                                            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);
                                        }
                                    }
                                }
                            }
@@ -897,26 +901,30 @@
                        .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);
                            }
                        }
@@ -972,7 +980,7 @@
                }
                .flexible-btn{
                .flexible-btn {
                    font-size: countSizeVh(24);
                }
@@ -1076,50 +1084,52 @@
                        }
                    }
                }
                .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);
        }
    }
src/views/activity/index.vue
@@ -2,7 +2,7 @@
 * @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: 安保活动
 * 
@@ -17,19 +17,9 @@
                <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>
@@ -44,46 +34,26 @@
                            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>
@@ -96,9 +66,7 @@
                            </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>
@@ -110,14 +78,8 @@
                    <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>
@@ -129,10 +91,7 @@
                <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>
@@ -221,9 +180,7 @@
            </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>
@@ -272,24 +229,16 @@
            <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>
@@ -320,22 +269,12 @@
            </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>
@@ -1242,11 +1181,11 @@
        .search-box {
            padding: 0 10px;
            & > div:first-child {
            &>div:first-child {
                margin-top: 0;
            }
            & > div {
            &>div {
                margin-top: 10px;
                display: flex;
                align-items: center;
@@ -1321,7 +1260,7 @@
                    font-size: 14px;
                    .row-content {
                        & > div {
                        &>div {
                            display: flex;
                            line-height: 28px;
@@ -1383,7 +1322,7 @@
        white-space: nowrap;
        transform: translate(-50%, 0);
        & > div {
        &>div {
            display: flex;
        }
@@ -1403,6 +1342,7 @@
                }
            }
        }
        .close {
            position: absolute;
            top: 2%;
@@ -1485,7 +1425,7 @@
            line-height: 28px;
            display: flex;
            & > div {
            &>div {
                text-align: left;
            }
@@ -1497,18 +1437,21 @@
                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;
            }
        }
    }
@@ -1521,12 +1464,13 @@
        padding: 10px;
        color: #fff;
        background-color: $bg-color;
        .row-box {
            width: 100%;
            line-height: 28px;
            display: flex;
            & > div {
            &>div {
                text-align: left;
            }
src/views/home/components/bottomContainer.vue
@@ -100,7 +100,7 @@
        }
    },
    inject: ["getWidth", "currentHeight"],
    inject: ["getWidth"],
    components: {
        vueSeamlessScroll
src/views/home/components/leftContainer.vue
@@ -46,7 +46,7 @@
                    <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
@@ -60,7 +60,7 @@
                </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>
@@ -97,7 +97,7 @@
                    <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
@@ -111,7 +111,7 @@
                </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>
@@ -148,7 +148,7 @@
                    <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
@@ -162,7 +162,7 @@
                </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>
src/views/home/components/rightContainer.vue
@@ -32,7 +32,7 @@
                    <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
@@ -46,7 +46,7 @@
                </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>
@@ -81,7 +81,7 @@
                    <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
@@ -95,7 +95,7 @@
                </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>
@@ -157,7 +157,7 @@
                    <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
@@ -171,7 +171,7 @@
                </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>
src/views/home/index.vue
@@ -2,7 +2,7 @@
 * @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: 小区-栋-层-房屋
 *
@@ -546,7 +546,6 @@
            // 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) => {
@@ -568,7 +567,6 @@
                    // 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) => {
@@ -1504,7 +1502,6 @@
        // 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)
    },
}
src/views/layout/index.vue
@@ -162,7 +162,6 @@
                    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') {
@@ -221,13 +220,11 @@
                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')
            }
        },
@@ -245,13 +242,11 @@
                    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')
                }
            })
        },