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
1bdc24d7
Commit
1bdc24d7
authored
Aug 17, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页卡片不显示详情
parent
a8b6569c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
19 deletions
+17
-19
src/components/shop-card.vue
src/components/shop-card.vue
+9
-19
src/components/shop-list.vue
src/components/shop-list.vue
+5
-0
src/pages/service_shop/services_shop.vue
src/pages/service_shop/services_shop.vue
+3
-0
No files found.
src/components/shop-card.vue
View file @
1bdc24d7
...
...
@@ -4,17 +4,9 @@
<img
:src=
"data.cover"
width=
"100%"
/>
</div>
<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"
>
<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>
<img
:src=
"require('../assets/imgs/shop_ic_star.png')"
/>
<span
v-text=
"data.score"
></span>
...
...
@@ -22,18 +14,12 @@
</p>
</div>
<div
class=
"shop_card-bottom"
>
<p
class=
"shop_card-text summary text_clip_2"
v-if=
"data.descript"
>
<p
class=
"shop_card-text summary text_clip_2"
v-if=
"
showSummary &&
data.descript"
>
<span
v-text=
"data.descript"
></span>
</p>
<p
class=
"shop_card-text update_time"
>
<img
:src=
"require('@/assets/imgs/shop_ic_updatetime.png')"
style=
"margin-right: 5px;"
/>
<span
class=
"text_clip"
v-text=
"'更新时间:' + helper.dateStringTransform(data.update_date)"
></span>
<img
: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>
<div
class=
"shop_card-text access"
>
<span>
...
...
@@ -79,6 +65,10 @@ export default {
type
:
Boolean
,
default
:
false
,
},
showSummary
:
{
type
:
Boolean
,
default
:
false
,
},
},
data
()
{
return
{
...
...
src/components/shop-list.vue
View file @
1bdc24d7
...
...
@@ -10,6 +10,7 @@
<shop-card
:data=
"item"
:showImg=
"showImg"
:showSummary=
"showSummary"
:detail-path=
"detailPath"
></shop-card>
</li>
...
...
@@ -45,6 +46,10 @@ export default {
type
:
Boolean
,
default
:
false
,
},
showSummary
:
{
type
:
Boolean
,
default
:
false
,
}
},
methods
:
{
goto
()
{
...
...
src/pages/service_shop/services_shop.vue
View file @
1bdc24d7
...
...
@@ -32,6 +32,7 @@
detail-path=
"/shop/sjfwDetail/"
:data=
"hot_datas"
:showImg=
"false"
:showSummary=
"true"
></shop-list>
<!-- 精品地图 -->
...
...
@@ -41,6 +42,7 @@
detail-path=
"/shop/skfwDetail/"
:data=
"map_datas"
:showImg=
"true"
:showSummary=
"false"
></shop-list>
<!-- 综合应用 -->
...
...
@@ -50,6 +52,7 @@
detail-path=
"/shop/zhfwDetail/"
:data=
"comprehensive_datas"
:showImg=
"true"
:showSummary=
"false"
></shop-list>
</div>
</template>
...
...
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