Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
c8260ae2
Commit
c8260ae2
authored
Dec 17, 2024
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
投诉建议bug处理
parent
ecd04864
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
complaintCommit.vue
...s/my/suggestComplaint/complaintCommit/complaintCommit.vue
+9
-1
suggestCommit.vue
pages/my/suggestComplaint/suggestCommit/suggestCommit.vue
+1
-0
No files found.
pages/my/suggestComplaint/complaintCommit/complaintCommit.vue
View file @
c8260ae2
...
@@ -113,6 +113,13 @@ export default{
...
@@ -113,6 +113,13 @@ export default{
async
afterRead
(
event
)
{
async
afterRead
(
event
)
{
// 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
// 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
let
lists
=
[].
concat
(
event
.
file
)
let
lists
=
[].
concat
(
event
.
file
)
if
(
event
.
file
[
0
].
size
>
1024
*
1024
*
10
){
uni
.
showToast
({
title
:
'图片内存不能大于10M'
,
icon
:
'none'
})
return
}
let
fileListLen
=
this
[
`fileList
${
event
.
name
}
`
].
length
let
fileListLen
=
this
[
`fileList
${
event
.
name
}
`
].
length
lists
.
map
((
item
)
=>
{
lists
.
map
((
item
)
=>
{
this
[
`fileList
${
event
.
name
}
`
].
push
({
this
[
`fileList
${
event
.
name
}
`
].
push
({
...
@@ -220,7 +227,7 @@ export default{
...
@@ -220,7 +227,7 @@ export default{
min-height
:
100%
;
min-height
:
100%
;
}
}
.top
{
.top
{
padding
:
0
40rpx
;
padding
:
0
40rpx
200rpx
40rpx
;
}
}
.top-list
{
.top-list
{
padding
:
40rpx
0
;
padding
:
40rpx
0
;
...
@@ -271,6 +278,7 @@ export default{
...
@@ -271,6 +278,7 @@ export default{
padding
:
20rpx
40rpx
60rpx
40rpx
;
padding
:
20rpx
40rpx
60rpx
40rpx
;
background
:
#ffffff
;
background
:
#ffffff
;
border-top
:
1px
solid
#EDEDED
;
border-top
:
1px
solid
#EDEDED
;
z-index
:
1
;
}
}
/*修改上传组件样式*/
/*修改上传组件样式*/
.top-list
/
deep
/
.uicon-camera-fill
{
.top-list
/
deep
/
.uicon-camera-fill
{
...
...
pages/my/suggestComplaint/suggestCommit/suggestCommit.vue
View file @
c8260ae2
...
@@ -203,6 +203,7 @@ export default{
...
@@ -203,6 +203,7 @@ export default{
background
:
#ffffff
;
background
:
#ffffff
;
padding
:
20rpx
40rpx
60rpx
40rpx
;
padding
:
20rpx
40rpx
60rpx
40rpx
;
border-top
:
1px
solid
#EDEDED
;
border-top
:
1px
solid
#EDEDED
;
z-index
:
1
;
}
}
/*修改上传组件样式*/
/*修改上传组件样式*/
.top-list
/
deep
/
.uicon-camera-fill
{
.top-list
/
deep
/
.uicon-camera-fill
{
...
...
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