mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-06 15:08:05 +08:00
update
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-row :gutter="0" type="flex" style="flex-wrap:wrap">
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h1>概况</h1>
|
<h1>概况</h1>
|
||||||
<hr/>
|
<hr/>
|
||||||
|
<el-row >
|
||||||
<div style="display: flex;justify-content: space-between;flex-wrap: wrap;margin-top: 10px">
|
<div style="display: flex;justify-content: space-between;flex-wrap: wrap;margin-top: 10px">
|
||||||
<el-col :span="4">
|
|
||||||
|
<el-col :xs="12" :sm="12" :lg="{span: '4-8'}" class="card-panel-col">
|
||||||
<div class="box" style="background-color: #ffba00;">
|
<div class="box" style="background-color: #ffba00;">
|
||||||
<el-image class="box-image"
|
<el-image class="box-image"
|
||||||
:src="require('@/assets/images/lightning.png')"
|
:src="require('@/assets/images/lightning.png')"
|
||||||
@@ -16,7 +17,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
|
||||||
|
<el-col :xs="12" :sm="12" :lg="{span: '4-8'}" class="card-panel-col">
|
||||||
<div class="box" style="background-color: #c74542;">
|
<div class="box" style="background-color: #c74542;">
|
||||||
<el-image class="box-image"
|
<el-image class="box-image"
|
||||||
:src="require('@/assets/images/zongfeiyong.png')"/>
|
:src="require('@/assets/images/zongfeiyong.png')"/>
|
||||||
@@ -27,7 +29,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="4">
|
<el-col :xs="12" :sm="12" :lg="{span: '4-8'}" class="card-panel-col">
|
||||||
<div class="box" style="background-color: #12ce65;">
|
<div class="box" style="background-color: #12ce65;">
|
||||||
<el-image
|
<el-image
|
||||||
class="box-image"
|
class="box-image"
|
||||||
@@ -39,7 +41,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="4">
|
<el-col :xs="12" :sm="12" :lg="{span: '4-8'}" class="card-panel-col">
|
||||||
<div class="box" style="background-color: #909399;">
|
<div class="box" style="background-color: #909399;">
|
||||||
<el-image
|
<el-image
|
||||||
class="box-image"
|
class="box-image"
|
||||||
@@ -51,7 +53,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="4">
|
<el-col :xs="12" :sm="12" :lg="{span: '4-8'}" class="card-panel-col">
|
||||||
<div class="box" v-hasRole="['admin', 'common']" style="background-color: #ff4949;">
|
<div class="box" v-hasRole="['admin', 'common']" style="background-color: #ff4949;">
|
||||||
<el-image
|
<el-image
|
||||||
class="box-image"
|
class="box-image"
|
||||||
@@ -76,10 +78,12 @@
|
|||||||
<!-- <div class="progress"></div>-->
|
<!-- <div class="progress"></div>-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
|
</el-row>
|
||||||
<h1>订单</h1>
|
<h1>订单</h1>
|
||||||
<hr/>
|
<hr/>
|
||||||
<el-button style="background-color: #1ab394; color: #ffffff"
|
<el-button style="background-color: #1ab394; color: #ffffff"
|
||||||
>最近30天</el-button
|
>最近30天
|
||||||
|
</el-button
|
||||||
>
|
>
|
||||||
<div ref="chart" :style="{ width: '100%', height: '500px' }"></div>
|
<div ref="chart" :style="{ width: '100%', height: '500px' }"></div>
|
||||||
<hr/>
|
<hr/>
|
||||||
@@ -89,7 +93,7 @@
|
|||||||
<!-- <hr /> -->
|
<!-- <hr /> -->
|
||||||
<!-- <h1>设备</h1> -->
|
<!-- <h1>设备</h1> -->
|
||||||
</div>
|
</div>
|
||||||
</el-row>
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import Echarts from "echarts";
|
import Echarts from "echarts";
|
||||||
@@ -377,6 +381,7 @@ export default {
|
|||||||
margin-right: 24px;
|
margin-right: 24px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.box-image {
|
.box-image {
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
@@ -386,31 +391,40 @@ export default {
|
|||||||
// bottom: 0;
|
// bottom: 0;
|
||||||
// filter: drop-shadow(40px 0px gray);
|
// filter: drop-shadow(40px 0px gray);
|
||||||
}
|
}
|
||||||
|
|
||||||
.flex1 {
|
.flex1 {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-h1 {
|
.box-h1 {
|
||||||
/* margin-top: -14px; */
|
/* margin-top: -14px; */
|
||||||
font-size: 47px;
|
font-size: 47px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-text {
|
.box-text {
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.progress {
|
.progress {
|
||||||
border: 3px solid #fff;
|
border: 3px solid #fff;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-row {
|
.el-row {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-col {
|
.el-col {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
.el-col-lg-4-8 {
|
||||||
|
width: 20%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -35,9 +35,9 @@ 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://localhost:8080`,
|
target: `http://localhost:8080`,
|
||||||
// 更改代理为本地地址
|
// 更改代理为本地地址
|
||||||
target: `http://192.168.2.3:8080`,
|
// target: `http://192.168.2.3:8080`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
["^" + process.env.VUE_APP_BASE_API]: "",
|
["^" + process.env.VUE_APP_BASE_API]: "",
|
||||||
|
|||||||
Reference in New Issue
Block a user