Commit d5446010 authored by 汪晓凯's avatar 汪晓凯

样式修改

parent 6627db40
...@@ -11,8 +11,8 @@ module.exports = { ...@@ -11,8 +11,8 @@ module.exports = {
assetsPublicPath: '/', assetsPublicPath: '/',
proxyTable: { proxyTable: {
'/asset_monitor': { '/asset_monitor': {
target: 'http://47.91.221.203:46656', //测试 // target: 'http://47.91.221.203:46656', //测试
// target: 'http://13.70.1.145:4567/asset_monitor', // 接口的域名 target: 'http://172.16.100.22:46656', // 接口的域名
// secure: false, // 如果是https接口,需要配置这个参数 // secure: false, // 如果是https接口,需要配置这个参数
changeOrigin: true, // 如果接口跨域,需要进行这个参数配置 changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
pathRewrite: { pathRewrite: {
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
methods: { methods: {
navClick(index) { navClick(index) {
this.active = index; this.active = index;
if(index != '/monitor/account' && index != '/monitor/coinRecharge'){ if(index !== '/monitor/account' && index !== '/monitor/coinRecharge'){
this.$router.push(`/monitor/${index}`); this.$router.push(`/monitor/${index}`);
Bus.$emit('refresh'); Bus.$emit('refresh');
}else { }else {
...@@ -85,6 +85,10 @@ ...@@ -85,6 +85,10 @@
} }
</style> </style>
<style> <style>
.el-submenu__title {
color: rgba(142,154,158,1);
font-size: 16px;
}
.el-submenu.is-active .el-submenu__title { .el-submenu.is-active .el-submenu__title {
background:rgba(119,146,167,1); background:rgba(119,146,167,1);
color:rgba(255,255,255,1); color:rgba(255,255,255,1);
......
...@@ -99,7 +99,7 @@ const regEmail2 = /^[a-z0-9]+([._\\-]*[a-z0-9])*@disanbo.com+$/; ...@@ -99,7 +99,7 @@ const regEmail2 = /^[a-z0-9]+([._\\-]*[a-z0-9])*@disanbo.com+$/;
const regPwd = /[a-zA-Z0-9_]{8,16}/; const regPwd = /[a-zA-Z0-9_]{8,16}/;
const TIME_COUNT = 60; const TIME_COUNT = 60;
import axios from 'axios'; import axios from 'axios';
import md5 from 'md5' import md5 from 'md5';
import ApiConfig from "../config/api-config"; import ApiConfig from "../config/api-config";
export default { export default {
data(){ data(){
......
...@@ -75,11 +75,13 @@ ...@@ -75,11 +75,13 @@
</div> </div>
</div> </div>
</div> </div>
<div v-show="!robotStatus" class="search-box"> <div class="clearfix">
<div v-show="!robotStatus" class="search-box fr">
<el-input v-model="robotAccount" placeholder="通过机器人账户搜索"> <el-input v-model="robotAccount" placeholder="通过机器人账户搜索">
<el-button @click="searchByAccount" slot="append" icon="el-icon-search"></el-button> <el-button @click="searchByAccount" slot="append" icon="el-icon-search"></el-button>
</el-input> </el-input>
</div> </div>
</div>
<ul class="robots-box"> <ul class="robots-box">
<li v-for="(item,index) in robotList" :key="item.tag" <li v-for="(item,index) in robotList" :key="item.tag"
:class="[(item.base_status==='abnormal' ||item.coin_status==='abnormal' || item.profit_status === 'abnormal') ? 'abnormal' : item.status || 'normal']"> :class="[(item.base_status==='abnormal' ||item.coin_status==='abnormal' || item.profit_status === 'abnormal') ? 'abnormal' : item.status || 'normal']">
...@@ -734,8 +736,8 @@ ...@@ -734,8 +736,8 @@
margin-top: 100px; margin-top: 100px;
} }
.search-box { .search-box {
width: 600px; width: 410px;
margin: -10px 0 20px 0; margin: 0px 0 20px 0;
} }
</style> </style>
<style> <style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment