用户和音乐下拉框切换

master
zhaowei 3 years ago
parent d49d5bfe07
commit ec2636e62e

@ -1,5 +1,5 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 若依管理系统 VUE_APP_TITLE = 音乐公路管理系统
# 开发环境配置 # 开发环境配置
ENV = 'development' ENV = 'development'

@ -1,5 +1,5 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 若依管理系统 VUE_APP_TITLE = 音乐公路管理系统
# 生产环境配置 # 生产环境配置
ENV = 'production' ENV = 'production'

@ -1,5 +1,5 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 若依管理系统 VUE_APP_TITLE = 音乐公路管理系统
NODE_ENV = production NODE_ENV = production

@ -1,7 +1,7 @@
{ {
"name": "ruoyi", "name": "ruoyi",
"version": "3.8.1", "version": "3.8.1",
"description": "若依管理系统", "description": "音乐公路管理系统",
"author": "若依", "author": "若依",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
@ -40,7 +40,7 @@
"axios": "0.24.0", "axios": "0.24.0",
"clipboard": "2.0.8", "clipboard": "2.0.8",
"core-js": "3.19.1", "core-js": "3.19.1",
"echarts": "4.9.0", "echarts": "^4.9.0",
"element-ui": "2.15.6", "element-ui": "2.15.6",
"file-saver": "2.0.5", "file-saver": "2.0.5",
"fuse.js": "6.4.3", "fuse.js": "6.4.3",

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

@ -1,74 +0,0 @@
var chartDom = document.getElementById('carEcharts');
var myChart = echarts.init(chartDom);
var option = {
color: ["#2f89cf"],
title: {
text: '车辆来源地',
textStyle: {
color: "rgba(66,232,224)",
fontSize: "14"
}
},
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'shadow'
}
},
legend: {},
grid: {
left: '7%',
right: '7%',
bottom: '5%',
top:"9%",
containLabel:false,
},
xAxis: {
show:false,
type: 'value',
axisLine: {
show: false
},
splitLine:{show: false},
axisTick: {
show: false,
},
},
yAxis: {
type: 'category',
data: ['江苏', '山东', '北京', '河北', '河南', '山西'],
axisLabel: {
textStyle: {
color: "white",
fontSize: "14"
}
},
axisLine: {
show: false
},
axisTick: {
show: false
},
splitLine:{show: false},
},
series: [
{
name: '',
type: 'bar',
data: [19, 29, 39, 44, 49, 69],
barWidth: "25%",
label:{
show:true,
position:"right",
},
itemStyle: {
barBorderRadius: 5
}
}
]
};
// 把配置给实例对象
myChart.setOption(option);
window.addEventListener("resize", function() {
myChart.resize();
});

31
src/echarts.min.js vendored

File diff suppressed because one or more lines are too long

