Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
5f1e7230
Commit
5f1e7230
authored
Nov 18, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8417dbaa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
7 deletions
+34
-7
WebSiteEdit.vue
src/components/WebSet/WebSiteEdit.vue
+1
-0
indexNav.vue
src/components/WebSet/home/indexNav.vue
+33
-7
No files found.
src/components/WebSet/WebSiteEdit.vue
View file @
5f1e7230
...
@@ -460,6 +460,7 @@
...
@@ -460,6 +460,7 @@
this
.
commonTitle
=
item
.
plugData
.
Title
;
this
.
commonTitle
=
item
.
plugData
.
Title
;
this
.
currentEditItemData
=
JSON
.
parse
(
JSON
.
stringify
(
item
.
plugData
));
this
.
currentEditItemData
=
JSON
.
parse
(
JSON
.
stringify
(
item
.
plugData
));
if
(
!
this
.
currentEditItemData
.
BottomList
)
this
.
$set
(
this
.
currentEditItemData
,
'BottomList'
,[])
if
(
!
this
.
currentEditItemData
.
BottomList
)
this
.
$set
(
this
.
currentEditItemData
,
'BottomList'
,[])
if
(
!
this
.
currentEditItemData
.
MBgColor
)
this
.
$set
(
this
.
currentEditItemData
,
'MBgColor'
,
''
)
},
},
//获取数据
//获取数据
setSubPlugData
()
{
setSubPlugData
()
{
...
...
src/components/WebSet/home/indexNav.vue
View file @
5f1e7230
...
@@ -76,8 +76,8 @@
...
@@ -76,8 +76,8 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
-->
</el-row>
-->
<el-row
class=
"rowSbAc"
>
<el-row
class=
"rowSbAc"
style=
"margin-bottom: 10px;"
>
<el-form-item
label=
"LOGO"
style=
"margin-bottom: 0;"
>
<el-form-item
label=
"
Web
LOGO"
style=
"margin-bottom: 0;"
>
<div
class=
"webSliderDiv"
style=
"width: 100px;height: 100px;"
>
<div
class=
"webSliderDiv"
style=
"width: 100px;height: 100px;"
>
<el-upload
:http-request=
"UploadAttachmentLogo"
:multiple=
"true"
<el-upload
:http-request=
"UploadAttachmentLogo"
:multiple=
"true"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
action=
""
>
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
action=
""
>
...
@@ -89,16 +89,31 @@
...
@@ -89,16 +89,31 @@
</el-upload>
</el-upload>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('objFill.v101.zhubiaoti')"
style=
"margin-bottom: 0;"
>
<el-form-item
label=
"Mobile LOGO"
style=
"margin-bottom: 0;"
>
<el-input
type=
"text"
v-model=
"plugData.Title"
></el-input>
<div
class=
"webSliderDiv"
style=
"width: 100px;height: 100px;"
>
</el-form-item>
<el-upload
:http-request=
"UploadAttachmentMBgColor"
:multiple=
"true"
<el-form-item
:label=
"$t('objFill.fubiaoti')"
style=
"margin-bottom: 0;"
>
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
action=
""
>
<el-input
type=
"text"
v-model=
"plugData.SubTitle"
></el-input>
<img
v-if=
"plugData.MBgColor"
:src=
"plugData.MBgColor"
class=
"web_imgUrl"
alt=
""
/>
<div
class=
"addIconDiv"
>
<i
class=
"web_addImg iconfont icon-img_haha"
></i>
<i
class=
"web_delImg iconfont icon-img_delete_small"
style=
"margin-left:10px;"
@
click
.
stop=
"plugData.MBgColor=''"
></i>
</div>
</el-upload>
</div>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('objFill.v101.beijinse')"
style=
"margin-bottom: 0;flex: 1;flex-shrink: 0;"
>
<el-form-item
:label=
"$t('objFill.v101.beijinse')"
style=
"margin-bottom: 0;flex: 1;flex-shrink: 0;"
>
<el-color-picker
style=
'vertical-align: middle;'
v-model=
"plugData.BgColor"
></el-color-picker>
<el-color-picker
style=
'vertical-align: middle;'
v-model=
"plugData.BgColor"
></el-color-picker>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row
class=
"rowSbAc"
>
<el-form-item
:label=
"$t('objFill.v101.zhubiaoti')"
style=
"margin-bottom: 0;flex: 1;flex-shrink: 0;"
>
<el-input
type=
"text"
v-model=
"plugData.Title"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('objFill.fubiaoti')"
style=
"margin-bottom: 0;flex: 1;flex-shrink: 0;"
>
<el-input
type=
"text"
v-model=
"plugData.SubTitle"
></el-input>
</el-form-item>
</el-row>
<tbody>
<tbody>
<tr>
<tr>
<td
class=
"caidantext"
>
<td
class=
"caidantext"
>
...
@@ -376,6 +391,17 @@
...
@@ -376,6 +391,17 @@
this
.
plugData
.
Logo
=
imgUrl
;
this
.
plugData
.
Logo
=
imgUrl
;
});
});
},
},
UploadAttachmentMBgColor
(
file
)
{
let
newArr
=
[];
newArr
.
push
(
file
.
file
);
let
fileName
=
file
.
file
.
name
;
var
path
=
"/Upload/WebSite/"
;
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
var
str
=
x
.
data
.
FilePath
;
var
imgUrl
=
this
.
domainManager
().
ViittoFileUrl
+
str
;
this
.
plugData
.
MBgColor
=
imgUrl
;
});
},
},
},
mounted
()
{}
mounted
()
{}
};
};
...
...
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