Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
cf2b42d6
Commit
cf2b42d6
authored
Aug 03, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页样式优化
parent
c8b0847e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
34 deletions
+36
-34
src/components/shop-list.vue
src/components/shop-list.vue
+25
-24
src/pages/workbench/workPlace.vue
src/pages/workbench/workPlace.vue
+11
-10
No files found.
src/components/shop-list.vue
View file @
cf2b42d6
...
@@ -2,14 +2,16 @@
...
@@ -2,14 +2,16 @@
<div
class=
"shop_list"
>
<div
class=
"shop_list"
>
<h3
class=
"shop_list-title"
>
<h3
class=
"shop_list-title"
>
<span
v-text=
"name"
></span>
<span
v-text=
"name"
></span>
<a
@
click.prevent=
"goto"
:style=
"
{ cursor: to ? 'pointer' : 'text' }">
<a
@
click.prevent=
"goto"
:style=
"
{ cursor: to ? 'pointer' : 'text' }">
</a>
<i
class=
"el-icon-arrow-right"
></i>
</a>
</h3>
</h3>
<ul
class=
"shop_cards"
>
<ul
class=
"shop_cards"
>
<li
v-for=
"(item, index) in data"
:key=
"'card_' + index"
>
<li
v-for=
"(item, index) in data"
:key=
"'card_' + index"
>
<shop-card
:data=
"item"
:showImg=
"showImg"
:detail-path=
"detailPath"
></shop-card>
<shop-card
:data=
"item"
:showImg=
"showImg"
:detail-path=
"detailPath"
></shop-card>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -20,37 +22,37 @@ import shopCard from "./shop-card";
...
@@ -20,37 +22,37 @@ import shopCard from "./shop-card";
export
default
{
export
default
{
components
:
{
components
:
{
shopCard
shopCard
,
},
},
props
:
{
props
:
{
name
:
{
name
:
{
type
:
String
,
type
:
String
,
required
:
true
required
:
true
,
},
},
to
:
{
to
:
{
type
:
String
,
type
:
String
,
required
:
true
required
:
true
,
},
},
detailPath
:
{
detailPath
:
{
type
:
String
,
type
:
String
,
required
:
true
required
:
true
,
},
},
data
:
{
data
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
[]
default
:
()
=>
[]
,
},
},
showImg
:
{
showImg
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
,
}
}
,
},
},
methods
:
{
methods
:
{
goto
()
{
goto
()
{
if
(
this
.
to
)
{
if
(
this
.
to
)
{
this
.
$router
.
push
(
this
.
to
);
this
.
$router
.
push
(
this
.
to
);
}
}
}
}
,
}
}
,
};
};
</
script
>
</
script
>
...
@@ -59,26 +61,25 @@ export default {
...
@@ -59,26 +61,25 @@ export default {
margin
:
13px
20px
;
margin
:
13px
20px
;
}
}
.shop_list-title
>
span
{
.shop_list-title
>
span
{
display
:
inline-block
;
vertical-align
:
middle
;
font-size
:
18px
;
font-size
:
18px
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#0d1847
;
color
:
#0d1847
;
line-height
:
27px
;
line-height
:
27px
;
}
}
.shop_list-title
>
a
{
.shop_list-title
>
a
{
display
:
inline-
flex
;
display
:
inline-
block
;
justify-content
:
center
;
vertical-align
:
middle
;
align-items
:
center
;
background-image
:
url("../assets/imgs/home_btn_enter.png")
;
width
:
28px
;
width
:
28px
;
height
:
28px
;
height
:
28px
;
background-color
:
#fff
;
background-size
:
100%
;
border
:
1px
solid
#edeff6
;
vertical-align
:
-9px
;
border-radius
:
5px
;
margin-left
:
5px
;
overflow
:
hidden
;
margin-left
:
10px
;
}
}
.shop_list-title
>
a
>
i
{
.shop_list-title
>
a
:hover
{
font-weight
:
bolder
;
background-image
:
url("../assets/imgs/home_btn_enter_hov.png")
;
color
:
#1e3595
;
}
}
.shop_cards
{
.shop_cards
{
display
:
flex
;
display
:
flex
;
...
...
src/pages/workbench/workPlace.vue
View file @
cf2b42d6
...
@@ -57,9 +57,9 @@
...
@@ -57,9 +57,9 @@
<p
<p
style=
"margin-top:15px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
style=
"margin-top:15px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
>
>
<span
style=
"cursor:pointer;"
@
click=
"$router.push('/data_analysis')"
>
<span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
数据分析中心
</span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
数据分析中心
</span>
<div
class=
"enter_btn"
></div>
<div
class=
"enter_btn"
@
click=
"$router.push('/data_analysis')"
></div>
</span>
</span>
</p>
</p>
<div
class=
"data_charts"
>
<div
class=
"data_charts"
>
...
@@ -158,9 +158,9 @@
...
@@ -158,9 +158,9 @@
<p
<p
style=
"margin-top:15px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
style=
"margin-top:15px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
>
>
<span
style=
"cursor:pointer;"
@
click=
"$router.push('/data_analysis')"
>
<span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
数据分析中心
</span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
数据分析中心
</span>
<div
class=
"enter_btn"
></div>
<div
class=
"enter_btn"
@
click=
"$router.push('/data_analysis')"
></div>
</span>
</span>
</p>
</p>
<div
class=
"data_charts"
style=
"width:100%;"
>
<div
class=
"data_charts"
style=
"width:100%;"
>
...
@@ -201,9 +201,9 @@
...
@@ -201,9 +201,9 @@
<p
<p
style=
"margin-top:15px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
style=
"margin-top:15px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
>
>
<span
style=
"cursor:pointer;"
@
click=
"$router.push('/data_analysis')"
>
<span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
数据分析中心
</span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
数据分析中心
</span>
<div
class=
"enter_btn"
></div>
<div
class=
"enter_btn"
@
click=
"$router.push('/data_analysis')"
></div>
</span>
</span>
</p>
</p>
<div
class=
"data_charts"
style=
"width:100%;"
>
<div
class=
"data_charts"
style=
"width:100%;"
>
...
@@ -235,9 +235,9 @@
...
@@ -235,9 +235,9 @@
<p
<p
style=
"margin-top:10px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
style=
"margin-top:10px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
>
>
<span
style=
"cursor:pointer;"
@
click=
"gotofw"
>
<span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
{{
now_user
==
0
||
now_user
==
4
?
"
我的服务
"
:
"
服务管理
"
}}
</span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
{{
now_user
==
0
||
now_user
==
4
?
"
我的服务
"
:
"
服务管理
"
}}
</span>
<div
class=
"enter_btn"
></div>
<div
class=
"enter_btn"
@
click=
"gotofw"
></div>
</span>
</span>
</p>
</p>
<div
class=
"myservice"
>
<div
class=
"myservice"
>
...
@@ -281,9 +281,9 @@
...
@@ -281,9 +281,9 @@
<p
<p
style=
"margin-top:10px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
style=
"margin-top:10px;margin-bottom:10px;font-size:18px;color: #0d1847;font-weight:600;padding-left:20px;"
>
>
<span
style=
"cursor:pointer;"
@
click=
"gotoyy"
>
<span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
{{
now_user
==
0
||
now_user
==
4
?
"
我的应用
"
:
"
平台应用
"
}}
</span>
<span
style=
"display: inline-block;vertical-align:middle;"
>
{{
now_user
==
0
||
now_user
==
4
?
"
我的应用
"
:
"
平台应用
"
}}
</span>
<div
class=
"enter_btn"
></div>
<div
class=
"enter_btn"
@
click=
"gotoyy"
></div>
</span>
</span>
</p>
</p>
<div
class=
"myapp"
>
<div
class=
"myapp"
>
...
@@ -2316,6 +2316,7 @@ export default {
...
@@ -2316,6 +2316,7 @@ export default {
height
:
28px
;
height
:
28px
;
background-size
:
100%
;
background-size
:
100%
;
vertical-align
:
-9px
;
vertical-align
:
-9px
;
cursor
:
pointer
;
margin-left
:
5px
;
margin-left
:
5px
;
}
}
.enter_btn
:hover
{
.enter_btn
:hover
{
...
...
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