Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing-opeartion
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
gic-web
marketing-opeartion
Commits
601a6556
Commit
601a6556
authored
Jun 17, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 营销
parent
67b931de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
index.js
src/config/index.js
+1
-0
template-detail.vue
src/views/activity/template-detail.vue
+3
-1
No files found.
src/config/index.js
View file @
601a6556
...
...
@@ -3,6 +3,7 @@ function getOrigin() {
if
(
origin
.
indexOf
(
'localhost'
)
>=
0
||
origin
.
indexOf
(
'172.16'
)
>=
0
)
{
origin
=
'https://www.gicdev.com'
;
}
console
.
log
(
origin
);
return
origin
;
}
...
...
src/views/activity/template-detail.vue
View file @
601a6556
...
...
@@ -106,10 +106,12 @@
</el-form-item>
<el-form-item
label=
"模板奖品图片"
required
>
<div
class=
"flex"
>
<div
class=
"flex-column"
v-for=
"item in prizeImgList"
:key=
"item.prop"
>
<div
v-for=
"item in prizeImgList"
:key=
"item.prop"
>
<el-form-item
:prop=
"item.prop"
label-width=
"0"
>
<div
class=
"flex-column"
>
<span
class=
"mb8"
>
{{
item
.
label
}}
</span>
<vue-gic-upload-image
:project-name=
"projectName"
:action-url=
"actionUrl"
accept=
"image/jpg,image/jpeg,image/png,image/gif"
:before-upload=
"(file) => beforeUpload(file, item.prop)"
@
uploadOnSuccess=
"(data) => uploadOnSuccess(data, item.prop)"
@
deleteImage=
"deleteImage(item.prop)"
preview-append-to-body
>
</vue-gic-upload-image>
</div>
</el-form-item>
</div>
</div>
...
...
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