update
@ -1,2 +1,4 @@
|
||||
NEXT_PUBLIC_ADMIN_BASE_URL=http://101.34.131.16:8082/api
|
||||
NEXT_PUBLIC_FRONT_BASE_URL=http://101.34.131.16:8084/api
|
||||
NEXT_PUBLIC_ADMIN_BASE_URL=http://localhost:8082/api
|
||||
NEXT_PUBLIC_FRONT_BASE_URL=http://localhost:8084/api
|
||||
NEXT_PUBLIC_CLIENT_BASE_URL=/api
|
||||
NEXT_PUBLIC_CLIENT_ADMIN_BASE_URL=/admin-api
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
|
||||
const Layout = ({
|
||||
children,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleRender from "@/app/components/ArticleRender";
|
||||
import { articleDetail } from "@/app/api/articles";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
import ArticleRender from "@/app/_components/ArticleRender";
|
||||
import { articleDetail } from "@/app/_services/articles";
|
||||
|
||||
const Page = async ({
|
||||
params,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
import { navigations } from "@/app/(articles)/academic-exchange/academic-events/pages/[pageIndex]/config";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleList from "@/app/components/ArticleList";
|
||||
import ArticleList from "@/app/_components/ArticleList";
|
||||
|
||||
const Page = ({
|
||||
params,
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
|
||||
const Layout = ({
|
||||
children,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { articleDetail } from "@/app/api/articles";
|
||||
import ArticleRender from "@/app/components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import { articleDetail } from "@/app/_services/articles";
|
||||
import ArticleRender from "@/app/_components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
export default async function Article({
|
||||
params,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleList from "@/app/components/ArticleList";
|
||||
import ArticleList from "@/app/_components/ArticleList";
|
||||
|
||||
const Page = async ({
|
||||
params,
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
|
||||
const Layout = ({
|
||||
children,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { articleDetail } from "@/app/api/articles";
|
||||
import ArticleRender from "@/app/components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import { articleDetail } from "@/app/_services/articles";
|
||||
import ArticleRender from "@/app/_components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
export default async function Article({
|
||||
params,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import ArticleList from "@/app/components/ArticleList";
|
||||
import ArticleList from "@/app/_components/ArticleList";
|
||||
|
||||
const Page = ({
|
||||
params,
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
|
||||
const Layout = ({
|
||||
children,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { articleDetail } from "@/app/api/articles";
|
||||
import ArticleRender from "@/app/components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import { articleDetail } from "@/app/_services/articles";
|
||||
import ArticleRender from "@/app/_components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
export default async function Article({
|
||||
params,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import ArticleList from "@/app/components/ArticleList";
|
||||
import ArticleList from "@/app/_components/ArticleList";
|
||||
|
||||
const Page = ({
|
||||
params,
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
|
||||
const Layout = ({
|
||||
children,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { articleDetail } from "@/app/api/articles";
|
||||
import ArticleRender from "@/app/components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import { articleDetail } from "@/app/_services/articles";
|
||||
import ArticleRender from "@/app/_components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
export default async function Article({
|
||||
params,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import Breadcrumb, { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import Breadcrumb, { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleList from "@/app/components/ArticleList";
|
||||
import ArticleList from "@/app/_components/ArticleList";
|
||||
|
||||
const Page = ({
|
||||
params,
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
|
||||
const Layout = ({
|
||||
children,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { articleDetail } from "@/app/api/articles";
|
||||
import ArticleRender from "@/app/components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import { articleDetail } from "@/app/_services/articles";
|
||||
import ArticleRender from "@/app/_components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
export default async function Article({
|
||||
params,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import Breadcrumb, { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import Breadcrumb, { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleList from "@/app/components/ArticleList";
|
||||
import ArticleList from "@/app/_components/ArticleList";
|
||||
|
||||
const Page = ({
|
||||
params,
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
|
||||
const Layout = ({
|
||||
children,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { articleDetail } from "@/app/api/articles";
|
||||
import ArticleRender from "@/app/components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import { articleDetail } from "@/app/_services/articles";
|
||||
import ArticleRender from "@/app/_components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
export default async function ResearchProgress({
|
||||
params,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import Breadcrumb, { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import Breadcrumb, { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleList from "@/app/components/ArticleList";
|
||||
import ArticleList from "@/app/_components/ArticleList";
|
||||
|
||||
const Page = ({
|
||||
params,
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ReactNode } from "react";
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
|
||||
const Layout = ({
|
||||
children,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { articleDetail } from "@/app/api/articles";
|
||||
import ArticleRender from "@/app/components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import { articleDetail } from "@/app/_services/articles";
|
||||
import ArticleRender from "@/app/_components/ArticleRender";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
export default async function Page({
|
||||
params,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import Breadcrumb, { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import Breadcrumb, { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
import { ReactNode } from "react";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleList from "@/app/components/ArticleList";
|
||||
import ArticleList from "@/app/_components/ArticleList";
|
||||
|
||||
const Page = ({
|
||||
params,
|
||||
|
@ -1,6 +1,6 @@
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
import { ReactNode } from "react";
|
||||
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,6 +1,6 @@
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
import { ReactNode } from "react";
|
||||
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,6 +1,6 @@
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
import { ReactNode } from "react";
|
||||
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,6 +1,6 @@
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
import { ReactNode } from "react";
|
||||
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
import { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import { ReactNode } from "react";
|
||||
import { navigations } from "@/app/(introduce)/achievements-transformation/config";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
import { ReactNode } from "react";
|
||||
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,6 +1,6 @@
|
||||
import ArticleWithBreadcrumb from "@/app/components/ArticleWithBreadcrumb";
|
||||
import ArticleWithBreadcrumb from "@/app/_components/ArticleWithBreadcrumb";
|
||||
import { ReactNode } from "react";
|
||||
import { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb: BreadcrumbItem[] = [
|
||||
{ title: "首页", href: "/" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,6 +1,6 @@
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import { ReactNode } from "react";
|
||||
|
||||
const navigations = [
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
@ -6,7 +6,7 @@ const Page = () => {
|
||||
<ArticleHeading text={"组织架构"} />
|
||||
<img
|
||||
className={"w-full"}
|
||||
src={`${process.env.NEXT_PUBLIC_ADMIN_BASE_URL}/uploads/image/20231030/5c0b98dc-cf76-49c3-a510-f2f197f7dd09.jpeg`}
|
||||
src={`${process.env.NEXT_PUBLIC_CLIENT_ADMIN_BASE_URL}/uploads/image/20231030/5c0b98dc-cf76-49c3-a510-f2f197f7dd09.jpeg`}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import { ReactNode } from "react";
|
||||
import { navigations } from "@/app/(introduce)/organization/(generally)/config";
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,5 +1,5 @@
|
||||
import Image from "next/image";
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
@ -8,7 +8,7 @@ const Page = () => {
|
||||
<p className={"text-center text-base"}>中科院院士</p>
|
||||
<p className={"mt-2 flex justify-center"}>
|
||||
<img
|
||||
src={`${process.env.NEXT_PUBLIC_ADMIN_BASE_URL}/uploads/image/20231030/8d05e613-e2c6-47d1-81a9-08bd70b8ba73.jpeg`}
|
||||
src={`${process.env.NEXT_PUBLIC_CLIENT_ADMIN_BASE_URL}/uploads/image/20231030/8d05e613-e2c6-47d1-81a9-08bd70b8ba73.jpeg`}
|
||||
alt={"张景中"}
|
||||
/>
|
||||
</p>
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleLayout from "@/app/components/ArticleLayout";
|
||||
import ArticleLayout from "@/app/_components/ArticleLayout";
|
||||
import { ReactNode } from "react";
|
||||
import { navigations } from "@/app/(introduce)/talents/config";
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,6 +1,6 @@
|
||||
import styles from "./page.module.scss";
|
||||
import Link from "next/link";
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const academicians = [
|
||||
{
|
||||
@ -59,7 +59,7 @@ const Page = () => {
|
||||
>
|
||||
<img
|
||||
className={"h-[138px]"}
|
||||
src={`${process.env.NEXT_PUBLIC_ADMIN_BASE_URL}${academician.picture}`}
|
||||
src={`${process.env.NEXT_PUBLIC_CLIENT_ADMIN_BASE_URL}${academician.picture}`}
|
||||
/>
|
||||
<Link href={academician.link}>{academician.name}</Link>
|
||||
</div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb from "@/app/_components/Breadcrumb";
|
||||
|
||||
const breadcrumb = [
|
||||
{ href: "/", title: "首页" },
|
||||
|
@ -1,5 +1,5 @@
|
||||
import Link from "next/link";
|
||||
import ArticleHeading from "@/app/components/ArticleHeading";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const academicians = [
|
||||
{
|
||||
@ -28,7 +28,7 @@ const Page = () => {
|
||||
>
|
||||
<img
|
||||
className={"h-[138px]"}
|
||||
src={`${process.env.NEXT_PUBLIC_ADMIN_BASE_URL}${academician.picture}`}
|
||||
src={`${process.env.NEXT_PUBLIC_CLIENT_ADMIN_BASE_URL}${academician.picture}`}
|
||||
/>
|
||||
<Link href={academician.link}>{academician.name}</Link>
|
||||
</div>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
@ -1,5 +1,5 @@
|
||||
"use client";
|
||||
import React, { useEffect } from "react";
|
||||
import React, { useEffect, useRef } from "react";
|
||||
|
||||
import Swiper from "swiper";
|
||||
import { Pagination, EffectCoverflow, Autoplay } from "swiper/modules";
|
||||
@ -10,12 +10,12 @@ import "swiper/css/pagination";
|
||||
import "swiper/css/effect-coverflow";
|
||||
import "swiper/css/autoplay";
|
||||
|
||||
const albums = [
|
||||
const data = [
|
||||
{
|
||||
id: 28,
|
||||
cid: 3,
|
||||
name: "ah9.jpeg",
|
||||
path: "/uploads/image/20231101/99c2f8c3-aba8-4872-a9b9-dfbcf128c062.jpeg",
|
||||
path: "api/uploads/image/20231101/99c2f8c3-aba8-4872-a9b9-dfbcf128c062.jpeg",
|
||||
uri: "http://localhost:8082/api/uploads/image/20231101/99c2f8c3-aba8-4872-a9b9-dfbcf128c062.jpeg",
|
||||
ext: "jpeg",
|
||||
size: "40KB",
|
||||
@ -26,7 +26,7 @@ const albums = [
|
||||
id: 27,
|
||||
cid: 3,
|
||||
name: "ah7.jpeg",
|
||||
path: "/uploads/image/20231101/aba2a38f-ee62-4730-af7a-5b8933ed7497.jpeg",
|
||||
path: "api/uploads/image/20231101/aba2a38f-ee62-4730-af7a-5b8933ed7497.jpeg",
|
||||
uri: "http://localhost:8082/api/uploads/image/20231101/aba2a38f-ee62-4730-af7a-5b8933ed7497.jpeg",
|
||||
ext: "jpeg",
|
||||
size: "4KB",
|
||||
@ -37,8 +37,8 @@ const albums = [
|
||||
id: 26,
|
||||
cid: 3,
|
||||
name: "ah8.jpeg",
|
||||
path: "/uploads/image/20231101/63523f59-9b59-40d1-a654-c4678f8a1913.jpeg",
|
||||
uri: `http://localhost:8082/api/uploads/image/20231101/63523f59-9b59-40d1-a654-c4678f8a1913.jpeg`,
|
||||
path: "api/uploads/image/20231101/63523f59-9b59-40d1-a654-c4678f8a1913.jpeg",
|
||||
uri: "http://localhost:8082/api/uploads/image/20231101/63523f59-9b59-40d1-a654-c4678f8a1913.jpeg",
|
||||
ext: "jpeg",
|
||||
size: "29KB",
|
||||
createTime: "2023-11-01 10:40:15",
|
||||
@ -48,8 +48,8 @@ const albums = [
|
||||
id: 25,
|
||||
cid: 3,
|
||||
name: "ah2.jpeg",
|
||||
path: "/uploads/image/20231101/5bedf085-841a-48cc-bca2-9c9b2c751b48.jpeg",
|
||||
uri: `http://localhost:8082/api/uploads/image/20231101/5bedf085-841a-48cc-bca2-9c9b2c751b48.jpeg`,
|
||||
path: "api/uploads/image/20231101/5bedf085-841a-48cc-bca2-9c9b2c751b48.jpeg",
|
||||
uri: "http://localhost:8082/api/uploads/image/20231101/5bedf085-841a-48cc-bca2-9c9b2c751b48.jpeg",
|
||||
ext: "jpeg",
|
||||
size: "26KB",
|
||||
createTime: "2023-11-01 10:40:15",
|
||||
@ -59,7 +59,7 @@ const albums = [
|
||||
id: 24,
|
||||
cid: 3,
|
||||
name: "ah5.jpeg",
|
||||
path: "/uploads/image/20231101/2f19a501-89f7-4f78-9487-096a3799736d.jpeg",
|
||||
path: "api/uploads/image/20231101/2f19a501-89f7-4f78-9487-096a3799736d.jpeg",
|
||||
uri: "http://localhost:8082/api/uploads/image/20231101/2f19a501-89f7-4f78-9487-096a3799736d.jpeg",
|
||||
ext: "jpeg",
|
||||
size: "22KB",
|
||||
@ -70,7 +70,7 @@ const albums = [
|
||||
id: 23,
|
||||
cid: 3,
|
||||
name: "ah6.jpeg",
|
||||
path: "/uploads/image/20231101/70f4bea2-77a4-4595-a3a5-5c60711afae6.jpeg",
|
||||
path: "api/uploads/image/20231101/70f4bea2-77a4-4595-a3a5-5c60711afae6.jpeg",
|
||||
uri: "http://localhost:8082/api/uploads/image/20231101/70f4bea2-77a4-4595-a3a5-5c60711afae6.jpeg",
|
||||
ext: "jpeg",
|
||||
size: "22KB",
|
||||
@ -81,7 +81,7 @@ const albums = [
|
||||
id: 22,
|
||||
cid: 3,
|
||||
name: "ah3.jpeg",
|
||||
path: "/uploads/image/20231101/82309b4a-22e8-4b06-8e9d-d2b114ef3aad.jpeg",
|
||||
path: "api/uploads/image/20231101/82309b4a-22e8-4b06-8e9d-d2b114ef3aad.jpeg",
|
||||
uri: "http://localhost:8082/api/uploads/image/20231101/82309b4a-22e8-4b06-8e9d-d2b114ef3aad.jpeg",
|
||||
ext: "jpeg",
|
||||
size: "14KB",
|
||||
@ -92,7 +92,7 @@ const albums = [
|
||||
id: 21,
|
||||
cid: 3,
|
||||
name: "ah1.jpeg",
|
||||
path: "/uploads/image/20231101/5e3a02dc-2c7c-4671-9151-79315a53a3d2.jpeg",
|
||||
path: "api/uploads/image/20231101/5e3a02dc-2c7c-4671-9151-79315a53a3d2.jpeg",
|
||||
uri: "http://localhost:8082/api/uploads/image/20231101/5e3a02dc-2c7c-4671-9151-79315a53a3d2.jpeg",
|
||||
ext: "jpeg",
|
||||
size: "9KB",
|
||||
@ -103,7 +103,7 @@ const albums = [
|
||||
id: 20,
|
||||
cid: 3,
|
||||
name: "ah4.jpeg",
|
||||
path: "/uploads/image/20231101/106409ac-e454-47f2-a383-8ea572718b3d.jpeg",
|
||||
path: "api/uploads/image/20231101/106409ac-e454-47f2-a383-8ea572718b3d.jpeg",
|
||||
uri: "http://localhost:8082/api/uploads/image/20231101/106409ac-e454-47f2-a383-8ea572718b3d.jpeg",
|
||||
ext: "jpeg",
|
||||
size: "31KB",
|
||||
@ -111,11 +111,12 @@ const albums = [
|
||||
updateTime: "2023-11-01 10:40:15",
|
||||
},
|
||||
];
|
||||
|
||||
const AnhuiSwiper = () => {
|
||||
const swiperRef = useRef<HTMLDivElement>(null);
|
||||
useEffect(() => {
|
||||
let swiper: Swiper | null = null;
|
||||
swiper = new Swiper(".swiper", {
|
||||
if (swiperRef.current && data) {
|
||||
swiper = new Swiper(swiperRef.current, {
|
||||
modules: [Pagination, EffectCoverflow, Autoplay],
|
||||
autoplay: {
|
||||
delay: 2000,
|
||||
@ -128,11 +129,12 @@ const AnhuiSwiper = () => {
|
||||
dynamicBullets: true,
|
||||
},
|
||||
});
|
||||
}
|
||||
return () => {
|
||||
swiper?.destroy();
|
||||
swiper = null;
|
||||
};
|
||||
}, []);
|
||||
}, [data]);
|
||||
return (
|
||||
<div className={"flex h-[205px] flex-col bg-white"}>
|
||||
<div
|
||||
@ -143,13 +145,15 @@ const AnhuiSwiper = () => {
|
||||
安徽风采
|
||||
</div>
|
||||
<div className={"h-0 flex-1"}>
|
||||
<div className={"swiper h-full"}>
|
||||
<div ref={swiperRef} className={"swiper h-full"}>
|
||||
<div className={"swiper-wrapper"}>
|
||||
{albums.map((el) => (
|
||||
{data.map((el) => (
|
||||
<div className={"swiper-slide"} key={el.id}>
|
||||
<img
|
||||
className={"h-full w-full object-contain"}
|
||||
src={`${process.env.NEXT_PUBLIC_ADMIN_BASE_URL}${el.path}`}
|
||||
src={`${
|
||||
process.env.NEXT_PUBLIC_CLIENT_ADMIN_BASE_URL
|
||||
}${el.path.replace(/^api/, "")}`}
|
||||
alt={""}
|
||||
/>
|
||||
</div>
|
@ -1,9 +1,9 @@
|
||||
import Image from "next/image";
|
||||
import trumpetIcon from "@/app/assets/trumpet-icon.png";
|
||||
import styles from "@/app/assets/page.module.css";
|
||||
import trumpetIcon from "@/app/_assets/trumpet-icon.png";
|
||||
import styles from "@/app/_assets/page.module.css";
|
||||
import Link from "next/link";
|
||||
import request from "@/app/lib/request";
|
||||
import { listArticles } from "@/app/api/articles";
|
||||
import request from "@/app/_lib/request";
|
||||
import { listArticles } from "@/app/_services/articles";
|
||||
import dayjs from "dayjs";
|
||||
|
||||
interface ArticleLink {
|
@ -1,4 +1,4 @@
|
||||
import LeftNav from "@/app/components/LeftNav";
|
||||
import LeftNav from "@/app/_components/LeftNav";
|
||||
import { ReactNode } from "react";
|
||||
|
||||
const ArticleLayout = ({
|
@ -1,8 +1,8 @@
|
||||
import React from "react";
|
||||
import { listArticles } from "@/app/api/articles";
|
||||
import { listArticles } from "@/app/_services/articles";
|
||||
import styles from "./ArticleList.module.scss";
|
||||
import Link from "next/link";
|
||||
import Pagination from "@/app/components/Pagination";
|
||||
import Pagination from "@/app/_components/Pagination";
|
||||
import dayjs from "dayjs";
|
||||
|
||||
const ArticleList = async ({
|
46
app/_components/ArticleRender.tsx
Normal file
@ -0,0 +1,46 @@
|
||||
import { ArticleDetail } from "@/app/_types/article";
|
||||
import Link from "next/link";
|
||||
import ArticleHeading from "@/app/_components/ArticleHeading";
|
||||
|
||||
const ArticleRender = ({ article }: { article: ArticleDetail }) => {
|
||||
return (
|
||||
<div className={"h-full"}>
|
||||
<ArticleHeading text={article.title} />
|
||||
<div dangerouslySetInnerHTML={{ __html: article.content }}></div>
|
||||
<div className={"bottom-nav mb-[50px] mt-[27px]"}>
|
||||
<div className={"prev"}>
|
||||
<span className={"text-base"}>上一篇</span>
|
||||
{article.prev ? (
|
||||
<Link
|
||||
className={"ml-8 text-sm text-[#666]"}
|
||||
href={`./${article.prev?.id}`}
|
||||
>
|
||||
{article.prev.title}
|
||||
</Link>
|
||||
) : (
|
||||
<span className={"ml-8 cursor-not-allowed text-sm text-[#666]"}>
|
||||
没有了
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
<div className={"next mt-8"}>
|
||||
<span className={"text-base"}>下一篇</span>
|
||||
{article.next ? (
|
||||
<Link
|
||||
className={"ml-8 text-sm text-[#666]"}
|
||||
href={`./${article.next?.id}`}
|
||||
>
|
||||
{article.next.title}
|
||||
</Link>
|
||||
) : (
|
||||
<span className={"ml-8 cursor-not-allowed text-sm text-[#666]"}>
|
||||
没有了
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ArticleRender;
|
@ -1,5 +1,5 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import Breadcrumb, { BreadcrumbItem } from "@/app/components/Breadcrumb";
|
||||
import Breadcrumb, { BreadcrumbItem } from "@/app/_components/Breadcrumb";
|
||||
|
||||
const ArticleWithBreadcrumb = ({
|
||||
breadcrumb,
|