Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
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
郑秀明
shop_mobile_uni
Commits
693adf77
Commit
693adf77
authored
Apr 15, 2020
by
郑秀明
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
705a63c9
' into develop
parents
7b8acbb3
705a63c9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
25 deletions
+17
-25
applypage1.vue
pages/apply/applypage1.vue
+6
-9
applypage2.vue
pages/apply/applypage2.vue
+5
-6
applypage3.vue
pages/apply/applypage3.vue
+3
-5
certification.vue
pages/certification/certification.vue
+3
-5
No files found.
pages/apply/applypage1.vue
View file @
693adf77
...
...
@@ -144,10 +144,8 @@
uploadImage
(
key
)
{
uni
.
chooseImage
({
success
:
(
res
)
=>
{
uni
.
showToast
({
title
:
'上传中'
,
icon
:
'none'
,
duration
:
90000
uni
.
showLoading
({
title
:
'上传中'
})
const
tempFilePaths
=
res
.
tempFilePaths
;
uni
.
uploadFile
({
...
...
@@ -157,7 +155,7 @@
success
:
(
uploadFileRes
)
=>
{
const
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
this
.
params
[
key
]
=
data
.
data
;
uni
.
hide
Toast
();
uni
.
hide
Loading
();
}
});
}
...
...
@@ -193,9 +191,8 @@
// mozilla(firefox)
url
=
window
.
URL
.
createObjectURL
(
file
);
}
uni
.
showToast
({
title
:
'上传中'
,
icon
:
'none'
uni
.
showLoading
({
title
:
'上传中'
})
uni
.
uploadFile
({
url
:
'/uni/api/resources'
,
...
...
@@ -208,7 +205,7 @@
const
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
this
.
params
[
key
]
=
data
.
data
;
this
.
compressName
=
fileName
;
uni
.
hide
Toast
();
uni
.
hide
Loading
();
}
});
}
...
...
pages/apply/applypage2.vue
View file @
693adf77
...
...
@@ -115,7 +115,7 @@
uploadImage
(
key
)
{
uni
.
chooseImage
({
success
:
(
res
)
=>
{
uni
.
show
Toast
({
uni
.
show
Loading
({
title
:
'上传中'
,
icon
:
'none'
,
duration
:
90000
...
...
@@ -128,7 +128,7 @@
success
:
(
uploadFileRes
)
=>
{
const
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
this
.
params
[
key
]
=
data
.
data
;
uni
.
hide
Toast
();
uni
.
hide
Loading
();
}
});
}
...
...
@@ -164,9 +164,8 @@
// mozilla(firefox)
url
=
window
.
URL
.
createObjectURL
(
file
);
}
uni
.
showToast
({
title
:
'上传中'
,
icon
:
'none'
uni
.
showLoading
({
title
:
'上传中'
})
uni
.
uploadFile
({
url
:
'/uni/api/resources'
,
...
...
@@ -179,7 +178,7 @@
const
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
this
.
params
[
key
]
=
data
.
data
;
this
.
compressName
=
fileName
;
uni
.
hide
Toast
();
uni
.
hide
Loading
();
}
});
}
...
...
pages/apply/applypage3.vue
View file @
693adf77
...
...
@@ -90,10 +90,8 @@
uploadImage
(
key
)
{
uni
.
chooseImage
({
success
:
(
res
)
=>
{
uni
.
showToast
({
title
:
'上传中'
,
icon
:
'none'
,
duration
:
90000
uni
.
showLoading
({
title
:
'上传中'
})
const
tempFilePaths
=
res
.
tempFilePaths
uni
.
uploadFile
({
...
...
@@ -103,7 +101,7 @@
success
:
(
uploadFileRes
)
=>
{
const
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
this
.
params
[
key
]
=
data
.
data
;
uni
.
hide
Toast
();
uni
.
hide
Loading
();
}
});
}
...
...
pages/certification/certification.vue
View file @
693adf77
...
...
@@ -99,10 +99,8 @@
uploadImage
(
key
)
{
uni
.
chooseImage
({
success
:
(
res
)
=>
{
uni
.
showToast
({
title
:
'上传中'
,
icon
:
'none'
,
duration
:
90000
uni
.
showLoading
({
title
:
'上传中'
})
const
tempFilePaths
=
res
.
tempFilePaths
uni
.
uploadFile
({
...
...
@@ -112,7 +110,7 @@
success
:
(
uploadFileRes
)
=>
{
const
data
=
JSON
.
parse
(
uploadFileRes
.
data
)
this
.
params
[
key
]
=
data
.
data
;
uni
.
hide
Toast
();
uni
.
hide
Loading
();
}
});
}
...
...
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