Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
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
viitto
million
Commits
948fdf26
Commit
948fdf26
authored
Jul 30, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xiugai
parent
ba0e43d0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
diy-img-one.vue
src/components/label_picture/diy-img-one.vue
+1
-1
diy-img-six.vue
src/components/label_picture/diy-img-six.vue
+1
-2
No files found.
src/components/label_picture/diy-img-one.vue
View file @
948fdf26
...
...
@@ -6,7 +6,7 @@
<p
class=
"title-teaser"
>
{{
plugData
.
SubTitle
}}
</p>
<ul
class=
"pd-list"
>
<li
class=
"pd-box"
v-for=
"(item,index) in plugData.Details"
:key=
"index"
v-if=
"item.TripImageUrl"
>
<li
class=
"pd-box"
v-for=
"(item,index) in plugData.Details"
:key=
"index"
v-if=
"item.TripImageUrl
||item.ImageUrl
"
>
<a
@
click=
"OpenNewUrl(item.LinkUrl)"
:title=
"item.TripTitle"
class=
"pd-link"
>
<div
class=
"pd-img"
:style=
"
{backgroundImage:`url('${(item.TripImageUrl
&&
item.TripImageUrl!=''?item.TripImageUrl:item.ImageUrl)}')`}">
...
...
src/components/label_picture/diy-img-six.vue
View file @
948fdf26
...
...
@@ -6,7 +6,7 @@
<q-carousel
v-model=
"slide"
transition-prev=
"slide-right"
transition-next=
"slide-left"
swipeable
animated
control-color=
"primary"
navigation
padding
arrows
height=
"100%"
class=
"my-bg-grey text-black shadow-1 rounded-borders no-shadow"
>
<template
v-for=
"(x, i) in showImages"
>
<template
v-for=
"(x, i) in showImages"
v-if=
"x.length>0"
>
<q-carousel-slide
:name=
"i"
:key=
"i"
class=
"column no-wrap"
>
<div
class=
"row fit justify-start q-col-gutter no-wrap"
:class=
"
{'q-gutter-lg':x.length>1}">
<div
style=
"flex:1"
v-for=
"(y, yi) in x"
:key=
"yi"
v-if=
"y.TripImageUrl!=''||y.ImageUrl!=''"
>
...
...
@@ -43,7 +43,6 @@
temp
=
[];
}
});
}
else
if
(
size
.
width
>=
560
)
{
let
temp
=
[];
this
.
plugData
.
Details
.
forEach
((
x
,
i
)
=>
{
...
...
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