| | |
| | | <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="请输入搜索条件" /> |
| | |
| | | <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> |
| | |
| | | <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"> |
| | |
| | | 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; |