Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
黄媛媛
ElectricitySheep
Commits
39eaf48d
Commit
39eaf48d
authored
Apr 22, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
54fcc633
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
495 additions
and
518 deletions
+495
-518
Index.vue
src/components/Index.vue
+494
-517
index.js
src/plug/index.js
+1
-1
No files found.
src/components/Index.vue
View file @
39eaf48d
...
@@ -84,10 +84,7 @@
...
@@ -84,10 +84,7 @@
<div
v-show=
"tab2==1"
class=
"radius"
>
<div
v-show=
"tab2==1"
class=
"radius"
>
<div
style=
"margin-bottom:20px"
>
<div
style=
"margin-bottom:20px"
>
<div
class=
"searchInput"
>
<div
class=
"searchInput"
>
<el-input
style=
"display:inline-block;width:170px;"
<el-input
style=
"display:inline-block;width:170px;"
placeholder=
"请输入内容"
v-model=
"val"
size=
"small"
placeholder=
"请输入内容"
v-model=
"val"
size=
"small"
clearable
>
clearable
>
</el-input>
</el-input>
<span
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
<span
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
...
@@ -99,19 +96,10 @@
...
@@ -99,19 +96,10 @@
</span>
</span>
</div>
</div>
<el-table
<el-table
:data=
"tableData"
border
style=
"width: 100%;margin-bottom:20px"
>
:data=
"tableData"
<el-table-column
prop=
"ID"
label=
"ID"
width=
"60"
>
border
style=
"width: 100%;margin-bottom:20px"
>
<el-table-column
prop=
"ID"
label=
"ID"
width=
"60"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"name"
label=
"商城名称"
width=
"155"
>
prop=
"name"
label=
"商城名称"
width=
"155"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<p
style=
"color:#409EFF"
>
{{
scope
.
row
.
title
}}
</p>
<p
style=
"color:#409EFF"
>
{{
scope
.
row
.
title
}}
</p>
<p>
{{
scope
.
row
.
num
}}
<p>
{{
scope
.
row
.
num
}}
...
@@ -119,21 +107,12 @@
...
@@ -119,21 +107,12 @@
</p>
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"address"
label=
"数据统计"
show-overflow-tooltip
:render-header=
"renderHeader"
prop=
"address"
label=
"数据统计"
show-overflow-tooltip
:render-header=
"renderHeader"
width=
"155"
>
width=
"155"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"address"
label=
"有效期"
width=
"170"
>
prop=
"address"
label=
"有效期"
width=
"170"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"address"
label=
"操作"
>
prop=
"address"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"info"
plain
>
编辑
{{
scope
.
row
.
ID
}}
</el-button>
<el-button
size=
"mini"
type=
"info"
plain
>
编辑
{{
scope
.
row
.
ID
}}
</el-button>
<el-button
size=
"mini"
type=
"info"
plain
>
回收
</el-button>
<el-button
size=
"mini"
type=
"info"
plain
>
回收
</el-button>
...
@@ -142,50 +121,31 @@
...
@@ -142,50 +121,31 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
style=
"text-align:right"
<el-pagination
style=
"text-align:right"
background
layout=
"prev, pager, next"
:total=
"1000"
>
background
layout=
"prev, pager, next"
:total=
"1000"
>
</el-pagination>
</el-pagination>
</div>
</div>
<!-- 回收站 -->
<!-- 回收站 -->
<div
v-show=
"tab2==2"
class=
"radius"
style=
"padding:0"
>
<div
v-show=
"tab2==2"
class=
"radius"
style=
"padding:0"
>
<p
style=
"font-size:14px;padding:18px 20px;border-bottom: 1px solid #EBEEF5;box-sizing: border-box;"
>
回收站列表
</p>
<p
style=
"font-size:14px;padding:18px 20px;border-bottom: 1px solid #EBEEF5;box-sizing: border-box;"
>
回收站列表
</p>
<div
style=
"margin-bottom:20px;padding: 15px 20px;"
>
<div
style=
"margin-bottom:20px;padding: 15px 20px;"
>
<div
class=
"searchInput"
style=
"width:250px;"
>
<div
class=
"searchInput"
style=
"width:250px;"
>
<el-input
style=
"display:inline-block;width:225px;"
<el-input
style=
"display:inline-block;width:225px;"
placeholder=
"请输入商城名称或用户名搜索"
v-model=
"val"
placeholder=
"请输入商城名称或用户名搜索"
size=
"small"
clearable
>
v-model=
"val"
size=
"small"
clearable
>
</el-input>
</el-input>
<span
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
<span
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
</div>
</div>
</div>
</div>
<div
style=
"padding: 15px 20px;"
>
<div
style=
"padding: 15px 20px;"
>
<el-table
<el-table
:data=
"tableData"
border
style=
"width: 100%;margin-bottom:20px"
>
:data=
"tableData"
<el-table-column
prop=
"ID"
label=
"ID"
width=
"60"
>
border
style=
"width: 100%;margin-bottom:20px"
>
<el-table-column
prop=
"ID"
label=
"ID"
width=
"60"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"address"
label=
"账户"
width=
"155"
>
prop=
"address"
label=
"账户"
width=
"155"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"name"
label=
"商城名称"
width=
"320"
>
prop=
"name"
label=
"商城名称"
width=
"320"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"address"
label=
"操作"
>
prop=
"address"
label=
"操作"
>
<
template
>
<
template
>
<el-button
size=
"mini"
type=
"info"
plain
>
编辑
</el-button>
<el-button
size=
"mini"
type=
"info"
plain
>
编辑
</el-button>
<el-button
size=
"mini"
type=
"info"
plain
>
回收
</el-button>
<el-button
size=
"mini"
type=
"info"
plain
>
回收
</el-button>
...
@@ -194,10 +154,7 @@
...
@@ -194,10 +154,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
style=
"text-align:right"
<el-pagination
style=
"text-align:right"
background
layout=
"prev, pager, next"
:total=
"1000"
>
background
layout=
"prev, pager, next"
:total=
"1000"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
@@ -215,21 +172,12 @@
...
@@ -215,21 +172,12 @@
<div
style=
"margin-bottom:20px"
>
<div
style=
"margin-bottom:20px"
>
<el-button
@
click=
"addAdress"
size=
"small"
>
添加存储位置
</el-button>
<el-button
@
click=
"addAdress"
size=
"small"
>
添加存储位置
</el-button>
</div>
</div>
<el-table
<el-table
:data=
"tableData"
border
style=
"width: 100%;margin-bottom:20px"
>
:data=
"tableData"
<el-table-column
prop=
"ID"
label=
"存储位置"
>
border
style=
"width: 100%;margin-bottom:20px"
>
<el-table-column
prop=
"ID"
label=
"存储位置"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"address"
label=
"默认存储"
>
prop=
"address"
label=
"默认存储"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"address"
label=
"操作"
>
prop=
"address"
label=
"操作"
>
<
template
>
<
template
>
<el-button
size=
"mini"
type=
"info"
plain
>
编辑
</el-button>
<el-button
size=
"mini"
type=
"info"
plain
>
编辑
</el-button>
<el-button
size=
"mini"
type=
"info"
plain
>
回收
</el-button>
<el-button
size=
"mini"
type=
"info"
plain
>
回收
</el-button>
...
@@ -254,13 +202,8 @@
...
@@ -254,13 +202,8 @@
<p>
域名设置
</p>
<p>
域名设置
</p>
<div
class=
"uploadBig"
>
<div
class=
"uploadBig"
>
小程序业务域名校验文件
小程序业务域名校验文件
<el-upload
class=
"uploadDiv"
<el-upload
class=
"uploadDiv"
:http-request=
"UploadImage"
:multiple=
"true"
accept=
".txt"
:http-request=
"UploadImage"
:show-file-list=
"false"
action
>
:multiple=
"true"
accept=
".txt"
:show-file-list=
"false"
action
>
<el-button
style=
"margin-left:30px"
slot=
"trigger"
size=
"small"
>
选取文件
</el-button>
<el-button
style=
"margin-left:30px"
slot=
"trigger"
size=
"small"
>
选取文件
</el-button>
</el-upload>
</el-upload>
</div>
</div>
...
@@ -272,10 +215,7 @@
...
@@ -272,10 +215,7 @@
</div>
</div>
<div
style=
"text-align: center;line-height: 60px;color: #000;font-size:12px"
>
由成都微途科技有限公司提供技术支持
</div>
<div
style=
"text-align: center;line-height: 60px;color: #000;font-size:12px"
>
由成都微途科技有限公司提供技术支持
</div>
<!-- 修改手机号 -->
<!-- 修改手机号 -->
<el-dialog
<el-dialog
title=
"修改手机号"
:visible
.
sync=
"dialogVisible"
width=
"400px"
>
title=
"修改手机号"
:visible
.
sync=
"dialogVisible"
width=
"400px"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"100px"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"100px"
>
<el-form-item
label=
"新手机号"
prop=
"name"
>
<el-form-item
label=
"新手机号"
prop=
"name"
>
<el-input
style=
"width:234px"
size=
"small"
v-model=
"addMsg.name"
></el-input>
<el-input
style=
"width:234px"
size=
"small"
v-model=
"addMsg.name"
></el-input>
...
@@ -291,10 +231,7 @@
...
@@ -291,10 +231,7 @@
</span>
</span>
</el-dialog>
</el-dialog>
<!-- 创建商城 -->
<!-- 创建商城 -->
<el-dialog
<el-dialog
title=
"创建商城"
:visible
.
sync=
"creatDig"
width=
"440px"
>
title=
"创建商城"
:visible
.
sync=
"creatDig"
width=
"440px"
>
<el-form
:model=
"creatMsg"
:rules=
"creatMsgrules"
ref=
"creatMsg"
label-width=
"100px"
>
<el-form
:model=
"creatMsg"
:rules=
"creatMsgrules"
ref=
"creatMsg"
label-width=
"100px"
>
<el-form-item
label=
"商城名称"
prop=
"name"
>
<el-form-item
label=
"商城名称"
prop=
"name"
>
<el-input
size=
"small"
v-model=
"addMsg.name"
></el-input>
<el-input
size=
"small"
v-model=
"addMsg.name"
></el-input>
...
@@ -310,11 +247,7 @@
...
@@ -310,11 +247,7 @@
</span>
</span>
</el-dialog>
</el-dialog>
<!-- 存储位置编辑 -->
<!-- 存储位置编辑 -->
<el-dialog
<el-dialog
title=
"存储位置编辑"
:visible
.
sync=
"dialogEdit"
top=
"5%"
width=
"800px"
>
title=
"存储位置编辑"
:visible
.
sync=
"dialogEdit"
top=
"5%"
width=
"800px"
>
<el-form
class=
"editMsg"
:model=
"editMsg"
:rules=
"editMsgrules"
ref=
"editMsg"
label-width=
"0px"
>
<el-form
class=
"editMsg"
:model=
"editMsg"
:rules=
"editMsgrules"
ref=
"editMsg"
label-width=
"0px"
>
<el-form-item
label-width=
"80px"
label=
"存储位置"
prop=
"name"
>
<el-form-item
label-width=
"80px"
label=
"存储位置"
prop=
"name"
>
<el-radio
v-model=
"editMsg.type"
label=
"1"
>
腾讯云COS
</el-radio>
<el-radio
v-model=
"editMsg.type"
label=
"1"
>
腾讯云COS
</el-radio>
...
@@ -329,7 +262,8 @@
...
@@ -329,7 +262,8 @@
<el-form-item
prop=
"name"
>
<el-form-item
prop=
"name"
>
<p><span
class=
"cred"
>
*
</span>
所属地域
</p>
<p><span
class=
"cred"
>
*
</span>
所属地域
</p>
<el-input
v-model=
"addMsg.name"
></el-input>
<el-input
v-model=
"addMsg.name"
></el-input>
<div
>
示例:
<span
class=
"cred"
>
ap-shanghai
</span>
或
<span
class=
"cred"
>
ap-shenzhen
</span>
或
<span
class=
"cred"
>
ap-xxxxxx
</span></div>
<div>
示例:
<span
class=
"cred"
>
ap-shanghai
</span>
或
<span
class=
"cred"
>
ap-shenzhen
</span>
或
<span
class=
"cred"
>
ap-xxxxxx
</span></div>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<p>
自定义域名
</p>
<p>
自定义域名
</p>
...
@@ -353,7 +287,8 @@
...
@@ -353,7 +287,8 @@
<el-form-item
prop=
"name"
>
<el-form-item
prop=
"name"
>
<p><span
class=
"cred"
>
*
</span>
绑定域名
</p>
<p><span
class=
"cred"
>
*
</span>
绑定域名
</p>
<el-input
v-model=
"addMsg.name"
></el-input>
<el-input
v-model=
"addMsg.name"
></el-input>
<div
>
示例:
<span
class=
"cred"
>
http://mydomain.com
</span>
或
<span
class=
"cred"
>
http://xxxxxx.bkt.clouddn.com
</span></div>
<div>
示例:
<span
class=
"cred"
>
http://mydomain.com
</span>
或
<span
class=
"cred"
>
http://xxxxxx.bkt.clouddn.com
</span></div>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<p>
AccessKey(AK)
</p>
<p>
AccessKey(AK)
</p>
...
@@ -379,66 +314,86 @@
...
@@ -379,66 +314,86 @@
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'homeIndex'
,
name
:
'homeIndex'
,
data
(){
data
()
{
return
{
return
{
creatMsg
:
{},
creatMsg
:
{},
creatDig
:
false
,
creatDig
:
false
,
editMsg
:
{
editMsg
:
{
type
:
''
,
type
:
''
,
},
},
dialogEdit
:
false
,
dialogEdit
:
false
,
tab1
:
1
,
tab1
:
1
,
tab2
:
1
,
tab2
:
1
,
tab3
:
1
,
tab3
:
1
,
tableData
:[
tableData
:
[{
{
ID
:
'11'
,
title
:
'赞羊严选'
,
num
:
'T1219561424'
}
ID
:
'11'
,
],
title
:
'赞羊严选'
,
val
:
''
,
num
:
'T1219561424'
dialogVisible
:
false
,
}],
addMsg
:{},
val
:
''
,
dialogVisible
:
false
,
addMsg
:
{},
rules
:
{
rules
:
{
name
:
[
name
:
[{
{
required
:
true
,
message
:
'新手机号'
,
trigger
:
'blur'
}
required
:
true
,
],
message
:
'新手机号'
,
trigger
:
'blur'
}],
},
},
editMsgrules
:{
editMsgrules
:
{
name
:
[
name
:
[{
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
required
:
true
,
],
message
:
'不能为空'
,
trigger
:
'blur'
}],
},
},
creatMsgrules
:{
creatMsgrules
:
{
name
:
[
name
:
[{
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
required
:
true
,
],
message
:
'不能为空'
,
trigger
:
'blur'
}],
},
},
}
}
},
},
methods
:{
methods
:
{
UploadImage
(){
init
()
{
this
.
apipost
(
"/api/Tenant/GetTenant"
,
{},
res
=>
{
console
.
log
(
res
);
if
(
res
.
data
.
resultCode
==
1
)
{
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
})
},
UploadImage
()
{
},
},
addAdress
()
{
addAdress
()
{
this
.
dialogEdit
=
true
;
this
.
dialogEdit
=
true
;
this
.
editMsg
=
{
this
.
editMsg
=
{
type
:
''
,
type
:
''
,
}
}
},
},
SelectTab1
(
val
)
{
SelectTab1
(
val
)
{
this
.
tab1
=
val
;
this
.
tab1
=
val
;
},
},
SelectTab2
(
val
)
{
SelectTab2
(
val
)
{
this
.
tab2
=
val
;
this
.
tab2
=
val
;
},
},
SelectTab3
(
val
)
{
SelectTab3
(
val
)
{
this
.
tab3
=
val
;
this
.
tab3
=
val
;
},
},
renderHeader
(
h
,{
column
})
{
renderHeader
(
h
,
{
const
inReview
=
"数据统计每10分钟刷新一次"
column
})
{
const
inReview
=
"数据统计每10分钟刷新一次"
return
h
(
return
h
(
'div'
,
[
'div'
,
[
h
(
'span'
,
column
.
label
),
h
(
'span'
,
column
.
label
),
h
(
'el-tooltip'
,
{
h
(
'el-tooltip'
,
{
props
:
{
props
:
{
...
@@ -455,136 +410,152 @@ export default {
...
@@ -455,136 +410,152 @@ export default {
class
:
'el-icon-question'
,
class
:
'el-icon-question'
,
style
:
'color:#909399;margin-left:5px;'
style
:
'color:#909399;margin-left:5px;'
})
})
],
)
],
)
]
]
)
)
// return h(
// 'div',
// [
// h('span', column.label),
// h('i', {
// class:'el-icon-question',
// style:'color:#909399;margin-left:5px;'
// })
// ],
// );
}
}
},
},
}
mounted
()
{
this
.
init
();
}
}
</
script
>
</
script
>
<
style
>
<
style
>
.homeIndex
.uploadBig
{
.homeIndex
.uploadBig
{
padding
:
30px
0
10px
110px
;
padding
:
30px
0
10px
110px
;
}
}
.homeIndex
.uploadDiv
{
.homeIndex
.uploadDiv
{
display
:
inline-block
;
display
:
inline-block
;
}
}
.editMsg
.el-form-item
{
.editMsg
.el-form-item
{
margin-bottom
:
15px
;
margin-bottom
:
15px
;
}
}
.editMsg
.cred
{
.editMsg
.cred
{
color
:
#F56C6C
;
color
:
#F56C6C
;
margin-right
:
4px
;
margin-right
:
4px
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.editMsg
.el-form-item__content
>
.is-checked
{
border
:
1px
solid
#3a8ee6
!important
;
.editMsg
.el-form-item__content
>
.is-checked
{
}
border
:
1px
solid
#3a8ee6
!important
;
.editMsg
.el-radio
{
}
.editMsg
.el-radio
{
width
:
130px
;
width
:
130px
;
padding
:
9px
0
;
padding
:
9px
0
;
text-align
:
center
;
text-align
:
center
;
border
:
1px
solid
#DCDFE6
;
border
:
1px
solid
#DCDFE6
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.homeIndex
.el-button--info.is-plain
{
border-radius
:
16px
!important
;
.homeIndex
.el-button--info.is-plain
{
}
border-radius
:
16px
!important
;
.homeIndex
.content
.searchInput
{
}
.homeIndex
.content
.searchInput
{
border
:
1px
solid
#DCDFE6
;
border
:
1px
solid
#DCDFE6
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.homeIndex
.content
.searchInput
.el-input__inner
{
border
:
none
;
outline
:
none
;
.homeIndex
.content
.searchInput
.el-input__inner
{
}
border
:
none
;
.homeIndex
.content
.searchInput
{
outline
:
none
;
}
.homeIndex
.content
.searchInput
{
line-height
:
normal
;
line-height
:
normal
;
display
:
inline-table
;
display
:
inline-table
;
width
:
100%
;
width
:
100%
;
border-collapse
:
separate
;
border-collapse
:
separate
;
border-spacing
:
0
;
border-spacing
:
0
;
width
:
200px
;
width
:
200px
;
margin-right
:
20px
;
margin-right
:
20px
;
}
}
.homeIndex
.content
.userinfo
{
.homeIndex
.content
.userinfo
{
height
:
210px
;
height
:
210px
;
padding
:
40px
;
padding
:
40px
;
position
:
relative
;
position
:
relative
;
}
}
.homeIndex
.content
.imgbg
{
.homeIndex
.content
.imgbg
{
position
:
absolute
;
position
:
absolute
;
right
:
40px
;
right
:
40px
;
top
:
40px
;
top
:
40px
;
height
:
130px
;
height
:
130px
;
width
:
174px
;
width
:
174px
;
}
}
.homeIndex
.content
.radius
.Spannumber
{
color
:
#303133
;
.homeIndex
.content
.radius
.Spannumber
{
color
:
#303133
;
font-size
:
24px
;
font-size
:
24px
;
}
}
.homeIndex
.content
.title
{
.homeIndex
.content
.title
{
font-size
:
16px
;
font-size
:
16px
;
color
:
#999999
;
color
:
#999999
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
}
}
.homeIndex
.content
.tab2Div
span
:hover
{
.homeIndex
.content
.tab2Div
span
:hover
{
background-color
:
#ecf5ff
;
background-color
:
#ecf5ff
;
color
:
#3a8ee6
!important
;
color
:
#3a8ee6
!important
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.homeIndex
.content
.tab2Div
span
{
color
:
#606266
;
.homeIndex
.content
.tab2Div
span
{
color
:
#606266
;
font-size
:
12px
;
font-size
:
12px
;
margin-right
:
20px
;
margin-right
:
20px
;
padding
:
9px
15px
;
padding
:
9px
15px
;
border-radius
:
20px
;
border-radius
:
20px
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.homeIndex
.content
.spanactive
{
.homeIndex
.content
.spanactive
{
background-color
:
#ecf5ff
;
background-color
:
#ecf5ff
;
color
:
#3a8ee6
!important
;
color
:
#3a8ee6
!important
;
}
}
.homeIndex
.content
.radius
{
.homeIndex
.content
.radius
{
background
:
rgb
(
255
,
255
,
255
);
background
:
rgb
(
255
,
255
,
255
);
margin-bottom
:
20px
;
margin-bottom
:
20px
;
padding
:
15px
20px
;
padding
:
15px
20px
;
border-radius
:
5px
;
border-radius
:
5px
;
}
}
.homeIndex
.tabHead
.active
{
.homeIndex
.tabHead
.active
{
color
:
#409EFF
;
color
:
#409EFF
;
border-bottom
:
2px
solid
#409EFF
;
border-bottom
:
2px
solid
#409EFF
;
}
}
.homeIndex
.tabHead
{
.homeIndex
.tabHead
{
white-space
:
nowrap
;
white-space
:
nowrap
;
position
:
relative
;
position
:
relative
;
transition
:
-webkit-transform
.3s
;
transition
:
-webkit-transform
.3s
;
transition
:
transform
.3s
;
transition
:
transform
.3s
;
transition
:
transform
.3s
,
-webkit-transform
.3s
;
transition
:
transform
.3s
,
-webkit-transform
.3s
;
float
:
left
;
float
:
left
;
z-index
:
2
;
z-index
:
2
;
transform
:
translateX
(
0px
);
transform
:
translateX
(
0px
);
color
:
#fff
;
color
:
#fff
;
margin-top
:
45px
;
margin-top
:
45px
;
}
}
.homeIndex
.tabHead
>
span
:hover
{
color
:
#409EFF
!important
;
.homeIndex
.tabHead
>
span
:hover
{
color
:
#409EFF
!important
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.homeIndex
.tabHead
>
span
{
.homeIndex
.tabHead
>
span
{
height
:
40px
;
height
:
40px
;
-webkit-box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
@@ -595,29 +566,35 @@ export default {
...
@@ -595,29 +566,35 @@ export default {
font-weight
:
500
;
font-weight
:
500
;
position
:
relative
;
position
:
relative
;
margin-right
:
40px
;
margin-right
:
40px
;
}
}
.homeIndex
.head
{
.homeIndex
.head
{
background-image
:
url('../assets/img/homeback.png')
;
background-image
:
url('../assets/img/homeback.png')
;
height
:
200px
;
height
:
200px
;
color
:
#fff
;
color
:
#fff
;
}
}
.homeIndex
.main-container
{
.homeIndex
.main-container
{
max-width
:
960px
;
max-width
:
960px
;
margin
:
0
auto
;
margin
:
0
auto
;
}
}
.homeIndex
.div2
{
.homeIndex
.div2
{
background
:
rgb
(
255
,
255
,
255
);
background
:
rgb
(
255
,
255
,
255
);
margin-bottom
:
20px
;
margin-bottom
:
20px
;
padding
:
15px
20px
;
padding
:
15px
20px
;
border-radius
:
5px
;
border-radius
:
5px
;
}
}
.homeIndex
{
background
:
#f3f3f3
;
.homeIndex
{
background
:
#f3f3f3
;
height
:
100%
;
height
:
100%
;
}
}
.homeIndex
.homeIndexTop
{
padding-top
:
20px
;
.homeIndex
.homeIndexTop
{
display
:
flex
;
padding-top
:
20px
;
justify-content
:
space-between
;
display
:
flex
;
}
justify-content
:
space-between
;
}
</
style
>
</
style
>
src/plug/index.js
View file @
39eaf48d
...
@@ -121,7 +121,7 @@ export default {
...
@@ -121,7 +121,7 @@ export default {
var
apiurl
=
this
.
domainManager
().
DomainUrl
+
cmd
;
var
apiurl
=
this
.
domainManager
().
DomainUrl
+
cmd
;
var
timestamp
=
(
new
Date
()).
valueOf
();
var
timestamp
=
(
new
Date
()).
valueOf
();
this
.
apiurl
=
apiurl
;
this
.
apiurl
=
apiurl
;
if
(
!
localStorage
.
userInfo
&&
localStorage
.
userInfo
!=
""
&&
this
.
$route
.
path
.
toLowerCase
()
!=
"/login"
)
{
if
(
!
localStorage
.
mall_userInfo
&&
localStorage
.
mall_
userInfo
!=
""
&&
this
.
$route
.
path
.
toLowerCase
()
!=
"/login"
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/login'
path
:
'/login'
})
})
...
...
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