Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
robot-monitor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
汪晓凯
robot-monitor
Commits
d5446010
Commit
d5446010
authored
Aug 07, 2018
by
汪晓凯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式修改
parent
6627db40
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
10 deletions
+16
-10
index.js
config/index.js
+2
-2
navLeft.vue
src/components/navLeft.vue
+5
-1
Login.vue
src/views/Login.vue
+1
-1
overview.vue
src/views/overview.vue
+8
-6
No files found.
config/index.js
View file @
d5446010
...
...
@@ -11,8 +11,8 @@ module.exports = {
assetsPublicPath
:
'/'
,
proxyTable
:
{
'/asset_monitor'
:
{
target
:
'http://47.91.221.203:46656'
,
//测试
// target: 'http://13.70.1.145:4567/asset_monitor
', // 接口的域名
//
target: 'http://47.91.221.203:46656', //测试
target
:
'http://172.16.100.22:46656
'
,
// 接口的域名
// secure: false, // 如果是https接口,需要配置这个参数
changeOrigin
:
true
,
// 如果接口跨域,需要进行这个参数配置
pathRewrite
:
{
...
...
src/components/navLeft.vue
View file @
d5446010
...
...
@@ -42,7 +42,7 @@
methods
:
{
navClick
(
index
)
{
this
.
active
=
index
;
if
(
index
!=
'/monitor/account'
&&
index
!
=
'/monitor/coinRecharge'
){
if
(
index
!=
=
'/monitor/account'
&&
index
!=
=
'/monitor/coinRecharge'
){
this
.
$router
.
push
(
`/monitor/
${
index
}
`
);
Bus
.
$emit
(
'refresh'
);
}
else
{
...
...
@@ -85,6 +85,10 @@
}
</
style
>
<
style
>
.el-submenu__title
{
color
:
rgba
(
142
,
154
,
158
,
1
);
font-size
:
16px
;
}
.el-submenu.is-active
.el-submenu__title
{
background
:
rgba
(
119
,
146
,
167
,
1
);
color
:
rgba
(
255
,
255
,
255
,
1
);
...
...
src/views/Login.vue
View file @
d5446010
...
...
@@ -99,7 +99,7 @@ const regEmail2 = /^[a-z0-9]+([._\\-]*[a-z0-9])*@disanbo.com+$/;
const
regPwd
=
/
[
a-zA-Z0-9_
]{8,16}
/
;
const
TIME_COUNT
=
60
;
import
axios
from
'axios'
;
import
md5
from
'md5'
import
md5
from
'md5'
;
import
ApiConfig
from
"../config/api-config"
;
export
default
{
data
(){
...
...
src/views/overview.vue
View file @
d5446010
...
...
@@ -75,10 +75,12 @@
</div>
</div>
</div>
<div
v-show=
"!robotStatus"
class=
"search-box"
>
<el-input
v-model=
"robotAccount"
placeholder=
"通过机器人账户搜索"
>
<el-button
@
click=
"searchByAccount"
slot=
"append"
icon=
"el-icon-search"
></el-button>
</el-input>
<div
class=
"clearfix"
>
<div
v-show=
"!robotStatus"
class=
"search-box fr"
>
<el-input
v-model=
"robotAccount"
placeholder=
"通过机器人账户搜索"
>
<el-button
@
click=
"searchByAccount"
slot=
"append"
icon=
"el-icon-search"
></el-button>
</el-input>
</div>
</div>
<ul
class=
"robots-box"
>
<li
v-for=
"(item,index) in robotList"
:key=
"item.tag"
...
...
@@ -734,8 +736,8 @@
margin-top
:
100px
;
}
.search-box
{
width
:
60
0px
;
margin
:
-1
0px
0
20px
0
;
width
:
41
0px
;
margin
:
0px
0
20px
0
;
}
</
style
>
<
style
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment