Commit d4563bc4 by maolipeng

feat:advsdvsdvd

parent 12b44ae1
import React from "react";
import "./index.less"
export default function H5DecorEdit(props) {
return (
<div className="h5decor-edit">
dsdffa
</div>
)
}
\ No newline at end of file
.h5decor-edit {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 100;
}
\ No newline at end of file
......@@ -22,6 +22,7 @@ import Upload from '@/core/upload'
import { XMTable } from '@/components'
import college from '@/common/lottie/college'
import ImgClipModal from '@/components/ImgClipModal'
import H5DecorEdit from './H5DecorEdit'
const { confirm } = Modal
const DragHandle = sortableHandle(() => <MenuOutlined style={{ cursor: 'pointer', color: '#999' }} className='drag-icon' />)
......@@ -117,6 +118,8 @@ class StoreH5Decoration extends React.Component {
}
handleToAddStoreDecoration = () => {
window.open()
const { choosedBannerId } = this.state
if (this.state.storeDecorationlist.length >= 5 && !choosedBannerId) {
......
......@@ -36,6 +36,7 @@ import ExaminationManagerIndex from '@/modules/teach-tool/examination-manager/In
import ExaminationManagerTestDetail from '@/modules/teach-tool/examination-manager/TestDetailPage'
import KnowledgeBase from '@/modules/knowledge-base/index'
import CollegeInfoPage from '@/modules/college-manage/CollegeInfoPage'
import H5DecorEdit from '@/modules/store-manage/H5DecorEdit';
const mainRoutes = [
{
......@@ -74,6 +75,11 @@ const mainRoutes = [
name: '学院装修',
},
{
path: '/store-decoration/h5decoredit',
component: H5DecorEdit,
name: 'H5学院装修',
},
{
path: '/live-course',
component: LiveCoursePage,
name: '直播课',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment