Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mocp-uniapp
Overview
Overview
Details
Activity
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
pangchong
mocp-uniapp
Commits
e539d854
Commit
e539d854
authored
May 30, 2024
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 相册
parent
8c14f14d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
19 deletions
+9
-19
src/pages.json
+1
-1
src/pages/panel/appraisal-record/constants/details.scss
+0
-3
src/pages/panel/appraisal-record/details.vue
+8
-15
No files found.
src/pages.json
View file @
e539d854
...
...
@@ -178,7 +178,7 @@
},
"condition"
:
{
//模式配置,仅开发期间生效
"current"
:
1
,
//当前激活的模式(list
的索引项)
"current"
:
0
,
//当前激活的模式(list
的索引项)
"list"
:
[
{
"name"
:
"test"
,
//模式名称
...
...
src/pages/panel/appraisal-record/constants/details.scss
View file @
e539d854
...
...
@@ -89,6 +89,3 @@
color
:
$uni-text-5
;
margin-bottom
:
16rpx
;
}
.appeal-image
{
width
:
100%
;
}
src/pages/panel/appraisal-record/details.vue
View file @
e539d854
...
...
@@ -70,14 +70,14 @@
<
/card-details
>
<
card
-
details
type
=
"appeal"
title
=
"申诉状态"
titleIcon
=
"email"
>
<
view
class
=
"appeal-status"
>
{{
useGetDictByValue
(
'appealInfo'
,
details
.
appealInfo
)
}}
<
/view
>
<
image
class
=
"appeal-image
"
:
src
=
"item.
fileUrl"
v
-
for
=
"(item, index) in getFileList
"
:
key
=
"item.id
"
@
tap
=
"previewImage(index)
"
mode
=
"widthFix"
/
>
<
up
-
album
:
urls
=
"getFileList
"
keyName
=
"
fileUrl"
singleSize
=
"654rpx
"
multipleSize
=
"654rpx
"
singleMode
=
"widthFix
"
m
ultipleM
ode
=
"widthFix"
><
/up-album
>
<
/card-details
>
<
/template
>
<
/global-page
>
...
...
@@ -105,13 +105,6 @@ const handleRightClick = () => {
url
:
'edit'
}
)
}
//图片预览
const
previewImage
=
(
index
)
=>
{
uni
.
previewImage
({
current
:
index
,
urls
:
getFileList
.
value
.
map
((
item
)
=>
item
.
fileUrl
)
}
)
}
<
/script
>
<
style
lang
=
"scss"
scoped
>
@
import
'./constants/details.scss'
;
...
...
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