|
|
@@ -17,7 +17,7 @@ import { RootState } from "@/store";
|
|
|
import ImageLazy from "@/components/ImageLazy";
|
|
|
import { Goods } from "@/types";
|
|
|
// import lookImg from "@/assets/img/look.png";
|
|
|
-import toTopImg from "@/assets/img/toTop.png";
|
|
|
+import { UpOutlined } from "@ant-design/icons";
|
|
|
import GoodsInfoM from "./GoodsInfoM";
|
|
|
|
|
|
function A3GoodsM() {
|
|
|
@@ -81,7 +81,7 @@ function A3GoodsM() {
|
|
|
if (scrollRef.current) {
|
|
|
scrollRef.current.scrollTop = 0;
|
|
|
window.setTimeout(() => {
|
|
|
- if (scrollRef.current) scrollRef.current.scrollTop = 6;
|
|
|
+ if (scrollRef.current) scrollRef.current.scrollTop = 1;
|
|
|
}, 100);
|
|
|
}
|
|
|
}, []);
|
|
|
@@ -207,7 +207,10 @@ function A3GoodsM() {
|
|
|
|
|
|
{/* 返回顶部 */}
|
|
|
<div className="A3ToTop" hidden={!scrollShow} onClick={fullTopFu}>
|
|
|
- <img src={toTopImg} alt="" />
|
|
|
+ <div className="A3ToTop1">
|
|
|
+ <UpOutlined rev={undefined} />
|
|
|
+ </div>
|
|
|
+ <div className="A3ToTop2">回到顶部</div>
|
|
|
</div>
|
|
|
|
|
|
{/* 查看文物详情 */}
|