From 65962d2fdab77a17c9ee701158b7f800be8a1575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Tue, 30 Dec 2025 08:53:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resource/softwareProject/index.scss | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/src/factory/resource/softwareProject/index.scss b/src/factory/resource/softwareProject/index.scss index c56313837..5fe764cff 100644 --- a/src/factory/resource/softwareProject/index.scss +++ b/src/factory/resource/softwareProject/index.scss @@ -294,21 +294,6 @@ flex-direction: column; cursor: pointer; - &:nth-child(3), - &:nth-child(4) { - .item-tags { - border: none; - background: rgba(255, 255, 255, 0.84); - - div { - opacity: 0.13; - width: 6px; - height: 6px; - background: #5d6a80; - } - } - } - div:nth-child(1) { height: 100%; display: flex; @@ -373,21 +358,6 @@ // 最后两个元素添加margin-bottom: 28px; &:nth-last-child(-n+2) { margin-bottom: 0; - - .item-tag { - background: rgba(255, 255, 255, 0.84); - color: #091221; - } - - .item-desc { - color: #ffffff; - } - - .item-data { - span { - color: #ffffff - } - } } &:hover { From 615c6dcf2fbe91548d88a28c2b13fc6ca8015d2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Tue, 30 Dec 2025 10:03:45 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=83=A8=E5=88=86=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/factory/components/Resource2/index.jsx | 4 ++-- src/factory/news/detail/index.jsx | 4 +--- src/factory/news/index.jsx | 6 +++--- src/factory/resource/developmentTools/detail/index.jsx | 2 +- src/factory/scene/index.jsx | 1 + 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/factory/components/Resource2/index.jsx b/src/factory/components/Resource2/index.jsx index 330aaaa0b..df0c61126 100644 --- a/src/factory/components/Resource2/index.jsx +++ b/src/factory/components/Resource2/index.jsx @@ -6,7 +6,7 @@ import KFIcon from '../../../components/KFIcon'; import back1 from '../../../images/factory/back1.png' import tagIcon from '../../../images/factory/lessons-tag-icon.webp' import '../../common.scss' -import { getSourceList } from '../../api' +import { getSourceList, httpUrl } from '../../api'; import { factoryZoneId, manualId, standardId, lessonId } from '../../../constants/factory' import { downloadFunc } from '../../../forge/Utils/utils' @@ -108,7 +108,7 @@ const Resource2 = forwardRef(({ zoneId }, ref) => {

{ item.name }

{item.summary}

- +
}) diff --git a/src/factory/news/detail/index.jsx b/src/factory/news/detail/index.jsx index 70efef525..30e7a4283 100644 --- a/src/factory/news/detail/index.jsx +++ b/src/factory/news/detail/index.jsx @@ -1,14 +1,12 @@ import React, { useEffect, useState, useRef } from 'react'; import './index.scss'; import { TPMIndexHOC } from '../../../modules/tpm/TPMIndexHOC'; -import imageBack1 from '../../../images/factory/news/news-default.webp' -import { Link } from 'react-router-dom'; import RenderHtml from '../../../components/render-html'; import { Breadcrumb } from 'antd'; import { getNewsDetail } from '../../api'; import headerMp4 from '../../../images/factory/news/detail-head-bg.mp4'; import { getDefaultImage } from '../../../forge/Utils/utils' - +import { Base64 } from 'js-base64'; function Index(props) { diff --git a/src/factory/news/index.jsx b/src/factory/news/index.jsx index 1318ab6b6..cadf06866 100644 --- a/src/factory/news/index.jsx +++ b/src/factory/news/index.jsx @@ -120,7 +120,7 @@ function Index(props) { {/* 左边:前一项的图片 */}
@@ -128,7 +128,7 @@ function Index(props) { {/* 中间:当前项的图片 */}
@@ -136,7 +136,7 @@ function Index(props) { {/* 右边:后一项的图片 */}
diff --git a/src/factory/resource/developmentTools/detail/index.jsx b/src/factory/resource/developmentTools/detail/index.jsx index 019d45a46..b6790621c 100644 --- a/src/factory/resource/developmentTools/detail/index.jsx +++ b/src/factory/resource/developmentTools/detail/index.jsx @@ -11,7 +11,7 @@ import { getSourceDetail, httpUrl, getSourceList } from '../../../api'; import { downloadFunc } from '../../../../forge/Utils/utils' import { factoryZoneId, } from '../../../../constants/factory' import '../../../common.scss' - +import { Base64 } from 'js-base64'; function Index(props) { diff --git a/src/factory/scene/index.jsx b/src/factory/scene/index.jsx index e24c8c39e..04c556fc5 100644 --- a/src/factory/scene/index.jsx +++ b/src/factory/scene/index.jsx @@ -8,6 +8,7 @@ import RenderHtml from '../../components/render-html'; import { Breadcrumb } from 'antd'; import { getSourceDetail, getSourceList } from '../api' import { factoryZoneId, sceneId } from '../../constants/factory' +import { Base64 } from 'js-base64'; function Index(props) { const id = props.match.params.sceneId