diff --git a/public/favicon.ico b/public/favicon.ico
new file mode 100644
index 0000000..100eb5b
Binary files /dev/null and b/public/favicon.ico differ
diff --git a/public/index.html b/public/index.html
index e2d0c1e..8a19ca0 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,13 +1,13 @@
-
-
-
-
-
- Arco Design Pro - 开箱即用的中台前端/设计解决方案
-
-
-
-
+
+
+
+
+
+ 雀乐音乐人
+
+
+
+
diff --git a/src/components/AlbumItem/index.tsx b/src/components/AlbumItem/index.tsx
new file mode 100644
index 0000000..a320a82
--- /dev/null
+++ b/src/components/AlbumItem/index.tsx
@@ -0,0 +1,51 @@
+import React from 'react';
+import { Image, Space, Button } from '@arco-design/web-react';
+import {
+ IconHeart,
+ IconThumbUp,
+ IconMessage,
+} from '@arco-design/web-react/icon';
+
+import styles from './style/index.module.less';
+
+export interface AlbumItemProps {
+ data: any;
+}
+
+function AlbumItem(props?: AlbumItemProps) {
+ const { data } = props || {};
+
+ return (
+
+
+
+
{data.name}
+
{data.desc}
+
+ 收益 ¥{data.income}
+
+
+
+
+ {data.collection}
+
+
+
+ {data.like}
+
+
+
+ {data.comment}
+
+
+
+
+
+
+
+ );
+}
+
+export default AlbumItem;
diff --git a/src/components/AlbumItem/style/index.module.less b/src/components/AlbumItem/style/index.module.less
new file mode 100644
index 0000000..1769ada
--- /dev/null
+++ b/src/components/AlbumItem/style/index.module.less
@@ -0,0 +1,108 @@
+.wrap {
+ width: 175px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ cursor: pointer;
+ border-radius: 2px;
+
+ &:hover .contWrap {
+ border-color: #165dff;
+ }
+}
+
+.contWrap {
+ width: 100%;
+ padding: 15px;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ background: #f7f8fa;
+ transition: border-color 0.3s;
+ border: 1px solid #f7f8fa;
+ border-radius: 2px;
+}
+
+.img {
+ width: 145px;
+ height: 145px;
+}
+
+.name {
+ width: 100%;
+ font-family: PingFang SC;
+ font-size: 14px;
+ font-weight: 500;
+ line-height: 19.6px;
+ text-align: left;
+ color: #1d2129;
+ margin-top: 5px;
+ margin-bottom: 0;
+}
+
+.desc {
+ width: 100%;
+ font-family: PingFang SC;
+ font-size: 12px;
+ font-weight: 400;
+ line-height: 16.8px;
+ text-align: left;
+ color: #4e5969;
+ margin-top: 5px;
+ margin-bottom: 0;
+}
+
+.income {
+ width: 100%;
+ font-family: PingFang SC;
+ font-size: 12px;
+ font-weight: 400;
+ line-height: 16.8px;
+ text-align: left;
+ color: #86909c;
+ margin-top: 5px;
+ margin-bottom: 0;
+
+ .incomeMoney {
+ font-family: PingFang SC;
+ font-size: 12px;
+ font-weight: 400;
+ line-height: 16.8px;
+ text-align: left;
+ color: #1d2129;
+ }
+}
+
+.other {
+ width: 100%;
+ color: #86909c;
+ font-size: 12px;
+ margin-top: 5px;
+ margin-bottom: 0;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+
+ .otherItem {
+ display: flex;
+ align-items: center;
+ }
+}
+
+.status {
+ width: 100%;
+ box-sizing: border-box;
+ // padding-left: 15px;
+ // padding-right: 15px;
+ text-align: left;
+ margin-top: 9px;
+
+ :global(.arco-btn) {
+ font-family: PingFang SC;
+ font-size: 14px;
+ font-weight: 400;
+ color: #4e5969;
+ }
+}
diff --git a/src/components/FormArtistInfo/FormArtistAvatar.tsx b/src/components/FormArtistInfo/FormArtistAvatar.tsx
index 3184313..4721159 100644
--- a/src/components/FormArtistInfo/FormArtistAvatar.tsx
+++ b/src/components/FormArtistInfo/FormArtistAvatar.tsx
@@ -1,6 +1,6 @@
import React from 'react';
import AvatarPng from '@/assets/avatar.png';
-import UploadForm from './UploadForm';
+import UploadForm from '@/components/UploadForm';
// 艺人头像
const FormArtistAvatar = () => {
diff --git a/src/components/FormArtistInfo/FormBackendScreenshot.tsx b/src/components/FormArtistInfo/FormBackendScreenshot.tsx
index 4fdb75f..054cc61 100644
--- a/src/components/FormArtistInfo/FormBackendScreenshot.tsx
+++ b/src/components/FormArtistInfo/FormBackendScreenshot.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import UploadForm from './UploadForm';
+import UploadForm from '@/components/UploadForm';
// 后台截图
const FormBackendScreenshot = () => {
diff --git a/src/components/FormArtistInfo/FormHomepageBackground.tsx b/src/components/FormArtistInfo/FormHomepageBackground.tsx
index d431866..ae777ae 100644
--- a/src/components/FormArtistInfo/FormHomepageBackground.tsx
+++ b/src/components/FormArtistInfo/FormHomepageBackground.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import UploadForm from './UploadForm';
+import UploadForm from '@/components/UploadForm';
// 主页背景
const FormHomepageBackground = () => {
diff --git a/src/components/FormArtistInfo/UploadForm.tsx b/src/components/UploadForm/index.tsx
similarity index 100%
rename from src/components/FormArtistInfo/UploadForm.tsx
rename to src/components/UploadForm/index.tsx
diff --git a/src/components/FormArtistInfo/style/UploadForm.module.less b/src/components/UploadForm/style/UploadForm.module.less
similarity index 100%
rename from src/components/FormArtistInfo/style/UploadForm.module.less
rename to src/components/UploadForm/style/UploadForm.module.less
diff --git a/src/index.tsx b/src/index.tsx
index dd8c41e..6b33ac4 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -21,7 +21,7 @@ import './mock';
const store = createStore(rootReducer);
function Index() {
- const [lang, setLang] = useStorage('arco-lang', 'en-US');
+ const [lang, setLang] = useStorage('arco-lang', 'zh-CN');
const [theme, setTheme] = useStorage('arco-theme', 'light');
const isLogin = useMemo(() => checkLogin(), []);
diff --git a/src/layout.tsx b/src/layout.tsx
index 0eac710..4ddf954 100644
--- a/src/layout.tsx
+++ b/src/layout.tsx
@@ -109,6 +109,23 @@ function PageLayout() {
const flattenRoutes = useMemo(() => getFlattenRoutes(routes) || [], [routes]);
+ const layoutBgc = useMemo(
+ () => ({ backgroundColor: showMenu ? '#fff' : '#f2f3f7' }),
+ [showMenu]
+ );
+
+ const layoutMainContentPadding = useMemo(
+ () =>
+ showMenu
+ ? {
+ paddingTop: '15px',
+ paddingLeft: '30px',
+ paddingBottom: '50px',
+ }
+ : {},
+ [showMenu]
+ );
+
function renderRoutes(locale) {
routeMap.current.clear();
return function travel(_routes: IRoute[], level, parentNode = []) {
@@ -197,7 +214,7 @@ function PageLayout() {
}, [pathname]);
return (
-
+
{showMenu && (
@@ -226,7 +243,10 @@ function PageLayout() {
)}
-
+
{!!breadcrumb.length && (
@@ -243,6 +263,7 @@ function PageLayout() {
{flattenRoutes.map((route, index) => {
return (
AllSteps.slice(0, curStep), [curStep]);
+
+ const handleStep1Next = (step1Values) => {
+ console.log(step1Values);
+ setCurStep(2);
+ };
+
+ const handleStep2Pre = () => {
+ setCurStep(1);
+ };
+
+ const handleStep2Next = () => {
+ setCurStep(3);
+ };
+
+ const handleStep3Next = () => {
+ // TOOD:
+ };
+
+ return (
+
+
+ {steps.map((node, index) => (
+ {node.title}
+ ))}
+
+
+
+ {AllSteps.map(({ title, desc }) => (
+
+ ))}
+
+ {curStep === 1 && }
+ {curStep === 2 && (
+
+ )}
+ {curStep === 3 && }
+
+ {curStep === 3 &&
}
+
+ );
+}
+
+export default CreateAlbum;
diff --git a/src/pages/albumWorks/create/step1.tsx b/src/pages/albumWorks/create/step1.tsx
new file mode 100644
index 0000000..193dd6e
--- /dev/null
+++ b/src/pages/albumWorks/create/step1.tsx
@@ -0,0 +1,117 @@
+import React, { useMemo, useState } from 'react';
+import {
+ Form,
+ Input,
+ Select,
+ DatePicker,
+ Button,
+} from '@arco-design/web-react';
+import UploadForm from '@/components/UploadForm';
+
+import stylesIndex from './style/index.module.less';
+import styles from './style/step1.module.less';
+
+export interface CreateAlbumStep1Props {
+ onNext?: (arg0: any) => void;
+}
+
+const { Item: FormItem, useForm } = Form;
+const { TextArea } = Input;
+
+const AlbumVersionOptions = [{ label: '录音室版本', value: '1' }];
+
+const AlbumTypeOptions = [{ label: 'EP', value: '1' }];
+
+const AlbumStypeOptions = [
+ { label: '后摇', value: '1' },
+ { label: '后朋克', value: '2' },
+];
+
+function CreateAlbumStep1(props: CreateAlbumStep1Props) {
+ const [form] = useForm();
+ const { onNext } = props || {};
+
+ const handleNext = () => {
+ form.validate().then((values) => {
+ console.log(values);
+ onNext?.(values);
+ });
+ };
+
+ return (
+
+ );
+}
+
+export default CreateAlbumStep1;
diff --git a/src/pages/albumWorks/create/step2.tsx b/src/pages/albumWorks/create/step2.tsx
new file mode 100644
index 0000000..c10d6fb
--- /dev/null
+++ b/src/pages/albumWorks/create/step2.tsx
@@ -0,0 +1,117 @@
+import React, { useMemo, useState } from 'react';
+import {
+ Form,
+ Input,
+ Select,
+ DatePicker,
+ Button,
+ Upload,
+ Message,
+ Space,
+} from '@arco-design/web-react';
+
+import stylesIndex from './style/index.module.less';
+import styles from './style/step2.module.less';
+
+export interface CreateAlbumStep1Props {
+ onPre?: () => void;
+ onNext?: (arg0: any) => void;
+}
+
+const { Item: FormItem, useForm } = Form;
+
+const isAcceptFile = (file, accept) => {
+ if (accept && file) {
+ const accepts = Array.isArray(accept)
+ ? accept
+ : accept
+ .split(',')
+ .map((x) => x.trim())
+ .filter((x) => x);
+ const fileExtension =
+ file.name.indexOf('.') > -1 ? file.name.split('.').pop() : '';
+ return accepts.some((type) => {
+ const text = type && type.toLowerCase();
+ const fileType = (file.type || '').toLowerCase();
+ if (text === fileType) {
+ // 类似excel文件这种
+ // 比如application/vnd.ms-excel和application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
+ // 本身就带有.字符的,不能走下面的.jpg等文件扩展名判断处理
+ // 所以优先对比input的accept类型和文件对象的type值
+ return true;
+ }
+ if (new RegExp('/*').test(text)) {
+ // image/* 这种通配的形式处理
+ const regExp = new RegExp('/.*$');
+ return fileType.replace(regExp, '') === text.replace(regExp, '');
+ }
+ if (new RegExp('..*').test(text)) {
+ // .jpg 等后缀名
+ return text === `.${fileExtension && fileExtension.toLowerCase()}`;
+ }
+ return false;
+ });
+ }
+ return !!file;
+};
+
+function CreateAlbumStep2(props: CreateAlbumStep1Props) {
+ const [form] = useForm();
+ const { onPre, onNext } = props || {};
+
+ const handlePre = () => {
+ onPre?.();
+ };
+
+ const handleNext = () => {
+ form.validate().then((values) => {
+ console.log(values);
+ onNext?.(values);
+ });
+ };
+
+ return (
+ <>
+ {
+ const uploadFile = e.dataTransfer.files[0];
+ if (isAcceptFile(uploadFile, 'image/*')) {
+ return;
+ } else {
+ Message.info('不接受的文件类型,请重新上传指定文件类型~');
+ }
+ }}
+ tip={
+
+ {
+ '歌曲须为MP3/WAV,建议优先上传WAV播放效果更佳;音质≥320kbps,采样率≥44.1kHz,文件大小<200MB'
+ }
+
+ }
+ />
+
+ >
+ );
+}
+
+export default CreateAlbumStep2;
diff --git a/src/pages/albumWorks/create/step3.tsx b/src/pages/albumWorks/create/step3.tsx
new file mode 100644
index 0000000..7356d5d
--- /dev/null
+++ b/src/pages/albumWorks/create/step3.tsx
@@ -0,0 +1,62 @@
+import React, { useState } from 'react';
+import { Radio, Button, Message } from '@arco-design/web-react';
+
+import styles from './style/step3.module.less';
+
+function CreateAlbumStep3() {
+ return (
+ <>
+ 音乐版权授权独家合作协议(个人版)
+
+
+ 欢迎使用雀乐音乐为您提供的雀乐音乐【版权管理及运营服务】(以下可称为“本服务”)。请您(以下也可称为“贵方”)仔细阅读以下全部内容(特别是粗体下划线标注的内容)。如贵方使用雀乐音乐版权管理及运营服务,即表示贵方与雀乐公司已达成协议,自愿接受本服务条款所有内容。服务条款是雀乐公司和贵方所约定的规范双方权利和义务的具有法律效力的电子协议,下称“本服务条款”。除非贵方与雀乐公司另有其他约定,贵方与雀乐公司之间的权利和义务均适用本服务条款。贵方勾选“我同意
+ ”,即表示贵方已经仔细阅读、充分理解并完全地毫无保留地接受本服务条款的所有条款。
+
+
+ 一、总则
+ 贵方根据雀乐音乐要求及规则以版权公司身份申请入驻雀乐音乐版权服务平台(也可简称“本平台”),并在本平台从事音乐版权管理及/其他音乐经纪事务。本平台有权独立决定是否通过贵方的入驻申请及向贵方提供的服务内容。贵方同意本服务条款并按照页面提示完成全部的账号权限开通流程并通过雀乐公司审核后,即可使用本服务。
+
+
+ 二、账号登录及使用
+ 1、贵方根据本服务条款申请成为本平台入驻版权公司时,应按照本平台要求提供及完善相应主体信息资料。贵方须提供真实、及时、详尽及准确的资料,包括但不限于公司介绍、主体名称、营业执照、联系人、联系方式、运营者授权委托书、法定代表人相关信息等(以下简称“公司信息”)。如公司信息有任何变动,贵方须及时在本平台上予以更新。如本平台要求,贵方还应向本平台提交与原件核对一致并加盖贵方公章的纸质文件。贵方确认,若本平台给予贵方版权公司资格的,则贵方信息以贵方提交的公司信息为准。
+
+ 2、贵方入驻为本平台版权公司时可通过经贵方委托之运营者的雀乐音乐用户账号提出入驻申请。本平台核对贵方提供的运营者授权委托书信息与贵方运营者使用之用户账号信息等一致无误后可通过贵方运营者提交的申请,贵方运营者可以该用户账号登录本平台。
+
+ 3、贵方应维持密码及账号的机密安全,如果贵方未保管好账号和密码而对雀乐音乐用户、本平台或第三方造成损害,贵方将负全部责任。贵方同意若发现任何非法使用用户账号或安全漏洞的情况,有义务立即通告本平台。
+
+ 4、若贵方提供的公司信息不准确、不真实、含有违法或不良信息的,本平台有权不给予贵方入驻版权公司资格、暂停贵方入驻版权公司权限使用或注销贵方入驻版权公司资格等。同时,本平台对贵方信息的核实仅为形式审核,贵方仍需独立对公司信息的真实性、合法性、准确性、有效性承担全部法律责任。
+
+ >
+ );
+}
+
+export interface AgreeStep3Props {
+ onNext?: () => void;
+}
+
+function AgreeStep3(props: AgreeStep3Props) {
+ const { onNext } = props || {};
+ const [agree, setAgree] = useState(false);
+
+ const handleNext = () => {
+ if (!agree) {
+ Message.warning('请阅读协议并同意向雀乐音乐人授权');
+ } else {
+ onNext?.();
+ }
+ };
+
+ return (
+
+ setAgree(checked)}>
+ 我已阅读协议,并确认向雀乐音乐人授权
+
+
+
+ );
+}
+
+export default CreateAlbumStep3;
+export { AgreeStep3 };
diff --git a/src/pages/albumWorks/create/style/index.module.less b/src/pages/albumWorks/create/style/index.module.less
new file mode 100644
index 0000000..108f93f
--- /dev/null
+++ b/src/pages/albumWorks/create/style/index.module.less
@@ -0,0 +1,41 @@
+.warp {
+ width: 800px;
+ min-height: 100%;
+ margin: auto;
+ padding-top: 40px;
+ padding-bottom: 67px;
+ display: flex;
+ flex-direction: column;
+ box-sizing: border-box;
+}
+
+.breadcrumbWrap {
+ margin-bottom: 14px;
+}
+
+.contWrap {
+ flex: 1;
+ width: 100%;
+ background: #fff;
+ border-radius: 16px;
+ padding: 50px 40px 80px;
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+
+.stepsWrap {
+ :global(.arco-steps-item) {
+ width: 232px;
+ }
+}
+
+.submitWrap {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ text-align: center;
+ margin-top: 40px;
+}
diff --git a/src/pages/albumWorks/create/style/step1.module.less b/src/pages/albumWorks/create/style/step1.module.less
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/src/pages/albumWorks/create/style/step1.module.less
@@ -0,0 +1 @@
+
diff --git a/src/pages/albumWorks/create/style/step2.module.less b/src/pages/albumWorks/create/style/step2.module.less
new file mode 100644
index 0000000..e3256b7
--- /dev/null
+++ b/src/pages/albumWorks/create/style/step2.module.less
@@ -0,0 +1,20 @@
+.uploadArea {
+ width: 494px;
+ height: 224px;
+ margin: auto;
+
+ :global(.arco-upload-trigger),
+ :global(.arco-upload-trigger .arco-upload-trigger-drag) {
+ width: 100%;
+ height: 100%;
+ box-sizing: border-box;
+ }
+
+ .uploadAreaTip {
+ width: 462px;
+ white-space: pre-wrap;
+ text-align: center;
+ margin-left: auto;
+ margin-right: auto;
+ }
+}
diff --git a/src/pages/albumWorks/create/style/step3.module.less b/src/pages/albumWorks/create/style/step3.module.less
new file mode 100644
index 0000000..207682a
--- /dev/null
+++ b/src/pages/albumWorks/create/style/step3.module.less
@@ -0,0 +1,36 @@
+.title {
+ font-family: PingFang SC;
+ font-size: 17px;
+ font-weight: 600;
+ line-height: 20px;
+ text-align: left;
+ color: #1d2129;
+ width: 100%;
+ margin: 0;
+}
+
+.contTitle {
+ font-family: PingFang SC;
+ font-size: 12px;
+ font-weight: 500;
+ line-height: 20px;
+ text-align: left;
+ margin: 0;
+}
+
+.article {
+ font-family: PingFang SC;
+ font-size: 12px;
+ font-weight: 400;
+ line-height: 20px;
+ text-align: left;
+ color: #4e5969;
+ margin: 0;
+}
+
+.agreeWrap {
+ margin-top: 30px;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+}
diff --git a/src/pages/albumWorks/index.tsx b/src/pages/albumWorks/index.tsx
index 4c6dc4c..1c2d739 100644
--- a/src/pages/albumWorks/index.tsx
+++ b/src/pages/albumWorks/index.tsx
@@ -1,12 +1,180 @@
-import React from 'react';
-import { Typography, Card } from '@arco-design/web-react';
+import React, { useState, useEffect } from 'react';
+import { useHistory } from 'react-router-dom';
+import {
+ Typography,
+ Card,
+ Tabs,
+ Space,
+ Button,
+ Select,
+ Grid,
+} from '@arco-design/web-react';
+import AlbumItem from '@/components/AlbumItem';
+
+const { Row, Col } = Grid;
+const TabPane = Tabs.TabPane;
+
+const options = [
+ { label: '全部时间', value: 'all' },
+ { label: '近一个月', value: 'lastAMonth' },
+ { label: '近三个月', value: 'last3Month' },
+ { label: '近半年', value: 'lastHaltYear' },
+ { label: '近一年', value: 'lastYear' },
+];
function AlbumWorks() {
+ const history = useHistory();
+ const [activeTab, setActiveTab] = useState('1');
+ const [albumList, setAlbumList] = useState([]);
+
+ const handleCreate = () => {
+ history.push('/albumWorks/create?menu=false');
+ };
+
+ useEffect(() => {
+ setAlbumList([
+ {
+ pic: '',
+ name: 'Ring of Past',
+ desc: 'Real Life Listening Party 2019.09.23',
+ income: '1341',
+ collection: 300,
+ like: 300,
+ comment: 300,
+ status: 1,
+ },
+ {
+ pic: '',
+ name: 'Ring of Past2',
+ desc: 'Real Life Listening Party 2019.09.23',
+ income: '1341',
+ collection: 300,
+ like: 300,
+ comment: 300,
+ status: 1,
+ },
+ {
+ pic: '',
+ name: 'Ring of Past3',
+ desc: 'Real Life Listening Party 2019.09.23',
+ income: '1341',
+ collection: 300,
+ like: 300,
+ comment: 300,
+ status: 1,
+ },
+ {
+ pic: '',
+ name: 'Ring of Past4',
+ desc: 'Real Life Listening Party 2019.09.23',
+ income: '1341',
+ collection: 300,
+ like: 300,
+ comment: 300,
+ status: 1,
+ },
+ {
+ pic: '',
+ name: 'Ring of Past5',
+ desc: 'Real Life Listening Party 2019.09.23',
+ income: '1341',
+ collection: 300,
+ like: 300,
+ comment: 300,
+ status: 1,
+ },
+ {
+ pic: '',
+ name: 'Ring of Past6',
+ desc: 'Real Life Listening Party 2019.09.23',
+ income: '1341',
+ collection: 300,
+ like: 300,
+ comment: 300,
+ status: 1,
+ },
+ {
+ pic: '',
+ name: 'Ring of Past7',
+ desc: 'Real Life Listening Party 2019.09.23',
+ income: '1341',
+ collection: 300,
+ like: 300,
+ comment: 300,
+ status: 1,
+ },
+ ]);
+ }, []);
+
+ const handleTabsChange = (tabKey) => {
+ setActiveTab(tabKey);
+ };
+
+ const tabs = [
+ {
+ title: '上架中',
+ key: '1',
+ content: '上架中',
+ },
+ {
+ title: '已新建',
+ key: '2',
+ content: '已新建',
+ },
+ {
+ title: '待审核',
+ key: '3',
+ content: '待审核',
+ },
+ {
+ title: '待上架',
+ key: '4',
+ content: '待上架',
+ },
+ {
+ title: '已驳回',
+ key: '5',
+ content: '已驳回',
+ },
+ ];
+
return (
-
- 这是专辑作品
- You can add content here :)
-
+ <>
+
+
+
+ {tabs.map((x) => (
+
+ ))}
+
+
+
+
+
+
+
+
+
+
+ {albumList?.map((album: any, index) => {
+ return (
+
+
+
+ );
+ })}
+
+ >
);
}
diff --git a/src/routes.ts b/src/routes.ts
index 275e9ca..ee6d9d8 100644
--- a/src/routes.ts
+++ b/src/routes.ts
@@ -16,13 +16,21 @@ export const routes: IRoute[] = [
name: 'menu.index',
key: 'index',
},
- {
- name: 'menu.artists',
- key: 'artists',
- },
+ // {
+ // name: 'menu.artists',
+ // key: 'artists',
+ // },
{
name: 'menu.albumWorks',
key: 'albumWorks',
+ children: [
+ {
+ name: 'menu.albumWorks.create',
+ key: 'albumWorks/create',
+ ignore: true,
+ breadcrumb: false,
+ },
+ ],
},
{
name: 'menu.financial',
diff --git a/src/style/global.less b/src/style/global.less
index 1e8ae5f..d73e7c8 100644
--- a/src/style/global.less
+++ b/src/style/global.less
@@ -10,6 +10,22 @@ body {
background-color: var(--color-bg-1);
}
+::-webkit-scrollbar {
+ width: 16px;
+ height: 4px;
+}
+
+::-webkit-scrollbar-thumb {
+ border: 4px solid transparent;
+ background-clip: padding-box;
+ border-radius: 7px;
+ background-color: var(--color-text-4);
+}
+
+::-webkit-scrollbar-thumb:hover {
+ background-color: var(--color-text-3);
+}
+
.chart-wrapper {
.bizcharts-tooltip {
background: linear-gradient(
diff --git a/src/style/layout.module.less b/src/style/layout.module.less
index 43704c1..ebe1636 100644
--- a/src/style/layout.module.less
+++ b/src/style/layout.module.less
@@ -121,7 +121,4 @@
background-color: #fff;
transition: padding-left 0.2s;
box-sizing: border-box;
- padding-top: 15px;
- padding-left: 30px;
- padding-bottom: 50px;
}