@ -1,52 +1,122 @@
<template> <template>
<div class="panel line"> <div class="panel line">
<div class="titleBg"> <div class="titleBg">
<h2>车辆信息统计</h2> <h2>车辆信息统计</h2>
</div>
<div class="carBar">
<div class="carBox carBorder">
<span class="carSpan">全部服务车辆</span>
<div class="carImg">
<span class="carNumber">159</span>
</div> </div>
<div class="carBar"> </div>
<div class="carBox carBorder"> <div class="carBox carBorder">
<span class="carSpan">全部服务车辆</span> <span class="carSpan">近一月服务车辆</span>
<div class="carImg"> <div class="carImg">
<span class="carNumber">159</span> <span class="carNumber">108</span>
</div>
</div>
<div class="carBox carBorder">
<span class="carSpan">近一月服务车辆</span>
<div class="carImg">
<span class="carNumber">108</span>
</div>
</div>
<div class="carBox">
<span class="carSpan">近一周服务车辆</span>
<div class="carImg">
<span class="carNumber">59</span>
</div>
</div>
</div> </div>
<div id="carEcharts"></div>
<div class="panel-footer"></div>
</div> </div>
<div class="carBox">
<span class="carSpan">近一周服务车辆</span>
<div class="carImg">
<span class="carNumber">59</span>
</div>
</div>
</div>
<div id="carEcharts"></div>
<div class="panel-footer"></div>
</div>
</template> </template>
<script> <script>
import flexible from "@/layout/flexible.js"; import flexible from "@/layout/flexible.js";
export default{ export default {
methods: { mounted() {
var echarts = require("echarts");
var chartDom = document.getElementById("carEcharts");
var myChart = echarts.init(chartDom);
var option = {
color: ["#2f89cf"],
title: {
text: "车辆来源地",
textStyle: {
color: "rgba(66,232,224)",
fontSize: "14"
}
},
tooltip: {
trigger: "axis",
axisPointer: {
type: "shadow"
}
},
legend: {},
grid: {
left: "7%",
right: "7%",
bottom: "5%",
top: "9%",
containLabel: false
},
xAxis: {
show: false,
type: "value",
axisLine: {
show: false
},
splitLine: { show: false },
axisTick: {
show: false
}
},
yAxis: {
type: "category",
data: ["江苏", "山东", "北京", "河北", "河南", "山西"],
axisLabel: {
textStyle: {
color: "white",
fontSize: "14"
}
},
axisLine: {
show: false
},
axisTick: {
show: false
},
splitLine: { show: false }
},
series: [
{
name: "",
type: "bar",
data: [19, 29, 39, 44, 49, 69],
barWidth: "25%",
label: {
show: true,
position: "right"
},
itemStyle: {
barBorderRadius: 5
}
}
]
};
//
myChart.setOption(option);
window.addEventListener("resize", function() {
myChart.resize();
});
}, },
data(){
return{
}
}
}
methods: {},
data() {
return {};
}
};
</script> </script>
<style > <style >
</style> </style>

