shuishen
2023-02-13 5aa25a940faf7deb4c1e292e72a7eaa195ea73c7
警情动态弹框调整
3 files modified
91 ■■■■■ changed files
src/components/map/components/mapPopup.vue 59 ●●●●● patch | view | raw | blame | history
src/styles/base/index.scss 16 ●●●● patch | view | raw | blame | history
src/styles/media/index.scss 16 ●●●● patch | view | raw | blame | history
src/components/map/components/mapPopup.vue
@@ -14,13 +14,21 @@
                            <div class="label-wrap">
                                <div class="title">
                                    警情信息
                                    <div class="details-btn" @click="popupDetailShow">详情>>></div>
                                    <div class="details-btn" @click="popupDetailShow">
                                        详情
                                        <span>>>></span>
                                    </div>
                                    <div class="close" @click="closePopup" title="关闭"></div>
                                </div>
                                <div class="change-btn" v-show="showBtn">
                                    <div @click="currentBtn = '接警信息'" :class="{ on: currentBtn == '接警信息' }">接警信息</div>
                                    <div @click="currentBtnChange('出警信息')" :class="{ on: currentBtn == '出警信息' }">出警信息
                                    </div>
                                    <div
                                        @click="currentBtn = '接警信息'"
                                        :class="{ on: currentBtn == '接警信息' }"
                                    >接警信息</div>
                                    <div
                                        @click="currentBtnChange('出警信息')"
                                        :class="{ on: currentBtn == '出警信息' }"
                                    >出警信息</div>
                                </div>
                                <div v-show="currentBtn == '接警信息'" class="label-content">
@@ -62,8 +70,10 @@
                                    </div>
                                </div>
                                <div v-show="currentBtn == '出警信息' && JSON.stringify(CJdata) != '{}'"
                                    class="label-content">
                                <div
                                    v-show="currentBtn == '出警信息' && JSON.stringify(CJdata) != '{}'"
                                    class="label-content"
                                >
                                    <div class="item">
                                        <div>处警单位:</div>
                                        <div>{{ CJdata.CJDWMC }}</div>
@@ -102,10 +112,10 @@
                                    </div>
                                </div>
                                <div v-show="currentBtn == '出警信息' && JSON.stringify(CJdata) == '{}'"
                                    class="label-content no-data">
                                    暂无数据
                                </div>
                                <div
                                    v-show="currentBtn == '出警信息' && JSON.stringify(CJdata) == '{}'"
                                    class="label-content no-data"
                                >暂无数据</div>
                            </div>
                        </div>
                        <div class="b-t-l"></div>
@@ -208,16 +218,20 @@
}
.divForms-theme .area {
    background-image: linear-gradient(135deg,
    background-image: linear-gradient(
            135deg,
            transparent 30px,
            #1831a79a 30px,
            #3f487ba6 50%,
            transparent 50%),
        linear-gradient(-45deg,
            transparent 50%
        ),
        linear-gradient(
            -45deg,
            transparent 30px,
            #1831a79a 30px,
            #3f487ba6 50.1%,
            transparent 50%);
            transparent 50%
        );
}
.divForms .area {
@@ -310,14 +324,14 @@
        align-items: center;
        justify-content: space-around;
        &>div {
        & > div {
            width: 36%;
            height: 36px;
            line-height: 36px;
            cursor: pointer;
        }
        &>div.on {
        & > div.on {
            color: #3d95f3;
            border-bottom: 2px solid #3d95f3;
        }
@@ -335,7 +349,7 @@
            margin: 0 10px;
            text-align: left;
            &>div:first-child {
            & > div:first-child {
                width: 112px;
                text-align: justify;
                display: inline-block;
@@ -343,7 +357,7 @@
                margin-right: 20px;
            }
            &>div:nth-of-type(2) {
            & > div:nth-of-type(2) {
                width: calc(100% - 120px);
                max-width: 190px;
                overflow: hidden;
@@ -351,7 +365,6 @@
                white-space: nowrap;
            }
        }
    }
    .label-content.no-data {
@@ -375,6 +388,10 @@
        right: 28px;
        height: 100%;
        cursor: pointer;
        span {
            font-size: 14px;
        }
    }
    .details-btn:hover {
@@ -400,9 +417,7 @@
}
.divForms-theme .title {
    background-image: linear-gradient(135deg,
            transparent 25px,
            #1c309e9a 25px);
    background-image: linear-gradient(135deg, transparent 25px, #1c309e9a 25px);
}
.divForms-theme .arrow,
src/styles/base/index.scss
@@ -530,8 +530,8 @@
        transform: translate(-50%, -50%);
        .el-dialog__header {
            height: 56px;
            line-height: 56px;
            height: 40px;
            line-height: 40px;
            text-align: center;
        }
@@ -539,13 +539,13 @@
            padding-top: 0;
            display: flex;
            flex-direction: column;
            height: calc(100% - 56px);
            height: calc(100% - 40px);
            .btn-change {
                display: flex;
                align-items: center;
                height: 36px;
                line-height: 36px;
                height: 32px;
                line-height: 32px;
                border-bottom: 2px solid #3d5ad5;
                &>div {
@@ -571,8 +571,8 @@
                    display: flex;
                    flex-direction: row;
                    width: calc(50% - 20px);
                    height: 36px;
                    line-height: 36px;
                    height: 32px;
                    line-height: 32px;
                    margin: 0 10px;
                    text-align: left;
@@ -596,7 +596,7 @@
                .dialog-content {
                    width: 100%;
                    display: flex;
                    line-height: 36px;
                    line-height: 32px;
                    flex-direction: row;
                    text-align: left;
                    margin-left: 10px;
src/styles/media/index.scss
@@ -1966,8 +1966,8 @@
                            height: countSizeVh(500);
                            .el-dialog__header {
                                height: countSizeVh(56);
                                line-height: countSizeVh(56);
                                height: countSizeVh(40);
                                line-height: countSizeVh(40);
                                span {
                                    font-size: countSizeVh(18);
@@ -1980,12 +1980,12 @@
                            }
                            .el-dialog__body {
                                height: calc(100% - countSizeVh(56));
                                height: calc(100% - countSizeVh(40));
                                font-size: countSizeVh(16);
                                .btn-change {
                                    height: countSizeVh(36);
                                    line-height: countSizeVh(36);
                                    height: countSizeVh(32);
                                    line-height: countSizeVh(32);
                                    border-bottom: countSizeVh(2) solid #3d5ad5;
                                    &>div {
@@ -1997,8 +1997,8 @@
                                    .item {
                                        width: calc(50% - countSizeVw(20, 1920));
                                        height: countSizeVh(36);
                                        line-height: countSizeVh(36);
                                        height: countSizeVh(32);
                                        line-height: countSizeVh(32);
                                        margin: 0 countSizeVw(10, 1920);
                                        &>div:first-child {
@@ -2012,7 +2012,7 @@
                                    }
                                    .dialog-content {
                                        line-height: countSizeVh(36);
                                        line-height: countSizeVh(32);
                                        margin-left: countSizeVw(10, 1920);
                                        &>div:first-child {