shaogen1995 1 年之前
父节点
当前提交
3a7ebc37fc

+ 1 - 1
public/index.html

@@ -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>
 

+ 2 - 2
public/model.html

@@ -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/'

+ 1 - 1
src/pages/A2VrPage/index.module.scss

@@ -12,7 +12,7 @@
     .vrBack{
       cursor: pointer;
       position: absolute;
-      top: 10px;
+      top: 50px;
       left: 40px;
       z-index: 3;
       width: 40px;

+ 2 - 1
src/pages/A3Goods/data.ts

@@ -3,4 +3,5 @@ export const type1Arr1 = [
   { id: 1, name: "陈毅旧居" },
   { id: 2, name: "张云逸旧居" },
   { id: 3, name: "新四军军部旧址纪念馆" },
-];
+  { id: 4, name: "华东野战军纪念馆" },
+];

+ 2 - 2
src/pages/A3Goods/index.module.scss

@@ -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 @@
           cursor: pointer;
           height: 50px;
           line-height: 48px;
-          padding: 0 30px;
+          padding: 0 20px;
           font-size: 20px;
           font-weight: 700;
           color: var(--themeColor);

+ 1 - 0
src/pages/A3GoodsM/data.ts

@@ -3,4 +3,5 @@ export const type1Arr1M = [
   { id: 1, name: "陈毅旧居" },
   { id: 2, name: "张云逸旧居" },
   { id: 3, name: "新四军军部旧址纪念馆" },
+  { id: 4, name: "华东野战军纪念馆" },
 ];

+ 1 - 1
src/pages/A3GoodsM/index.tsx

@@ -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}