mirror of
https://github.com/eyebluecn/tank-front
synced 2024-04-21 12:31:55 +00:00
Fix the copyright and record feature.
This commit is contained in:
@@ -8,36 +8,12 @@
|
||||
@brand-gray: #c2c2c2;
|
||||
@brand-laxative: #B3EE3A;
|
||||
|
||||
@theme-color: #1b2a9d;
|
||||
@theme-background: #fafafa;
|
||||
|
||||
//左侧的主题图标导航栏宽度。
|
||||
@subject-icon-bar-width: 50px;
|
||||
|
||||
|
||||
|
||||
//Sidebar width
|
||||
//左侧菜单宽度
|
||||
@sidebar-width: 220px;
|
||||
|
||||
// Boxed layout width
|
||||
@boxed-width: 1200px;
|
||||
|
||||
//Border radius for buttons
|
||||
@btn-border-radius: 3px;
|
||||
|
||||
//Navigation
|
||||
@nav-bg: #2F4050;
|
||||
@nav-text-color: #a7b1c2;
|
||||
|
||||
|
||||
//顶部导航栏宽度
|
||||
@top-navigation-height: 45px;
|
||||
|
||||
@app-color-title: #474747;
|
||||
@app-color-content: #8A8A8A;
|
||||
|
||||
//上方导航栏高度
|
||||
@frame-header-height: 80px;
|
||||
|
||||
//下方蓝眼云盘高度
|
||||
@power-footer-height: 40px;
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ export default class Preference extends BaseEntity {
|
||||
faviconUrl: string | null = null
|
||||
|
||||
//版权信息
|
||||
copyright: string | null = null
|
||||
record: string | null = null
|
||||
copyright: string = ""
|
||||
record: string = ""
|
||||
|
||||
//大小限制
|
||||
downloadDirMaxSize: number = -1
|
||||
|
||||
@@ -37,10 +37,10 @@ export default class BottomLayout extends TankComponent <IProps, IState> {
|
||||
return (
|
||||
<div className="layout-bottom">
|
||||
<span className="item">
|
||||
<span>{preference.copyright}</span>
|
||||
<span dangerouslySetInnerHTML={{__html: preference.copyright}}/>
|
||||
</span>
|
||||
<span className="item">
|
||||
<span>{preference.record}</span>
|
||||
<span dangerouslySetInnerHTML={{__html: preference.record}}/>
|
||||
</span>
|
||||
<span className="item">
|
||||
<span onClick={this.changeLang.bind(this)}>
|
||||
|
||||
@@ -87,11 +87,12 @@ export default class Index extends TankComponent<IProps, IState> {
|
||||
</InfoCell>
|
||||
|
||||
<InfoCell name={'版权信息'}>
|
||||
{this.preference.copyright}
|
||||
<span dangerouslySetInnerHTML={{__html: this.preference.copyright}}/>
|
||||
|
||||
</InfoCell>
|
||||
|
||||
<InfoCell name={'备案信息'}>
|
||||
{this.preference.record}
|
||||
<span dangerouslySetInnerHTML={{__html: this.preference.record}}/>
|
||||
</InfoCell>
|
||||
|
||||
<InfoCell name={'zip下载数量限制'}>
|
||||
|
||||
Reference in New Issue
Block a user