@@ -12,7 +12,7 @@
<!-- 本地开发 -->
- <script src="http://192.168.20.55:8080/data.js"></script>
+ <script src="http://127.0.0.1:8080/staticData/data.js"></script>
<!-- 打包配置 -->
<script src="./staticData/data.js"></script>
@@ -41,9 +41,9 @@
let src = ''
- if (window.location.href.includes('localhost:')) {
+ if (window.location.href.includes('http://')) {
// 本地环境
- src = 'http://192.168.20.55:8080/'
+ src = 'http://127.0.0.1:8080/staticData/'
} else {
// 正式环境
src = './staticData/'
.vrBack{
cursor: pointer;
position: absolute;
- top: 10px;
+ top: 50px;
left: 40px;
z-index: 3;
width: 40px;
@@ -3,4 +3,5 @@ export const type1Arr1 = [
{ id: 1, name: "陈毅旧居" },
{ id: 2, name: "张云逸旧居" },
{ id: 3, name: "新四军军部旧址纪念馆" },
-];
+ { id: 4, name: "华东野战军纪念馆" },
+];
@@ -23,7 +23,7 @@
.A3leftBox {
border-radius: 25px;
- width: 662px;
+ width: 782px;
height: 50px;
display: flex;
background-color: rgba(255, 255, 255, .9);
@@ -32,7 +32,7 @@
line-height: 48px;
- padding: 0 30px;
+ padding: 0 20px;
font-size: 20px;
font-weight: 700;
color: var(--themeColor);
@@ -3,4 +3,5 @@ export const type1Arr1M = [
];
@@ -170,7 +170,7 @@ function A3GoodsM() {
}))}
/>
</div>
- <div className="A3Gtop1_1" hidden={type2Arr.length <= 1}>
+ <div className="A3Gtop1_1">
<Select
style={{ width: "100%" }}
value={type2}