@@ -8,7 +8,7 @@
<meta name="description" content="Web site created using create-react-app" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
- <title>React版大场景</title>
+ <title>海南省博物馆-物华天宝黎海琼珍</title>
<!-- 大场景相关 -->
<link rel="stylesheet" href="./css/oldVer/main0.css" />
@@ -24,6 +24,7 @@
// 样式重置
.pinBottom.left {
+ width: fit-content;
background-color: transparent;
left: 20px;
}
@@ -26,6 +26,8 @@ function A2main() {
useEffect(() => {
http.get(`https://count.4dage.com/api/count/detail/${sceneCode}`).then(res => {
setLikeNum(res.data.starSum!)
+ })
+ http.get(`https://count.4dage.com/api/count/saveVisit/${sceneCode}`).then(res => {
setViewNum(res.data.visitSum!)
})
}, [])
@@ -98,7 +98,7 @@
.A3close {
width: 100%;
- height: 20px;
+ height: 40px;
background-color: rgba(148, 113, 76, 0.9);
border-top: 1px solid rgba(43, 31, 23, 0.1);
img {