guanqb
2022-09-22 ab8d057c17ae181d91b5c80f598dd7544125557c
警力页面样式修改
1 files modified
43 ■■■■■ changed files
src/views/police/index.vue 43 ●●●●● patch | view | raw | blame | history
src/views/police/index.vue
@@ -12,8 +12,8 @@
<template>
    <div class="container">
        <div class="switch-box">
            <div class="police-car" @click="navClick(1)">警车</div>
            <div class="interphone" @click="navClick(2)">手台</div>
            <div class="police-car" @click="navClick(1)" :class="{'choosed':navType == 1}">警车</div>
            <div class="interphone" @click="navClick(2)" :class="{'choosed':navType == 2}">手台</div>
        </div>
        <div class="search-box">
            <input type="text" placeholder="请输入搜索条件" />
@@ -36,7 +36,7 @@
                                <span>{{(currentPage - 1) * pagesize + scope.$index + 1}}</span>
                            </template>
                        </el-table-column>
                        <el-table-column prop="carID" label="车牌号" width="80"></el-table-column>
                        <el-table-column prop="carID" label="车牌号" width="150"></el-table-column>
                        <el-table-column prop="carType" label="警车类型"></el-table-column>
                        <!-- <el-table-column prop="position" label="经纬度"></el-table-column> -->
                    </el-table>
@@ -68,8 +68,8 @@
                                <span>{{(currentPage - 1) * pagesize + scope.$index + 1}}</span>
                            </template>
                        </el-table-column>
                        <el-table-column prop="phoneID" label="手台号" width="180"></el-table-column>
                        <el-table-column prop="phoneType" label="手台类型" width="160"></el-table-column>
                        <el-table-column prop="phoneID" label="手台号" width="170"></el-table-column>
                        <el-table-column prop="phoneType" label="手台类型"></el-table-column>
                    </el-table>
                </div>
                <div class="pages">
@@ -347,41 +347,56 @@
    background: rgba(41, 53, 53, 0.8);
    .switch-box {
        height: 50px;
        height: 60px;
        // background: blue;
        display: flex;
        justify-content: space-around;
        padding-top: 5px;
        padding: 5px 10px 0;
        & > div {
            width: 80px;
            height: 40px;
            line-height: 40px;
            box-sizing: border-box;
            width: 50%;
            height: 50px;
            line-height: 50px;
            text-align: center;
            background-color: #409eff;
            color: #fff;
            color: rgb(104, 94, 94);
            font-size: 24px;
            cursor: pointer;
            background-color: #eee;
        }
        .choosed {
            background-color: #409eff;
            color: #fff;
            border: 1px solid #318fed;
        }
    }
    .search-box {
        height: 60px;
        padding: 10px 0 0 20px;
        height: 41px;
        padding: 0px 0 0 10px;
        display: flex;
        input {
            width: 280px;
            width: 300px;
            height: 40px;
            font-size: 16px;
            text-indent: 0.5em;
            border: 1px solid #fff;
        }
        input:focus {
            outline: none;
        }
        button {
            font-size: 16px;
            width: 80px;
            height: 40px;
            background-color: #318fed;
            color: #fff;
            border: 1px solid #318fed;
        }
    }
    .list-show {
        height: 745px;
        padding: 0 10px;
        // background-color: #fff;
        .list-box {
            height: 705px;