Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
e70f8f53
Commit
e70f8f53
authored
Sep 03, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
06769073
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
11 deletions
+29
-11
choiceArea.vue
src/components/common/choiceArea.vue
+3
-3
rubik.vue
src/components/sallCenter/plugin/rubik.vue
+1
-1
imgupform.vue
src/components/tradePavilion/plugin/imgupform.vue
+1
-1
videoform.vue
src/components/tradePavilion/plugin/videoform.vue
+1
-1
registrationAdd.vue
src/components/tradePavilion/registrationAdd.vue
+23
-5
No files found.
src/components/common/choiceArea.vue
View file @
e70f8f53
...
@@ -147,15 +147,15 @@
...
@@ -147,15 +147,15 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"热区链接"
v-if=
"isLink"
>
<el-form-item
label=
"热区链接"
v-if=
"isLink"
>
<
template
v-if=
"chooseType=='rubik'"
>
<
template
v-if=
"chooseType=='rubik'"
>
<el-input
size=
"small"
style=
"width: 100%;"
:disabled=
"true"
<el-input
size=
"small"
style=
"width: 100%;"
v-model=
"hotspotList[index].link[0].Page
Name
"
>
v-model=
"hotspotList[index].link[0].Page
Url
"
>
<template
slot=
"append"
>
<template
slot=
"append"
>
<el-button
@
click=
"isShowLink=true"
>
选择链接
</el-button>
<el-button
@
click=
"isShowLink=true"
>
选择链接
</el-button>
</
template
>
</
template
>
</el-input>
</el-input>
</template>
</template>
<
template
v-else
>
<
template
v-else
>
<el-input
size=
"small"
style=
"width: 100%;"
:disabled=
"true"
v-model=
"hotspotList[index].link.PageName
"
>
<el-input
size=
"small"
style=
"width: 100%;"
v-model=
"hotspotList[index].link.PageUrl
"
>
<template
slot=
"append"
>
<template
slot=
"append"
>
<el-button
@
click=
"isShowLink=true"
>
选择链接
</el-button>
<el-button
@
click=
"isShowLink=true"
>
选择链接
</el-button>
</
template
>
</
template
>
...
...
src/components/sallCenter/plugin/rubik.vue
View file @
e70f8f53
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
<el-form-item
label=
"选择链接"
>
<el-form-item
label=
"选择链接"
>
<el-input
size=
"small"
v-if=
"rubData.data.list&&rubData.data.list.length>0
<el-input
size=
"small"
v-if=
"rubData.data.list&&rubData.data.list.length>0
&& rubData.data.list[rubik].link && rubData.data.list[rubik].link.length>0"
v-model=
"
&& rubData.data.list[rubik].link && rubData.data.list[rubik].link.length>0"
v-model=
"
rubData.data.list[rubik].link[0].Page
Name"
:disabled=
"true
"
>
rubData.data.list[rubik].link[0].Page
Url
"
>
<template
slot=
"append"
>
<template
slot=
"append"
>
<el-button
@
click=
"isShowLink=true"
>
选择链接
</el-button>
<el-button
@
click=
"isShowLink=true"
>
选择链接
</el-button>
</
template
>
</
template
>
...
...
src/components/tradePavilion/plugin/imgupform.vue
View file @
e70f8f53
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
@
keyup
.
native=
"checkInteger(searchData.CompData,'FileCount')"
size=
"small"
></el-input>
@
keyup
.
native=
"checkInteger(searchData.CompData,'FileCount')"
size=
"small"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"选择文件"
v-if=
"searchData.CompData.FileCount>0"
>
<el-form-item
label=
"选择文件"
v-if=
"searchData.CompData.FileCount>0"
>
<div
style=
"display:flex;"
>
<div
style=
"display:flex;
flex-wrap:wrap;
"
>
<div
class=
"goods-add"
style=
"width:50px;height:50px;"
v-for=
"(item,index) in searchData.CompData.FileList"
<div
class=
"goods-add"
style=
"width:50px;height:50px;"
v-for=
"(item,index) in searchData.CompData.FileList"
:key=
"index"
:style=
"{ backgroundImage: 'url(' + item + ')' }"
>
:key=
"index"
:style=
"{ backgroundImage: 'url(' + item + ')' }"
>
<el-button
size=
"small"
icon=
"el-icon-plus"
@
click=
"ckedIndex=index,choicImg=true"
></el-button>
<el-button
size=
"small"
icon=
"el-icon-plus"
@
click=
"ckedIndex=index,choicImg=true"
></el-button>
...
...
src/components/tradePavilion/plugin/videoform.vue
View file @
e70f8f53
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
@
keyup
.
native=
"checkInteger(searchData.CompData,'FileCount')"
size=
"small"
></el-input>
@
keyup
.
native=
"checkInteger(searchData.CompData,'FileCount')"
size=
"small"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"选择文件"
v-if=
"searchData.CompData.FileCount>0"
>
<el-form-item
label=
"选择文件"
v-if=
"searchData.CompData.FileCount>0"
>
<div
style=
"display:flex;"
>
<div
style=
"display:flex;
flex-wrap:wrap;
"
>
<div
class=
"goods-add"
style=
"width:50px;height:50px;"
v-for=
"(item,index) in searchData.CompData.FileList"
<div
class=
"goods-add"
style=
"width:50px;height:50px;"
v-for=
"(item,index) in searchData.CompData.FileList"
:key=
"index"
:style=
"{ backgroundImage: 'url(' + item + ')' }"
>
:key=
"index"
:style=
"{ backgroundImage: 'url(' + item + ')' }"
>
<el-button
size=
"small"
icon=
"el-icon-plus"
@
click=
"ckedIndex=index,choicImg=true"
></el-button>
<el-button
size=
"small"
icon=
"el-icon-plus"
@
click=
"ckedIndex=index,choicImg=true"
></el-button>
...
...
src/components/tradePavilion/registrationAdd.vue
View file @
e70f8f53
...
@@ -88,10 +88,6 @@
...
@@ -88,10 +88,6 @@
width
:
375px
;
width
:
375px
;
}
}
.registraType
.el-radio
:last-child
{
margin-left
:
28px
;
}
.tpEdit_header
{
.tpEdit_header
{
padding
:
18px
;
padding
:
18px
;
background
:
#fff
;
background
:
#fff
;
...
@@ -332,6 +328,8 @@
...
@@ -332,6 +328,8 @@
:index=
"index"
:dataLeng=
"addMsg.FormData.length"
></imgupform>
:index=
"index"
:dataLeng=
"addMsg.FormData.length"
></imgupform>
<videoform
v-if=
"item.CompKey=='VideoUploadComp'"
:searchData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
<videoform
v-if=
"item.CompKey=='VideoUploadComp'"
:searchData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"addMsg.FormData.length"
></videoform>
:index=
"index"
:dataLeng=
"addMsg.FormData.length"
></videoform>
<uploadform
v-if=
"item.CompKey=='CommonUploadComp'"
:searchData=
"item"
@
getSord=
"getSord"
@
comDelPlugin=
"comDelPlugin"
:index=
"index"
:dataLeng=
"addMsg.FormData.length"
></uploadform>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -349,6 +347,7 @@
...
@@ -349,6 +347,7 @@
import
dropdown
from
'../tradePavilion/plugin/dropdown'
import
dropdown
from
'../tradePavilion/plugin/dropdown'
import
imgupform
from
'../tradePavilion/plugin/imgupform'
import
imgupform
from
'../tradePavilion/plugin/imgupform'
import
videoform
from
'../tradePavilion/plugin/videoform'
import
videoform
from
'../tradePavilion/plugin/videoform'
import
uploadform
from
'../tradePavilion/plugin/uploadform'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -377,7 +376,8 @@
...
@@ -377,7 +376,8 @@
multilinetext
,
multilinetext
,
dropdown
,
dropdown
,
imgupform
,
imgupform
,
videoform
videoform
,
uploadform
},
},
mounted
()
{
mounted
()
{
...
@@ -472,6 +472,7 @@
...
@@ -472,6 +472,7 @@
CompData
:
{
CompData
:
{
Name
:
""
,
//名字
Name
:
""
,
//名字
FileCount
:
''
,
//上传文件数量
FileCount
:
''
,
//上传文件数量
FileType
:
''
,
FileSizeLimit
:
''
,
//上传文件大小
FileSizeLimit
:
''
,
//上传文件大小
Remark
:
''
,
//提示信息
Remark
:
''
,
//提示信息
FileList
:[],
//文件列表
FileList
:[],
//文件列表
...
@@ -487,6 +488,7 @@
...
@@ -487,6 +488,7 @@
CompData
:
{
CompData
:
{
Name
:
""
,
//名字
Name
:
""
,
//名字
FileCount
:
''
,
//上传文件数量
FileCount
:
''
,
//上传文件数量
FileType
:
''
,
FileSizeLimit
:
''
,
//上传文件大小
FileSizeLimit
:
''
,
//上传文件大小
Remark
:
''
,
//提示信息
Remark
:
''
,
//提示信息
FileList
:[],
//文件列表
FileList
:[],
//文件列表
...
@@ -494,6 +496,22 @@
...
@@ -494,6 +496,22 @@
};
};
this
.
addMsg
.
FormData
.
push
(
videoObj
);
this
.
addMsg
.
FormData
.
push
(
videoObj
);
break
;
break
;
//文件上传组件
case
"CommonUploadComp"
:
let
uploadObj
=
{
CompKey
:
"CommonUploadComp"
,
isCked
:
false
,
CompData
:
{
Name
:
""
,
//名字
FileType
:
''
,
//文件类型
FileCount
:
''
,
//上传文件数量
FileSizeLimit
:
''
,
//上传文件大小
Remark
:
''
,
//提示信息
FileList
:[],
//文件列表
},
};
this
.
addMsg
.
FormData
.
push
(
uploadObj
);
break
;
}
}
},
},
//获取对应类型
//获取对应类型
...
...
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