@ -1,39 +1,226 @@
<template> <template>
<div class="panel line1"> <div class="panel line1">
<div class="titleBg"> <div class="titleBg">
<h2>设备管理</h2> <h2>设备管理</h2>
</div>
<div class="buttonBox">
<el-button size="mini" type="primary" icon="el-icon-plus" @click="editDevice"></el-button>
<el-button size="mini" icon="el-icon-delete" type="danger" @click="deleteDevice"></el-button>
</div>
<div id="deviceBox">
<div class="deviceMsg" v-for="i in 150" :key="i">
<el-popover placement="right" width="250" trigger="click">
<el-row>
<el-col :span="24">
<div class="iconBox">
<img src="../../../assets/images/位置.png" class="iconImg" alt />
</div>
<span class="span1 span2">位置</span>
<span class="span1 span3">001</span>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="iconBox">
<img src="../../../assets/images/网络.png" class="iconImg" alt />
</div>
<span class="span1 span4">IP地址</span>
<span class="span1 span5">192.168.88.88</span>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="iconBox">
<img src="../../../assets/images/音符.png" class="iconImg" alt />
</div>
<span class="span1 span2">音符</span>
<span class="span1 span3">1</span>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="iconBox">
<img src="../../../assets/images/音量.png" class="iconImg" alt />
</div>
<span class="span1 span2">音量</span>
<span class="span1 span3">50%</span>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="iconBox">
<img src="../../../assets/images/设置.png" class="iconImg" alt />
</div>
<span class="span1">设备状态</span>
<span class="span1">正常</span>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="iconBox">
<img src="../../../assets/images/时间.png" class="iconImg" alt />
</div>
<span class="span1">创建时间</span>
<span class="span1">2022.02.22</span>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<div class="iconBox">
<img src="../../../assets/images/创建人.png" class="iconImg" alt />
</div>
<span class="span1 span6">创建人</span>
<span class="span1 span7">张大大</span>
</el-col>
</el-row>
<div class="shadows" slot="reference"></div>
</el-popover>
<div class="deleteIcon">
<img src="../../../assets/images/删除.png" class="deleteImg" alt />
</div> </div>
<div class="chart"></div> <span class="deviceStatus">正常</span>
<div class="panel-footer"></div> <span class="deviceNumber">{{i}}</span>
<img src="../../../assets/images/喇叭.png" class="deviceImg" alt />
</div> </div>
</div>
<div class="panel-footer"></div>
</div>
</template> </template>
<script> <script>
import flexible from "@/layout/flexible.js"; import flexible from "@/layout/flexible.js";
export default {
export default{ data() {
return {};
methods: {
}, },
data(){ methods: {
return{ //
editDevice() {},
//
deleteDevice() {}
}
} }
};
}
</script> </script>
<style > <style scoped>
.el-row {
margin-bottom: 10px;
display: flex;
}
.span1 {
display: inline-block;
margin-left: 20px;
}
.span2 {
letter-spacing: 27px;
}
.span3 {
display: inline-block;
margin-left: -8px;
}
.span4 {
letter-spacing: 5px;
}
.span5 {
display: inline-block;
margin-left: 11px;
}
.span6 {
letter-spacing: 7px;
}
.span7 {
display: inline-block;
margin-left: 14px;
}
.iconBox {
display: inline-block;
width: 14px;
height: 14px;
margin-right: -15px;
}
.iconImg {
width: 100%;
height: 100%;
margin-top: 5px;
}
.buttonBox {
width: 100%;
margin-top: 0.125rem;
}
#deviceBox {
margin-top: 0.17rem;
margin-left: 0rem;
margin-right: -0.125rem;
margin-bottom: 0rem;
height: 4rem;
overflow: auto;
}
.deviceMsg {
margin-left: 0rem;
margin-top: 0rem;
margin-right: 0.125rem;
margin-bottom: 0.17rem;
width: 79px;
height: 90px;
float: left;
position: relative;
border: 1px solid rgba(25, 186, 139, 0.17);
}
::-webkit-scrollbar {
width: 7px;
}
::-webkit-scrollbar-thumb {
border-radius: 14px;
background: #4a6cd5;
}
::-webkit-scrollbar-track {
border-radius: 0;
background: none;
}
.shadows {
position: absolute;
top: 0px;
left: 0px;
width: 79px;
height: 90px;
cursor: pointer;
/* background:grey;
opacity: 0.4; */
}
.deviceStatus {
color: white;
font-size: 12px;
text-align: center;
display: block;
margin-top: 5px;
}
.deviceNumber {
font-size: 12px;
color: white;
position: relative;
top: 20%;
left: 40%;
display: block;
}
.deviceImg {
margin: -7px auto;
width: 34px;
height: 55px;
display: block;
cursor: pointer;
}
.deleteIcon {
width: 8px;
position: absolute;
top: 2px;
right: 5px;
cursor: pointer;
}
.deleteImg {
width: 100%;
}
</style> </style>

