|
@@ -8,6 +8,7 @@ import styles from "./index.module.scss";
|
|
import { baseURL } from "@/utils/http";
|
|
import { baseURL } from "@/utils/http";
|
|
import { useLocation } from "react-router-dom";
|
|
import { useLocation } from "react-router-dom";
|
|
import { getModelInfo } from "@/store/action/home";
|
|
import { getModelInfo } from "@/store/action/home";
|
|
|
|
+import classNames from "classnames";
|
|
|
|
|
|
export default function ModelM() {
|
|
export default function ModelM() {
|
|
const location = useLocation();
|
|
const location = useLocation();
|
|
@@ -63,7 +64,12 @@ export default function ModelM() {
|
|
};
|
|
};
|
|
|
|
|
|
return (
|
|
return (
|
|
- <div className={styles.ModelM}>
|
|
|
|
|
|
+ <div
|
|
|
|
+ className={classNames(
|
|
|
|
+ styles.ModelM,
|
|
|
|
+ info.isDetail === 0 ? "nullRightTxtH5" : ""
|
|
|
|
+ )}
|
|
|
|
+ >
|
|
{/* 音频 */}
|
|
{/* 音频 */}
|
|
{info.audioPath ? (
|
|
{info.audioPath ? (
|
|
<audio src={baseURL + info.audioPath} ref={musicRef}></audio>
|
|
<audio src={baseURL + info.audioPath} ref={musicRef}></audio>
|