Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sass-admin
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj_app
sass-admin
Commits
1a57bc75
Commit
1a57bc75
authored
Dec 17, 2024
by
潘本斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7618c2ba
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
85 additions
and
28 deletions
+85
-28
src/common/Layout/Header/index.js
+3
-2
src/pages/SystemManagement/Banner/editBanner.jsx
+0
-0
src/pages/SystemManagement/Banner/index.jsx
+30
-16
src/pages/SystemManagement/Information/index.jsx
+46
-4
src/pages/SystemManagement/Site/Door/indexPage/mobile.jsx
+0
-0
src/pages/SystemManagement/Site/Door/indexPage/mobilePlugin/AddMenu.jsx
+3
-3
src/pages/SystemManagement/Site/Door/previewIndexPage/mobile.jsx
+1
-1
src/services/serve.js
+2
-2
src/static/imgs/1logo.png
+0
-0
No files found.
src/common/Layout/Header/index.js
View file @
1a57bc75
...
...
@@ -10,7 +10,7 @@ import SelectLang from "./SelectLang";
}
import
HeaderDropdown
from
"./HeaderDropdown"
;
// import cookie from "react-cookies";bug-12952-cwj
import
headerLogo
from
"../../../static/imgs/
headerL
ogo.png"
;
import
headerLogo
from
"../../../static/imgs/
1l
ogo.png"
;
class
Header
extends
PureComponent
{
constructor
(
props
)
{
...
...
@@ -88,7 +88,8 @@ class Header extends PureComponent {
<
div
className
=
{
styles
.
logo
}
>
<
img
className
=
{
styles
.
image
}
src
=
{
nav
.
logo
?
nav
.
logo
:
headerLogo
}
// src={nav.logo ? nav.logo : headerLogo}
src
=
{
headerLogo
}
/
>
<
/div
>
<
/div
>
...
...
src/pages/SystemManagement/Banner/editBanner.jsx
View file @
1a57bc75
This diff is collapsed.
Click to expand it.
src/pages/SystemManagement/Banner/index.jsx
View file @
1a57bc75
...
...
@@ -37,24 +37,24 @@ class Banner extends React.PureComponent {
terminalName
:
"移动端"
,
modules
:
[
{
moduleName
:
"首页"
,
id
:
0
},
{
moduleName
:
"项目"
,
id
:
3
},
{
moduleName
:
"课程"
,
id
:
1
},
{
moduleName
:
"新闻资讯"
,
id
:
5
},
{
moduleName
:
"营销"
,
id
:
6
},
{
moduleName
:
"专辑"
,
id
:
7
},
],
},
{
id
:
2
,
terminalName
:
"PC"
,
modules
:
[
{
moduleName
:
"首页"
,
id
:
0
},
{
moduleName
:
"项目"
,
id
:
3
},
{
moduleName
:
"课程"
,
id
:
1
},
{
moduleName
:
"新闻资讯"
,
id
:
5
},
{
moduleName
:
"专辑"
,
id
:
7
},
// { moduleName: "项目", id: 3 },
// { moduleName: "课程", id: 1 },
// { moduleName: "新闻资讯", id: 5 },
// { moduleName: "营销", id: 6 },
// { moduleName: "专辑", id: 7 },
],
},
// {
// id: 2,
// terminalName: "PC",
// modules: [
// { moduleName: "首页", id: 0 },
// { moduleName: "项目", id: 3 },
// { moduleName: "课程", id: 1 },
// { moduleName: "新闻资讯", id: 5 },
// { moduleName: "专辑", id: 7 },
// ],
// },
];
this
.
state
=
{
listRecords
:
[],
...
...
@@ -85,6 +85,20 @@ class Banner extends React.PureComponent {
},
},
{
title
:
"副标题"
,
dataIndex
:
"imgTitleSub"
,
key
:
"imgTitleSub"
,
// width: 300,
align
:
"left"
,
render
:
text
=>
{
return
(
<
div
title=
{
text
}
style=
{
{
...
textOver
,
maxWidth
:
300
}
}
>
{
text
}
</
div
>
);
},
},
{
title
:
"图片"
,
dataIndex
:
"bannerPath"
,
key
:
"bannerPath"
,
...
...
src/pages/SystemManagement/Information/index.jsx
View file @
1a57bc75
...
...
@@ -785,9 +785,50 @@ class Information extends React.Component {
render
()
{
//树形控件
const
loopss
=
data
=>
data
.
map
(
item
=>
{
if
(
item
.
childClassifyNews
&&
item
.
childClassifyNews
.
length
)
{
return
(
<
TreeNode
key=
{
item
.
key
+
item
.
id
}
className=
{
Styles
.
treeTtitle
}
title=
{
<
Item
data=
{
item
}
type=
{
""
}
parentID=
{
this
.
state
.
ificationList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postEditNewsLists=
{
this
.
EditNewsLists
}
newsDelete=
{
this
.
onNewsDelete
}
onTableList=
{
this
.
onTableList
}
/>
}
>
{
loopss
(
item
.
childClassifyNews
)
}
</
TreeNode
>
);
}
return
(
<
TreeNode
className=
{
Styles
.
treeTtitle
}
key=
{
item
.
key
+
item
.
id
}
title=
{
<
Item
data=
{
item
}
type=
{
""
}
parentID=
{
this
.
state
.
ificationList
}
postAddNewsLists=
{
this
.
AddNewsList
}
postEditNewsLists=
{
this
.
EditNewsLists
}
newsDelete=
{
this
.
onNewsDelete
}
onTableList=
{
this
.
onTableList
}
/>
}
/>
);
});
const
loops
=
data
=>
data
.
map
(
item
=>
{
if
(
item
.
data
&&
item
.
data
.
length
)
{
if
(
item
.
childClassifyNews
&&
item
.
childClassifyNews
.
length
)
{
return
(
<
TreeNode
key=
{
item
.
key
+
item
.
id
}
...
...
@@ -804,7 +845,7 @@ class Information extends React.Component {
/>
}
>
{
loops
(
item
.
data
)
}
{
loops
s
(
item
.
childClassifyNews
)
}
</
TreeNode
>
);
}
...
...
@@ -833,6 +874,7 @@ class Information extends React.Component {
<
TreeNode
className=
{
Styles
.
treeTtitle
}
key=
{
item
.
key
+
item
.
id
}
// chaildren={item.childClassifyNews}
title=
{
<
Item
data=
{
item
}
...
...
@@ -984,7 +1026,7 @@ class Information extends React.Component {
<
Row
>
<
Col
span=
{
6
}
span=
{
8
}
style=
{
{
padding
:
"20px"
,
border
:
"1px solid #d9d9d9"
,
...
...
@@ -1002,7 +1044,7 @@ class Information extends React.Component {
{
loop
(
this
.
state
.
ificationList
)
}
</
Tree
>
</
Col
>
<
Col
span=
{
1
8
}
style=
{
{
paddingLeft
:
"20px"
}
}
>
<
Col
span=
{
1
6
}
style=
{
{
paddingLeft
:
"20px"
}
}
>
<
Table
dataSource=
{
this
.
state
.
record
.
records
}
columns=
{
columns
}
...
...
src/pages/SystemManagement/Site/Door/indexPage/mobile.jsx
View file @
1a57bc75
This diff is collapsed.
Click to expand it.
src/pages/SystemManagement/Site/Door/indexPage/mobilePlugin/AddMenu.jsx
View file @
1a57bc75
...
...
@@ -147,6 +147,7 @@ class AddMenu extends Component {
showName
:
values
.
showName
,
relationFuncName
:
values
.
relationFuncName
,
relationFuncCode
:
dicItem
.
length
>
0
?
dicItem
[
0
].
code
:
""
,
relationId
:
dicItem
.
length
>
0
?
dicItem
[
0
].
id
:
""
,
// relationFuncName: this.props.firstItem[this.state.value1].name,
relationFuncUrl
:
values
.
relationFuncName
===
"外链"
?
values
.
relationFuncUrl
:
""
,
//schiffer.ji
...
...
@@ -155,7 +156,7 @@ class AddMenu extends Component {
imgPath
:
this
.
state
.
imgPath
,
homeId
:
""
,
//没有取得在classify 组件128行取添加
// relationId:this.state.id,
relationId
:
values
.
relationId
?
values
.
relationId
:
this
.
state
.
id
,
//
relationId: values.relationId ? values.relationId : this.state.id,
relationNum
:
values
.
rankType
?
values
.
rankType
.
join
(
","
)
:
""
,
// relationFuncCode:this.props.firstItem[this.state.value1].code?this.props.firstItem[this.state.value1].code:this.props.curNaviObj.relationFuncCode,
};
...
...
@@ -191,7 +192,6 @@ class AddMenu extends Component {
// let form = this.props.form;
// form.setFieldsValue({ showName: e, relationFuncUrl: '' });
// }
console
.
log
(
"e月eeeeeeeeeeeeeeee"
,
e
);
this
.
setState
({
selectFlag
:
true
,
value1
:
op
.
key
,
...
...
@@ -341,7 +341,7 @@ class AddMenu extends Component {
})(
// <div>11</div>
<
Select
key=
{
'all'
}
key=
{
"all"
}
onChange=
{
key
=>
{
console
.
log
(
"926"
,
key
);
this
.
setState
({
CaseLibraryId
:
key
});
...
...
src/pages/SystemManagement/Site/Door/previewIndexPage/mobile.jsx
View file @
1a57bc75
...
...
@@ -154,7 +154,7 @@ class Mobile extends Component {
{
/*配置底部导航*/
}
{
/* bug-12135-cwj 暂时注释 */
}
{
/* <FooterNav disabled/> */
}
{
/* <FooterNav disabled/> */
}
</
div
>
</
div
>
);
...
...
src/services/serve.js
View file @
1a57bc75
...
...
@@ -5,8 +5,8 @@ let baseUrl = "";
if
(
location
.
host
.
includes
(
"localhost"
))
{
// baseUrl = IP + '/admin';
baseUrl
=
"http://10.23.1.180:8090"
;
// baseUrl="http://dev.mg.kmelearning.com
";
//
baseUrl = "http://10.23.1.180:8090";
baseUrl
=
"http://192.168.1.106:8090
"
;
}
const
service
=
{
...
...
src/static/imgs/1logo.png
0 → 100644
View file @
1a57bc75
4.51 KB
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