Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
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
向伟
educationStu
Commits
5fd5a770
Commit
5fd5a770
authored
Sep 24, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a8380190
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
index.vue
src/pages/index/index.vue
+15
-0
No files found.
src/pages/index/index.vue
View file @
5fd5a770
...
...
@@ -107,6 +107,7 @@
:key=
"index"
v-if=
"index === 0 || index === 1 || index === 2"
class=
"feedback-img"
@
click=
"previewImage(indexData.FeedBackList[0].PhotoList, index)"
>
<image
:src=
"item"
...
...
@@ -402,6 +403,19 @@ export default {
);
}
},
previewImage
(
arr
,
i
)
{
uni
.
previewImage
({
urls
:
arr
,
current
:
i
,
longPressActions
:
{
itemList
:
[
"发送给朋友"
,
"保存图片"
,
"收藏"
],
success
:
function
(
data
)
{},
fail
:
function
(
err
)
{
console
.
log
(
err
.
errMsg
);
},
},
});
},
};
onMounted
(()
=>
{
...
...
@@ -783,6 +797,7 @@ export default {
background-color
:
#eee
;
margin-right
:
30
rpx
;
position
:
relative
;
box-shadow
:
0
rpx
10
rpx
30
rpx
0
rpx
rgba
(
36
,
36
,
36
,
0.2
);
}
.feedback-img
:nth-child
(
3n
)
{
...
...
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