shaogen1995 10 月之前
父節點
當前提交
2c66853ff6
共有 3 個文件被更改,包括 9 次插入41 次删除
  1. 9 8
      hot/src/views/Home.vue
  2. 0 13
      scene/public/static/images/doll_label_corner.svg
  3. 0 20
      scene/public/static/images/labelline.svg

+ 9 - 8
hot/src/views/Home.vue

@@ -205,12 +205,13 @@ export default {
   methods: {
     // 本地化 url 适配
     urlToFitFu(url) {
-      const resUrl = url;
-      if (url.includes("https://super.4dage.com")) {
-        return url.replace("https://super.4dage.com", "");
-      } else if (url.includes("http://super.4dage.com")) {
-        return url.replace("http://super.4dage.com", "");
-      } else return resUrl;
+      return url
+      // const resUrl = url;
+      // if (url.includes("https://super.4dage.com")) {
+      //   return url.replace("https://super.4dage.com", "");
+      // } else if (url.includes("http://super.4dage.com")) {
+      //   return url.replace("http://super.4dage.com", "");
+      // } else return resUrl;  
     },
 
     // 点击左右箭头
@@ -227,9 +228,9 @@ export default {
     async getData() {
       // https://www.4dmodel.com/
 
-      // let url = `https://super.4dage.com/data/${   // 线上数据
+      let url = `https://super.4dage.com/data/${   // 线上数据
 
-      let url = `/data/${
+      // let url = `/data/${
         //本地化部署
         this.id
       }/hot/js/data.js?time=${Math.random()}`;

+ 0 - 13
scene/public/static/images/doll_label_corner.svg

@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg width="6px" height="6px" viewBox="0 0 6 6" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-    <title>map_corner  </title>
-    <g id="页面-1" stroke="none" stroke-width="3" fill="none" fill-rule="evenodd">
-        <g id="展示界面-三维" transform="translate(-56.000000, -270.000000)" fill="#FFFFFF" fill-rule="nonzero">
-            <g id="编组-15" transform="translate(31.000000, 270.000000)">
-                <g id="形状结合-+-形状结合-蒙版" transform="translate(25.000000, 0.000000)">
-                    <path d="M6,6 L5,6 L5,2.705 L3.301,1 L0,1 L0,0 L3.71522641,0 L6,2.29344795 L6,6 Z" id="map_corner--" transform="translate(3.000000, 3.000000) scale(-1, 1) translate(-3.000000, -3.000000) "></path>
-                </g>
-            </g>
-        </g>
-    </g>
-</svg>

+ 0 - 20
scene/public/static/images/labelline.svg

@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg width="4px" height="60px" viewBox="0 0 4 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-    <title>map_line</title>
-    <defs>
-        <linearGradient x1="50%" y1="50%" x2="50%" y2="11.688261%" id="linearGradient-1">
-            <stop stop-color="#FFFFFF" offset="0%"></stop>
-            <stop stop-color="#FFFFFF" stop-opacity="0" offset="100%"></stop>
-            <stop stop-color="#FFFFFF" stop-opacity="0" offset="100%"></stop>
-        </linearGradient>
-    </defs>
-    <g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
-        <g id="展示界面-三维" transform="translate(-78.000000, -298.000000)" fill="url(#linearGradient-1)">
-            <g id="编组-15" transform="translate(31.000000, 270.000000)">
-                <g id="编组-14" transform="translate(25.000000, 0.000000)">
-                    <polygon id="map_line" points="22 20 26 20 23.9752968 88"></polygon>
-                </g>
-            </g>
-        </g>
-    </g>
-</svg>