@ -1,52 +1,86 @@
<template> <template>
<div class="panel bar1"> <div class="panel bar1">
<div class="titleBg"> <div class="titleBg">
<h2>音乐管理</h2> <h2>
</div> <el-form
:inline="true"
<div class="musicManagement"> :model="queryParams"
<el-table :data="musicManagementList" style="width: 100%"> ref="queryForm"
<el-table-column prop="location" label="位置" width="50" height="25" align="center"></el-table-column> label-width="1.7rem"
<el-table-column prop="ipAddress" label="ip地址" height="25" align="center"></el-table-column> >
<el-table-column prop="deviceState" label="设备状态" height="25" width="80" align="center"></el-table-column> <el-form-item label prop="musicManage">
<el-table-column prop="note" label="音符" width="50" height="25" align="center"></el-table-column> <el-select
<el-table-column prop="volume" label="音量" width="50" height="25" align="center"></el-table-column> class="selectNav"
<el-table-column prop="createTime" label="创建时间" height="25" align="center"></el-table-column> v-model="queryParams.musicManage"
<el-table-column prop="createBy" label="创建人" width="80" height="25" align="center"></el-table-column> placeholder="音乐管理"
<el-table-column prop="operate" label="操作" height="25" align="center"> size="small"
<template slot-scope="scope"> style="width:3.2rem"
<el-button @change="pageShow"
size="mini" >
type="primary" <el-option
icon="el-icon-edit-outline" v-for="dict in musicManageArr"
@click="edit(scope.row)" :key="dict.value"
>编辑</el-button> :label="dict.label"
<el-button :value="dict.value"
size="mini" @change="pageShow"
icon="el-icon-delete" />
type="danger" </el-select>
@click="deleteMusic(scope.row)" </el-form-item>
>删除</el-button> </el-form>
</template> </h2>
</el-table-column> </div>
</el-table> <!-- 音乐管理表格数据 -->
</div> <div class="musicManagement" v-show="musicShow">
<div class="panel-footer"></div> <el-table :data="musicManagementList" style="width: 100%">
</div> <el-table-column prop="location" label="位置" width="50" height="25" align="center"></el-table-column>
<el-table-column prop="ipAddress" label="IP地址" height="25" align="center"></el-table-column>
<el-table-column prop="deviceState" label="设备状态" height="25" width="80" align="center"></el-table-column>
<el-table-column prop="note" label="音符" width="50" height="25" align="center"></el-table-column>
<el-table-column prop="volume" label="音量" width="50" height="25" align="center"></el-table-column>
<el-table-column prop="createTime" label="创建时间" height="25" align="center"></el-table-column>
<el-table-column prop="createBy" label="创建人" width="80" height="25" align="center"></el-table-column>
<el-table-column prop="operate" label="操作" height="25" align="center">
<template slot-scope="scope">
<el-button
size="mini"
type="primary"
icon="el-icon-edit-outline"
@click="edit(scope.row)"
>编辑</el-button>
<el-button
size="mini"
icon="el-icon-delete"
type="danger"
@click="deleteMusic(scope.$index, musicManagementList)"
>删除</el-button>
</template>
</el-table-column>
</el-table>
</div>
<!-- 用户管理 -->
<div class="userManagement" v-show="userShow">
</div>
<div class="panel-footer"></div>
<!-- <pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>-->
</div>
</template> </template>
<script> <script>
import flexible from "@/layout/flexible.js"; import flexible from "@/layout/flexible.js";
export default{ export default {
methods: { data() {
return {
}, musicManagementList: [
data(){
return{
musicManagementList: [
{ {
location: "001", location: "001",
ipAddress: "192.168.10.88", ipAddress: "192.168.10.88",
@ -57,40 +91,109 @@ data(){
createBy: "张大大" createBy: "张大大"
}, },
{ {
location: "001", location: "002",
ipAddress: "192.168.10.88", ipAddress: "192.168.10.88",
deviceState: "正常", deviceState: "正常",
note: "", note: "",
volume: "50%", volume: "40%",
createTime: "2022-02-02", createTime: "2022-02-02",
createBy: "张大大" createBy: "张小小"
}, },
{ {
location: "001", location: "003",
ipAddress: "192.168.10.88", ipAddress: "192.168.10.88",
deviceState: "正常", deviceState: "正常",
note: "", note: "",
volume: "50%", volume: "30%",
createTime: "2022-02-02", createTime: "2022-02-02",
createBy: "张大大" createBy: "王小二"
} }
] ],
musicManageArr: [
{
value: 1,
label: "音乐管理"
},
{
value: 2,
label: "用户管理"
}
],
//
musicShow:true,
//
userShow:false,
//
queryParams: {
pageNum: 1,
pageSize: 7,
musicManage: undefined,
}
};
},
methods: {
//
pageShow(e){
console.log(e,8888888888888)
if(e==2){
this.musicShow=false;
this.userShow=true;
}
else{
this.musicShow=true;
this.userShow=false;
}
},
//
cancel() {
this.open = false;
},
//
submitForm() {},
//
deleteMusic(index, musicManagementList) {
this.$modal
.confirm("确认要删除吗")
.then(function() {
musicManagementList.splice(index, 1);
})
.then(() => {
this.$modal.msgSuccess("删除成功");
})
.catch(() => {});
} }
} }
};
}
</script> </script>
<style > <style scoped>
.userManagement{
margin: 0.125rem 0 0.125rem;
border:1px solid rgba(25, 186, 139, 0.17);
height: 3rem;
}
::v-deep .el-input {
margin-left: 6px !important;
}
::v-deep .el-input__suffix {
right: 0.8rem !important;
}
::v-deep .el-input--small {
font-size: 0.25rem !important;
color: white !important;
}
::v-deep .el-input__inner {
background: transparent !important;
border: none !important;
color: white !important;
text-align: center !important;
letter-spacing: 4px !important;
}
::v-deep input::-webkit-input-placeholder {
color: white !important ;
}
</style> </style>

@ -1,55 +1,57 @@
<template> <template>
<div class="panel pie"> <div class="panel pie">
<div class="titleBg"> <div class="titleBg">
<h2>曲目管理</h2> <h2>曲目管理</h2>
</div> </div>
<!-- 曲目管理表格 --> <!-- 曲目管理表格 -->
<div class="trackManagement"> <div class="trackManagement">
<el-table :data="songList" style="width: 100%"> <el-table :data="songList" style="width: 100%">
<el-table-column prop="number" type="index" label="序号" width="100" align="center"></el-table-column> <el-table-column prop="number" type="index" label="序号" width="100" align="center"></el-table-column>
<el-table-column prop="songName" label="歌曲名称" width="180" align="center"></el-table-column> <el-table-column prop="songName" label="歌曲名称" width="180" align="center"></el-table-column>
<el-table-column prop="action" label="操作" align="center"> <el-table-column prop="action" label="操作" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
type="primary" type="primary"
icon="el-icon-headset" icon="el-icon-headset"
@click="listenSong(scope.row)" @click="listenSong(scope.row)"
>试听</el-button> >试听</el-button>
<el-button <el-button
size="mini" size="mini"
type="primary" type="primary"
icon="el-icon-s-promotion" icon="el-icon-s-promotion"
@click="download(scope.row)" @click="download(scope.row)"
>下发</el-button> >下发</el-button>
<el-button <el-button
size="mini" size="mini"
icon="el-icon-delete" icon="el-icon-delete"
type="danger" type="danger"
@click="deleteSong(scope.row)" @click="deleteSong(scope.$index,songList)"
>删除</el-button> >删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div class="waveBox"></div> <div class="waveBox"></div>
<div class="panel-footer"></div> <div class="panel-footer"></div>
<el-dialog title="系统提示" :visible.sync="open" width="300px" style="background:#111658,color:white">
<div slot="footer" class="dialog-footer">
<el-button type="primary" size="mini" @click="submitForm"></el-button>
<el-button type="primarys" size="mini" @click="cancel"></el-button>
</div> </div>
</el-dialog>
</div>
</template> </template>
<script> <script>
import flexible from "@/layout/flexible.js"; import flexible from "@/layout/flexible.js";
export default{
methods: { export default {
}, data() {
data(){ return {
return{ songList: [
songList: [
{ {
songName: "门没锁" songName: "门没锁"
}, },
@ -64,19 +66,43 @@ data(){
} }
], ],
//
open: false,
};
},
methods: {
//
} cancel() {
} this.open = false;
},
//
submitForm() {
},
//
deleteSong(index,songList){
this.$modal.confirm('确认要删除吗')
.then(function() {
songList.splice(index, 1);
})
.then(() => {
this.$modal.msgSuccess( "删除成功");
})
.catch(() => {
this.open = false;
})
},
},
} }
</script> </script>
<style > <style scoped>
.el-button--primarys {
background: #3835a0 !important;
color: white !important;
border: none !important;
/* padding: 0.06rem; */
}
</style> </style>

