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
2722bf8c
Commit
2722bf8c
authored
2 years ago
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增分类管理功能
parent
a3b2658a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
399 additions
and
3 deletions
+399
-3
WebSiteArea.vue
src/components/WebSet/WebSiteArea.vue
+2
-2
classification.vue
src/components/WebSet/classification.vue
+378
-0
uploadImg.vue
src/pubComponents/uploadImg.vue
+11
-1
config.js
src/router/config.js
+8
-0
No files found.
src/components/WebSet/WebSiteArea.vue
View file @
2722bf8c
...
...
@@ -43,7 +43,7 @@
<ul>
<li>
<label>
名称
</label>
<el-input
v-model=
"msg.Name"
:placeholder=
"$t('system.ph_in')"
@
keyup
.
native
.
enter=
"getData"
class=
"w210"
>
<el-input
v-model=
"msg.
Area
Name"
:placeholder=
"$t('system.ph_in')"
@
keyup
.
native
.
enter=
"getData"
class=
"w210"
>
</el-input>
</li>
<!--
<li>
...
...
@@ -245,7 +245,7 @@ import uploadImg from '../../pubComponents/uploadImg'
Description
:
''
},
msg
:
{
Name
:
''
,
//名称
Area
Name
:
''
,
//名称
pageSize
:
15
,
pageIndex
:
1
,
},
...
...
This diff is collapsed.
Click to expand it.
src/components/WebSet/classification.vue
0 → 100644
View file @
2722bf8c
This diff is collapsed.
Click to expand it.
src/pubComponents/uploadImg.vue
View file @
2722bf8c
...
...
@@ -17,7 +17,7 @@
</div>
</div>
</div>
<div
class=
"add-img"
>
<div
class=
"add-img"
v-show=
"showAdd"
>
<div
class=
"reimg-add"
>
<i
class=
"iconfont icon-img_haha bigAdd"
></i>
<div
class=
"ad-one"
>
...
...
@@ -772,6 +772,11 @@
<
script
>
export
default
{
props
:
{
maxNum
:
{
default
:
0
}
},
data
()
{
return
{
defaultImg
:
'this.src="'
+
require
(
"../assets/img/bg_z1@2x.png"
)
+
'"'
,
...
...
@@ -781,6 +786,11 @@ export default {
},
mounted
()
{
},
computed
:
{
showAdd
:
function
()
{
return
!
this
.
maxNum
||
(
this
.
ImageList
.
length
<
this
.
maxNum
)
}
},
methods
:
{
//上传图片
UploadImage
(
file
)
{
...
...
This diff is collapsed.
Click to expand it.
src/router/config.js
View file @
2722bf8c
...
...
@@ -5265,6 +5265,14 @@ export default {
title
:
'广告管理'
},
},
{
path
:
'/Classification'
,
name
:
'Classification'
,
component
:
resolve
=>
require
([
'@/components/WebSet/Classification'
],
resolve
),
meta
:
{
title
:
'分类管理'
},
},
{
path
:
'/WebSiteCertificate'
,
//前台网站签证护照管理【自定义前端网站】
name
:
'WebSiteCertificate'
,
...
...
This diff is collapsed.
Click to expand it.
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