Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
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
和慭琛
take_order
Commits
fb7bdf42
Commit
fb7bdf42
authored
Apr 01, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拍照项页不显示样品图片
parent
5e8370c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
list.vue
take-order/pages/photo/list.vue
+6
-5
No files found.
take-order/pages/photo/list.vue
View file @
fb7bdf42
...
@@ -12,14 +12,14 @@
...
@@ -12,14 +12,14 @@
<view
class=
"right-view-title"
>
拍照项有:
</view>
<view
class=
"right-view-title"
>
拍照项有:
</view>
<template
v-for=
"(item,ikey) in rightList"
>
<template
v-for=
"(item,ikey) in rightList"
>
<view
class=
"rightItemView"
@
click=
"rightItemClick(item,ikey)"
:key=
"ikey"
>
<view
class=
"rightItemView"
@
click=
"rightItemClick(item,ikey)"
:key=
"ikey"
>
<view
:class=
"['rightContentView',
{'active':item.imageList.length > 0
|| item.images.length > 0
}]">
<view
:class=
"['rightContentView',
{'active':item.imageList.length > 0}]">
<text
class=
"ph-lst-item-index"
>
{{
ikey
+
1
}}
</text>
<text
class=
"ph-lst-item-index"
>
{{
ikey
+
1
}}
</text>
<text
class=
""
>
{{
item
.
name
}}
</text>
<text
class=
""
>
{{
item
.
name
}}
</text>
<image
class=
"ph-list-item-arrow"
src=
"/static/photo/arrow.png"
></image>
<image
class=
"ph-list-item-arrow"
src=
"/static/photo/arrow.png"
></image>
<!--
<text
class=
"rightContent u-m-t-14 u-m-l-30 u-p-b-30"
>
{{
item
.
describe
}}
</text>
-->
<!--
<text
class=
"rightContent u-m-t-14 u-m-l-30 u-p-b-30"
>
{{
item
.
describe
}}
</text>
-->
</view>
</view>
<view
class=
"rightImageView"
v-if=
"item.imageList.length > 0
|| item.images.length > 0
"
>
<view
class=
"rightImageView"
v-if=
"item.imageList.length > 0"
>
<image
class=
"rightImage"
v-for=
"(image, index) in
(item.imageList.length > 0 ? item.imageList : item.images)
"
:src=
"image"
:key=
"image"
<image
class=
"rightImage"
v-for=
"(image, index) in
item.imageList
"
:src=
"image"
:key=
"image"
@
click
.
stop=
"handleClickImage(item, index)"
mode=
"aspectFill"
></image>
@
click
.
stop=
"handleClickImage(item, index)"
mode=
"aspectFill"
></image>
</view>
</view>
</view>
</view>
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
// 点击图片
// 点击图片
handleClickImage
(
item
,
index
)
{
handleClickImage
(
item
,
index
)
{
uni
.
previewImage
({
uni
.
previewImage
({
urls
:
item
.
imageList
.
length
>
0
?
item
.
imageList
:
item
.
images
,
urls
:
item
.
imageList
,
current
:
index
current
:
index
})
})
},
},
...
@@ -250,7 +250,8 @@
...
@@ -250,7 +250,8 @@
align-items
:
center
;
align-items
:
center
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
margin-top
:
26
rpx
;
margin-top
:
26
rpx
;
min-height
:
108
rpx
;
}
}
.rightImage
{
.rightImage
{
...
...
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