@ -6,8 +6,7 @@
<div class="video"> <div class="video">
</div> </div>
<div class="panel-footer"></div> <div class="panel-footer"></div>
</div> </div>
</template> </template>

@ -1,5 +1,5 @@
<template> <template>
<div class="app-container home"> <div class="app-container home">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -9,25 +9,27 @@
</header> </header>
<div class="mainbox"> <div class="mainbox">
<div class="row1"> <div class="row1">
<vedio/> <vedio />
<car-msg/> <car-msg />
<track-management/> <track-management />
</div> </div>
<div class="row2"> <div class="row2">
<music-manage/> <music-manage />
<device/> <device />
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import {Vedio,CarMsg,TrackManagement,MusicManage,Device} from "./components"; import {
Vedio,
CarMsg,
TrackManagement,
MusicManage,
Device
} from "./components";
import flexible from "@/layout/flexible.js"; import flexible from "@/layout/flexible.js";
// import jquery from "@../jquery.js";
// import echarts from "@../echarts.min.js";
// import index from "@/assets/styles/index.css";
export default { export default {
name: "Layout", name: "Layout",
components: { components: {
@ -35,20 +37,16 @@ export default {
CarMsg, CarMsg,
TrackManagement, TrackManagement,
MusicManage, MusicManage,
Device, Device
}, },
methods: {}, methods: {},
data(){ data() {
return{ return {};
}
} };
},
}
</script> </script>
<style > <style >
* { * {
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -120,53 +118,77 @@ li {
margin-top: 0.15rem; margin-top: 0.15rem;
} }
/* // 曲目管理 */ /* // 曲目管理 */
.el-message-box {
background-color: #111658 !important;
border: 1px solid gray;
}
.el-message-box__title {
color: white;
}
.el-message-box__content {
color: white;
}
.el-button--small {
background: #3835a0;
color: white;
border: none;
}
.el-button--small:hover {
background: #3835a0;
color: white;
}
.trackManagement { .trackManagement {
width: 7.2rem; width: 7.2rem;
height: 2.86rem; height: 2.56rem;
margin-top: 0.125rem; margin-top: 0.125rem;
} }
.el-button--primary { .el-button--primary {
/* background: #1C257F !important; */
background: #3835a0 !important; background: #3835a0 !important;
color: white !important; color: white !important;
border: none !important; border: none !important;
padding: 4px;
} }
.el-button--danger { .el-button--danger {
background: #bf3d4a !important; background: #bf3d4a !important;
color: white !important; color: white !important;
border: none !important; border: none !important;
padding: 4px;
} }
.waveBox { .waveBox {
width: 7.2rem; width: 7.2rem;
height: 1.12rem; height: 1.42rem;
margin-top: 0.127rem; margin-top: 0.127rem;
border: 1px solid rgba(25, 186, 139, 0.17); border: 1px solid rgba(25, 186, 139, 0.17);
} }
::v-deep .el-table tbody tr:hover > td {
background-color: #121961 !important;
}
.el-table--enable-row-transition {
background-color: #121961 !important;
}
.cell-border {
border-bottom: 1px solid rgba(25, 186, 139, 0.17) !important;
}
.musicManagement { .musicManagement {
margin: 0.125rem 0 0.125rem; margin: 0.125rem 0 0.125rem;
} }
::v-deep.el-table tr {
.el-table,
.el-table__expanded-cell {
background: #121961 !important;
color: white !important;
}
.el-table th,
.el-table tr,
.el-table td {
background: #121961 !important; background: #121961 !important;
color: white !important; color: white !important;
border-bottom: 1px solid rgba(25, 186, 139, 0.17) !important;
} }
::v-deep.el-table th { .el-table th {
background: #1c257f !important; background: #1c257f !important;
color: white !important; color: white !important;
} }
/* .el-table .el-table--medium .el-table__cell{ .el-table__body tr,
padding:2px 0 !important; .el-table__body th,
} */ .el-table__body td {
padding: 0;
height: 0.2rem !important;
}
.el-table__cell {
padding: 0.08rem 0 !important;
}
#carEcharts { #carEcharts {
width: 7.2rem; width: 7.2rem;
@ -204,18 +226,19 @@ header h1 {
} }
.mainbox .row1 .panel { .mainbox .row1 .panel {
flex: 50%; flex: 50%;
margin: 0 0.125rem 0.1875rem; margin: 0.125rem 0.125rem 0.125rem;
}
.line1 {
overflow: hidden;
} }
.mainbox .row2 .panel { .mainbox .row2 .panel {
flex: 50%; flex: 50%;
margin: 0 0.125rem 0.125rem; margin: 0.125rem 0.125rem 0.125rem;
} }
.panel { .panel {
position: relative; position: relative;
height: 5rem; height: 5rem;
border: 1px solid rgba(25, 186, 139, 0.17); border: 1px solid rgba(25, 186, 139, 0.17);
/* */
background-color: rgba(17, 22, 88); background-color: rgba(17, 22, 88);
padding: 0 0.1875rem 0.5rem; padding: 0 0.1875rem 0.5rem;
margin-bottom: 0.1875rem; margin-bottom: 0.1875rem;
@ -273,7 +296,8 @@ header h1 {
text-align: center; text-align: center;
color: #fff; color: #fff;
font-size: 0.25rem; font-size: 0.25rem;
font-weight: 400; font-weight: 500;
letter-spacing: 4px;
} }
.panel h2 a { .panel h2 a {
margin: 0 0.1875rem; margin: 0 0.1875rem;
@ -281,6 +305,43 @@ header h1 {
text-decoration: underline; text-decoration: underline;
} }
.el-table::before {
background-color: rgba(25, 186, 139, 0.17) !important;
}
/* 音乐管理 */
.el-select-dropdown__item {
color: white;
text-align: center;
letter-spacing: 4px;
}
.el-select-dropdown__item.hover {
background-color: #37339d;
}
.el-select-dropdown__item.selected {
color: white;
}
.el-form-item--medium .el-form-item__content {
line-height: 0.6rem ;
}
.el-select-dropdown {
background: #37339d;
border: none;
color: white;
}
.el-popper[x-placement^="bottom"] .popper__arrow::after {
border-bottom-color: #37339d;
}
.el-popper[x-placement^="bottom"] .popper__arrow {
border-bottom-color: #37339d;
left: 1.6rem !important;
}
/* 设备管理*/
.el-popover {
background: #111658 !important;
color: white;
border: 1px solid gray;
}
.popper__arrow::after {
border-right-color: #111658 !important;
}
</style> </style>

@ -158,7 +158,7 @@ export default {
} }
}; };
</script> </script>
<style rel="stylesheet/scss" lang="scss" > <style rel="stylesheet/scss" lang="scss">
textarea::-webkit-input-placeholder { textarea::-webkit-input-placeholder {
color: white ; color: white ;
} }

@ -1,7 +1,7 @@
<template> <template>
<div class="register"> <div class="register">
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form"> <el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
<h3 class="title">若依后台管理系统</h3> <h3 class="title">音乐公路后台管理系统</h3>
<el-form-item prop="username"> <el-form-item prop="username">
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号"> <el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />

@ -7,7 +7,7 @@ function resolve(dir) {
const CompressionPlugin = require('compression-webpack-plugin') const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题 const name = process.env.VUE_APP_TITLE || '电子音乐管理系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 80 // 端口 const port = process.env.port || process.env.npm_config_port || 80 // 端口
@ -35,7 +35,7 @@ module.exports = {
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `http://192.168.31.98:8080`, target: `http://192.168.31.99:8080`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save