Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lumastoreapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
lumastoreapp
Commits
ad6202fd
Commit
ad6202fd
authored
Apr 21, 2020
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sss
parent
12121567
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
components/plan-image-upload/up_img.vue
components/plan-image-upload/up_img.vue
+1
-0
pages/addEditEleProduct/addEditEleProduct.vue
pages/addEditEleProduct/addEditEleProduct.vue
+1
-1
pages/edit/product/addshop.vue
pages/edit/product/addshop.vue
+2
-2
No files found.
components/plan-image-upload/up_img.vue
View file @
ad6202fd
...
@@ -121,6 +121,7 @@
...
@@ -121,6 +121,7 @@
for
(
let
i
=
0
;
i
<
imagePathArr
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
imagePathArr
.
length
;
i
++
){
promiseWorkList
.
push
(
new
Promise
((
resolve
,
reject
)
=>
{
promiseWorkList
.
push
(
new
Promise
((
resolve
,
reject
)
=>
{
let
remoteUrlIndex
=
remoteIndexStart
+
i
let
remoteUrlIndex
=
remoteIndexStart
+
i
console
.
info
(
"
_self.serverUrl
"
,
_self
.
serverUrl
);
uni
.
uploadFile
({
uni
.
uploadFile
({
url
:
_self
.
serverUrl
,
url
:
_self
.
serverUrl
,
fileType
:
'
image
'
,
fileType
:
'
image
'
,
...
...
pages/addEditEleProduct/addEditEleProduct.vue
View file @
ad6202fd
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<view
class=
"addmigs"
>
<view
class=
"addmigs"
>
<view
class=
"titlehe"
>
缩略图
</view>
<view
class=
"titlehe"
>
缩略图
</view>
<robby-image-upload
fileKeyName=
"img"
:value=
"c_pics"
:server-url=
"uploadurl1"
:form-data=
"c_formData"
:server-url-delete-image=
"uploadurl1"
<robby-image-upload
fileKeyName=
"img"
:value=
"c_pics"
:server-url=
"uploadurl1
+'/merchant.php/FileUpload/uploadify'
"
:form-data=
"c_formData"
:server-url-delete-image=
"uploadurl1"
@
delete=
"c_delImage"
@
add=
"c_onImg1"
@
move=
"onMove_c"
:limit=
"1"
></robby-image-upload>
@
delete=
"c_delImage"
@
add=
"c_onImg1"
@
move=
"onMove_c"
:limit=
"1"
></robby-image-upload>
</view>
</view>
...
...
pages/edit/product/addshop.vue
View file @
ad6202fd
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<!-- 添加产品图 -->
<!-- 添加产品图 -->
<view
class=
"addmigs"
>
<view
class=
"addmigs"
>
<view
class=
"titlehe"
>
添加商品主图
</view>
<view
class=
"titlehe"
>
添加商品主图
</view>
<robby-image-upload
fileKeyName=
"img"
:value=
"c_pics"
:server-url=
"uploadurl1"
:form-data=
"c_formData"
:server-url-delete-image=
"uploadurl1"
<robby-image-upload
fileKeyName=
"img"
:value=
"c_pics"
:server-url=
"uploadurl1
+'/merchant.php/FileUpload/uploadify'
"
:form-data=
"c_formData"
:server-url-delete-image=
"uploadurl1"
@
delete=
"c_delImage"
@
add=
"c_onImg"
@
move=
"onMove_c"
:limit=
"1"
></robby-image-upload>
@
delete=
"c_delImage"
@
add=
"c_onImg"
@
move=
"onMove_c"
:limit=
"1"
></robby-image-upload>
</view>
</view>
<!-- 添加图片end -->
<!-- 添加图片end -->
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
<!-- 添加产品图 -->
<!-- 添加产品图 -->
<view
class=
"addmigs"
>
<view
class=
"addmigs"
>
<view
class=
"titlehe"
>
更多详情图
</view>
<view
class=
"titlehe"
>
更多详情图
</view>
<robby-image-upload
fileKeyName=
"img"
:value=
"c_picsTwo"
:server-url=
"uploadurl1"
:form-data=
"c_formData"
:server-url-delete-image=
"uploadurl1"
<robby-image-upload
fileKeyName=
"img"
:value=
"c_picsTwo"
:server-url=
"uploadurl1
+'/merchant.php/FileUpload/uploadify'
"
:form-data=
"c_formData"
:server-url-delete-image=
"uploadurl1"
@
delete=
"c_delImagetwo"
@
add=
"c_onImgtwo"
@
move=
"onMove_ctwo"
:limit=
"9"
></robby-image-upload>
@
delete=
"c_delImagetwo"
@
add=
"c_onImgtwo"
@
move=
"onMove_ctwo"
:limit=
"9"
></robby-image-upload>
</view>
</view>
<!-- 添加图片end -->
<!-- 添加图片end -->
...
...
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