umi-tablayout

This commit is contained in:
lix
2025-07-07 16:40:14 +08:00
parent 736f004b6b
commit 1e940183cd
186 changed files with 525 additions and 294 deletions

View File

@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
import './style.less';
import { Input, List, Spin } from 'antd';
import { formatTime } from './utils';
import { history } from 'umi';
import { history } from '@umijs/max';
import { getClassroomList } from './Home/service';
const { Search } = Input;

View File

@ -4,7 +4,7 @@ import project_banner from '@/assets/highQuality/project_banner.jpg'
import news_banner from '@/assets/highQuality/news_banner.jpg'
import classroom_banner from '@/assets/highQuality/classroom_banner.jpg'
import { formatCreateTime, formatTime, getDetailData, isNotEmpty } from './utils';
import { history } from 'umi'
import { history } from '@umijs/max'
import ReactPlayer from 'react-player';
import { LikeFilled, LikeOutlined, MessageOutlined, SyncOutlined } from '@ant-design/icons';
import { clickLikes, downloadVideo, getCommentsCount, getCommentsList, getLikesCount, isUserLike, saveComment } from './Home/service';

View File

@ -1,4 +1,4 @@
@import '~antd/es/style/themes/default.less';
.h-topic-global {
width: 100%;

View File

@ -4,7 +4,7 @@ import { Input, List, Spin } from 'antd';
import topic_activity_default from '@/assets/topic/topic_activity_default.jpg'
import time_icon from '@/assets/topic/timeIcon.png'
import { getImageUrl } from './utils';
import { history } from 'umi';
import { history } from '@umijs/max';
import { getHomeGraceful } from './Home/service';
const { Search } = Input;

View File

@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react';
import './style.less';
import { Input, List, Spin } from 'antd';
import { formatTime } from './utils';
import { history } from 'umi';
import { history } from '@umijs/max';
import { getHomeProject } from './Home/service';
const { Search } = Input;

View File

@ -2,7 +2,7 @@ import React from 'react';
import './style.less';
import news_banner from '@/assets/highQuality/news_banner.jpg'
import { formatTime, getDetailData } from './utils';
import { history } from 'umi';
import { history } from '@umijs/max';
const NewsStyleDetail: React.FC<{}> = () => {
//session detailData

View File

@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react';
import '../style.less';
import { Input, List } from 'antd';
import { history } from 'umi'
import { history } from '@umijs/max'
import { getBranchList, getMemberAndBranch } from '../Home/service';
import person from '@/assets/topic/person.png'
import branch from '@/assets/topic/branch.png'

View File

@ -3,7 +3,7 @@ import '../style.less';
import { Input, List, Spin } from 'antd';
import { getBranchesList } from '../Home/service';
import person from '@/assets/topic/person.png'
import { history } from 'umi';
import { history } from '@umijs/max';
const { Search } = Input;

View File

@ -4,7 +4,7 @@ import { Input, List, Spin } from 'antd';
import { getMemberList, memberListSearch } from '../Home/service';
import { isEmpty, isNotEmpty } from '../utils';
import emblem from '@/assets/topic/emblem.png'
import { history } from 'umi';
import { history } from '@umijs/max';
const { Search } = Input;

View File

@ -1,7 +1,7 @@
import React from 'react';
import './style.less';
import project_banner from '@/assets/highQuality/project_banner.jpg'
import { history } from 'umi'
import { history } from '@umijs/max'
import { getDetailData } from './utils';
const ProjectDetail: React.FC<{}> = () => {

View File

@ -1,4 +1,4 @@
@import '~antd/es/style/themes/default.less';
.h-page-container {
width: 1460px;
@ -631,8 +631,8 @@
/* code 样式 */
code {
display: inline-block;
*display: inline;
*zoom: 1;
background-color: #f1f1f1;
border-radius: 3px;
padding: 3px 5px;
@ -719,8 +719,8 @@
/* code 样式 */
code {
display: inline-block;
*display: inline;
*zoom: 1;
background-color: #f1f1f1;
border-radius: 3px;
padding: 3px 5px;

View File

@ -1,7 +1,7 @@
import { pictureDisplayPath } from "@/utils/DownloadUtils";
import { getSessionUserData } from "@/utils/session";
import moment from "moment";
import { history } from 'umi';
import { history } from '@umijs/max';
/**
* 图片路径拼接
* @param filePath 图片路径