7 files modified
2 files added
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-09-07 09:34:58 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-07 09:48:58 |
| | | * @LastEditTime: 2022-09-26 08:58:45 |
| | | * @FilePath: \srs-police-affairs\public\index.html |
| | | * @Description: |
| | | * |
| | |
| | | <meta name="viewport" content="width=device-width,initial-scale=1.0"> |
| | | <link rel="icon" href="<%= BASE_URL %>favicon.ico"> |
| | | <title> |
| | | <%= htmlWebpackPlugin.options.title %> |
| | | 社区警务平台 |
| | | </title> |
| | | |
| | | <script src="./depend/vue.min.js"></script> |
| New file |
| | |
| | | /* |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-09-23 17:54:16 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-26 16:05:01 |
| | | * @FilePath: \srs-police-affairs\src\assets\data\car.js |
| | | * @Description: 车辆相关数据 |
| | | * |
| | | * Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved. |
| | | */ |
| | | export default [{ |
| | | name: '1号警车', |
| | | lng: 116.022877, |
| | | lat: 28.685077, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '2号警车', |
| | | lng: 116.029917, |
| | | lat: 28.685360, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '3号警车', |
| | | lng: 116.031044, |
| | | lat: 28.679445, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '4号警车', |
| | | lng: 115.966750, |
| | | lat: 28.595163, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '5号警车', |
| | | lng: 116.150081, |
| | | lat: 28.580119, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '6号警车', |
| | | lng: 116.029917, |
| | | lat: 28.685360, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '7号警车', |
| | | lng: 116.235801, |
| | | lat: 28.654740, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '8号警车', |
| | | lng: 116.210143, |
| | | lat: 28.691634, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '9号警车', |
| | | lng: 116.072665, |
| | | lat: 28.639879, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '10号警车', |
| | | lng: 116.121559, |
| | | lat: 28.699041, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '11号警车', |
| | | lng: 116.106692, |
| | | lat: 28.758830, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '12号警车', |
| | | lng: 116.043007, |
| | | lat: 28.736032, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '13号警车', |
| | | lng: 116.002395, |
| | | lat: 28.695900, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '14号警车', |
| | | lng: 116.009437, |
| | | lat: 28.660863, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '15号警车', |
| | | lng: 116.067097, |
| | | lat: 28.621827, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '16号警车', |
| | | lng: 115.944243, |
| | | lat: 28.669108, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }] |
| New file |
| | |
| | | $bg-color: rgba(16, 29, 74, 0.9); |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-23 17:07:31 |
| | | * @LastEditTime: 2022-09-26 16:23:34 |
| | | * @FilePath: \srs-police-affairs\src\views\activity\index.vue |
| | | * @Description: 安保活动 |
| | | * |
| | |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | | @import '@/styles/public/index.scss'; |
| | | |
| | | .container { |
| | | height: 100%; |
| | | position: relative; |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-23 17:07:26 |
| | | * @LastEditTime: 2022-09-26 16:23:15 |
| | | * @FilePath: \srs-police-affairs\src\views\home\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | <script> |
| | | let cylinderLayer = null |
| | | |
| | | import carList from '@/assets/data/car.js' |
| | | |
| | | export default { |
| | | data () { |
| | | return { |
| | |
| | | } |
| | | ], |
| | | |
| | | carList: [{ |
| | | name: '1号警车', |
| | | lng: 116.022877, |
| | | lat: 28.685077, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '2号警车', |
| | | lng: 116.029917, |
| | | lat: 28.685360, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }, { |
| | | name: '3号警车', |
| | | lng: 116.031044, |
| | | lat: 28.679445, |
| | | alt: 100, |
| | | url: '/img/icon/car.png' |
| | | }], |
| | | carList: [], |
| | | |
| | | phoneList: [{ |
| | | name: '1号手台', |
| | |
| | | } |
| | | }, |
| | | created () { |
| | | this.carList = carList |
| | | }, |
| | | mounted () { |
| | | this.initPersonEcharts() |
| | |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | | @import '@/styles/public/index.scss'; |
| | | |
| | | .container { |
| | | color: #fff; |
| | | |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-23 17:07:10 |
| | | * @LastEditTime: 2022-09-26 16:23:38 |
| | | * @FilePath: \srs-police-affairs\src\views\house\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | | @import '@/styles/public/index.scss'; |
| | | |
| | | .container { |
| | | position: relative; |
| | | width: 400px; |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-23 17:12:11 |
| | | * @LastEditTime: 2022-09-26 16:23:49 |
| | | * @FilePath: \srs-police-affairs\src\views\police\index.vue |
| | | * @Description: 辖区管理 |
| | | * |
| | |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | | @import '@/styles/public/index.scss'; |
| | | |
| | | .container { |
| | | display: flex; |
| | | flex-direction: column; |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-23 17:13:15 |
| | | * @LastEditTime: 2022-09-26 16:23:53 |
| | | * @FilePath: \srs-police-affairs\src\views\video\index.vue |
| | | * @Description: 辖区管理 |
| | | * |
| | |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | | @import '@/styles/public/index.scss'; |
| | | |
| | | .container { |
| | | position: relative; |
| | | width: 400px; |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-09-07 09:37:07 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-19 10:20:28 |
| | | * @LastEditTime: 2022-09-26 16:21:37 |
| | | * @FilePath: \srs-police-affairs\vue.config.js |
| | | * @Description: |
| | | * |
| | |
| | | const productionGzipExtensions = ['js', 'css'] |
| | | |
| | | module.exports = { |
| | | css: { |
| | | loaderOptions: { |
| | | // 给 sass-loader 传递选项 |
| | | scss: { |
| | | prependData: `@import "~@/styles/scssFile.scss";` |
| | | }, |
| | | }, |
| | | }, |
| | | |
| | | // 其他配置 |
| | | chainWebpack: (config) => { |
| | | config.plugin('copy').use(CopywebpackPlugin, [ |
| | |
| | | ] |
| | | }, |
| | | |
| | | |
| | | |
| | | devServer: { |
| | | open: false, // 编译完成是否打开网页 |
| | | host: '0.0.0.0', // 指定使用地址,默认localhost,0.0.0.0代表可以被外界访问 |