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
4bb60f56
"src/components/service-list/service_list copy.vue" did not exist on "61d20690bbe522701df532200d20cb9933eaff14"
Commit
4bb60f56
authored
Aug 03, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页样式问题fixed
parent
7da9f954
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
17 deletions
+40
-17
src/assets/imgs/shop_ic_huoqu.png
src/assets/imgs/shop_ic_huoqu.png
+0
-0
src/assets/imgs/shop_icon_liulan.png
src/assets/imgs/shop_icon_liulan.png
+0
-0
src/components/shop-card.vue
src/components/shop-card.vue
+39
-16
src/pages/service_shop/services_shop.vue
src/pages/service_shop/services_shop.vue
+1
-1
No files found.
src/assets/imgs/shop_ic_huoqu.png
View replaced file @
7da9f954
View file @
4bb60f56
1.03 KB
|
W:
|
H:
14.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/imgs/shop_icon_liulan.png
View replaced file @
7da9f954
View file @
4bb60f56
1.07 KB
|
W:
|
H:
14.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/shop-card.vue
View file @
4bb60f56
...
@@ -4,9 +4,17 @@
...
@@ -4,9 +4,17 @@
<img
:src=
"data.cover"
width=
"100%"
/>
<img
:src=
"data.cover"
width=
"100%"
/>
</div>
</div>
<div
class=
"shop_card-top"
>
<div
class=
"shop_card-top"
>
<p
class=
"shop_card-title text_clip_2"
v-text=
"data.name"
:title=
"data.name"
></p>
<p
class=
"shop_card-title text_clip_2"
v-text=
"data.name"
:title=
"data.name"
></p>
<p
class=
"shop_card-text under_text"
>
<p
class=
"shop_card-text under_text"
>
<span
class=
"text_clip"
v-text=
"data.department_name"
:title=
"data.department_name"
></span>
<span
class=
"text_clip"
v-text=
"data.department_name"
:title=
"data.department_name"
></span>
<span>
<span>
<img
:src=
"require('../assets/imgs/shop_ic_star.png')"
/>
<img
:src=
"require('../assets/imgs/shop_ic_star.png')"
/>
<span
v-text=
"data.score"
></span>
<span
v-text=
"data.score"
></span>
...
@@ -18,22 +26,36 @@
...
@@ -18,22 +26,36 @@
<span
v-text=
"data.resourceSummary"
></span>
<span
v-text=
"data.resourceSummary"
></span>
</p>
</p>
<p
class=
"shop_card-text update_time"
>
<p
class=
"shop_card-text update_time"
>
<img
:src=
"require('@/assets/imgs/icon_shijian.png')"
style=
"margin-right: 5px;"
/>
<img
<span
class=
"text_clip"
v-text=
"'更新时间:' + helper.dateStringTransform(data.update_date)"
></span>
:src=
"require('@/assets/imgs/shop_ic_updatetime.png')"
style=
"margin-right: 5px;"
/>
<span
class=
"text_clip"
v-text=
"'更新时间:' + helper.dateStringTransform(data.update_date)"
></span>
</p>
</p>
<div
class=
"shop_card-text access"
>
<div
class=
"shop_card-text access"
>
<span>
<span>
<img
:src=
"require('@/assets/imgs/icon_liulan.png')"
/>
<img
:src=
"require('@/assets/imgs/
shop_
icon_liulan.png')"
/>
<span
<span
class=
"text_clip"
class=
"text_clip"
v-text=
"helper.numberFormat(data.view_count, 2) + (data.view_count > 10000 ? '万' : '') + '次浏览'"
v-text=
"
helper.numberFormat(data.view_count, 2) +
(data.view_count > 10000 ? '万' : '') +
'次浏览'
"
></span>
></span>
</span>
</span>
<span>
<span>
<img
:src=
"require('@/assets/imgs/
icon_huoqu1
.png')"
/>
<img
:src=
"require('@/assets/imgs/
shop_ic_huoqu
.png')"
/>
<span
<span
class=
"text_clip"
class=
"text_clip"
v-text=
"helper.numberFormat(data.apply_count, 2) + (data.apply_count > 10000 ? '万' : '') + '次获取'"
v-text=
"
helper.numberFormat(data.apply_count, 2) +
(data.apply_count > 10000 ? '万' : '') +
'次获取'
"
></span>
></span>
</span>
</span>
</div>
</div>
...
@@ -47,27 +69,27 @@ export default {
...
@@ -47,27 +69,27 @@ export default {
props
:
{
props
:
{
data
:
{
data
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
{}
default
:
()
=>
{}
,
},
},
detailPath
:
{
detailPath
:
{
type
:
String
,
type
:
String
,
required
:
true
required
:
true
,
},
},
showImg
:
{
showImg
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
,
}
}
,
},
},
data
()
{
data
()
{
return
{
return
{
helper
helper
,
};
};
},
},
methods
:
{
methods
:
{
intoDetail
()
{
intoDetail
()
{
this
.
$router
.
push
(
this
.
detailPath
+
this
.
data
.
id
);
this
.
$router
.
push
(
this
.
detailPath
+
this
.
data
.
id
);
}
}
,
}
}
,
};
};
</
script
>
</
script
>
...
@@ -96,7 +118,6 @@ export default {
...
@@ -96,7 +118,6 @@ export default {
.shop_card-title
{
.shop_card-title
{
height
:
42px
;
height
:
42px
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
bold
;
color
:
#0d1847
;
color
:
#0d1847
;
line-height
:
21px
;
line-height
:
21px
;
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -111,6 +132,7 @@ export default {
...
@@ -111,6 +132,7 @@ export default {
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
color
:
#58617a
;
}
}
.shop_card-text.under_text
>
span
:nth-child
(
2
)
{
.shop_card-text.under_text
>
span
:nth-child
(
2
)
{
flex-shrink
:
0
;
flex-shrink
:
0
;
...
@@ -141,6 +163,7 @@ export default {
...
@@ -141,6 +163,7 @@ export default {
align-items
:
center
;
align-items
:
center
;
padding-top
:
11px
;
padding-top
:
11px
;
border-top
:
1px
solid
#ededed
;
border-top
:
1px
solid
#ededed
;
color
:
#58617a
;
}
}
.shop_card-text.access
>
span
>
*
{
.shop_card-text.access
>
span
>
*
{
width
:
15px
;
width
:
15px
;
...
...
src/pages/service_shop/services_shop.vue
View file @
4bb60f56
...
@@ -88,7 +88,7 @@ export default {
...
@@ -88,7 +88,7 @@ export default {
{
{
name
:
"
服务请求次数
"
,
name
:
"
服务请求次数
"
,
value
:
0
,
value
:
0
,
icon
:
require
(
"
@/assets/imgs/shop_ic_fuwu
z
s.png
"
)
icon
:
require
(
"
@/assets/imgs/shop_ic_fuwu
qqc
s.png
"
)
}
}
],
],
hot_datas
:
[],
hot_datas
:
[],
...
...
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