Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
d67153af
Commit
d67153af
authored
Jun 02, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
06e1854b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
detail.vue
pages/ticketCoupons/detail.vue
+1
-1
imgList.vue
pages/ticketCoupons/imgList.vue
+5
-1
No files found.
pages/ticketCoupons/detail.vue
View file @
d67153af
...
...
@@ -6,7 +6,7 @@
style="position: fixed;top: 0;left: 0;z-index: 9; padding-left: 6rpx;">
<u-icon
name=
"arrow-left"
size=
"44"
color=
"#000"
style=
"margin-top: 22rpx;"
></u-icon>
</view>
<image
class=
"banner-img"
:src=
"
imgBaseUrl+
details.AllPicList[0].TagPicList[0].Path"
mode=
"aspectFit"
<image
class=
"banner-img"
:src=
"details.AllPicList[0].TagPicList[0].Path"
mode=
"aspectFit"
@
click=
"goUrl('/pages/ticketCoupons/imgList')"
></image>
</view>
<view
class=
"ticket-title"
:style=
"[titleStyleFix]"
>
...
...
pages/ticketCoupons/imgList.vue
View file @
d67153af
...
...
@@ -8,7 +8,7 @@
<view
class=
"img-list-box"
>
<view
v-for=
"(item,index) in dataList.TagPicList"
:key=
"item.ID"
class=
"img-list-item"
@
click=
""
>
<view
class=
"img-box"
@
click=
"previewImage(index,item.Path)"
v-if=
"item.type==='image'"
>
<image
:src=
"imgBaseUrl+item.Path"
mode=
"aspectFit"
></image>
<image
:src=
"imgBaseUrl+item.Path"
mode=
"aspectFit"
:style=
"
{'margin-right':index%2 ==0?'20rpx':0}"
>
</image>
</view>
<view
class=
"img-box"
style=
"position: relative"
v-if=
"item.type==='video'"
>
<video
id=
"myVideo"
:src=
"imgBaseUrl+item.Path"
...
...
@@ -167,9 +167,13 @@
background-color
:
#E7E7E7
;
border-radius
:
20rpx
;
overflow
:
hidden
;
display
:
flex
;
justify-content
:
space-between
;
image
{
width
:
100%
;
height
:
100%
;
// margin-right: 20rpx;
margin-bottom
:
20rpx
;
}
#myVideo
{
width
:
100%
;
...
...
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