Browse Source

:art: update: lable、icon

shiqi.li 6 years ago
parent
commit
d41c861ee1
2 changed files with 3 additions and 5 deletions
  1. 3 4
      examples/page1.html
  2. 0 1
      examples/page2.html

+ 3 - 4
examples/page1.html

@@ -16,7 +16,7 @@
             overflow: hidden;
             overflow: hidden;
             position: absolute;
             position: absolute;
             height: 100%;
             height: 100%;
-            width: 90%;
+            width: 100%;
         }
         }
 
 
         #tool {
         #tool {
@@ -45,7 +45,6 @@
                 pRadius: 1000,//全景球的半径,推荐使用默认值
                 pRadius: 1000,//全景球的半径,推荐使用默认值
                 minFocalLength: 6,//镜头最小拉近距离
                 minFocalLength: 6,//镜头最小拉近距离
                 maxFocalLength: 100,//镜头最大拉近距离
                 maxFocalLength: 100,//镜头最大拉近距离
-                showlable: 'show' // show,click
             }
             }
             tp = new tpanorama(opt);
             tp = new tpanorama(opt);
         }
         }
@@ -72,7 +71,7 @@
 
 
     <div id="panoramaConianer"></div>
     <div id="panoramaConianer"></div>
 
 
-    <div id="tool">
+    <!-- <div id="tool">
         </br>
         </br>
         </br>
         </br>
         <button onclick="changeImg('p1')">图1</button>
         <button onclick="changeImg('p1')">图1</button>
@@ -84,7 +83,7 @@
         <button onclick="changeImg('p4')">图4</button>
         <button onclick="changeImg('p4')">图4</button>
         </br>
         </br>
         </br>
         </br>
-    </div>
+    </div> -->
 
 
 </body>
 </body>
 
 

+ 0 - 1
examples/page2.html

@@ -78,7 +78,6 @@
                 pRadius: 1000,//全景球的半径,推荐使用默认值
                 pRadius: 1000,//全景球的半径,推荐使用默认值
                 minFocalLength: 6,//镜头最小拉近距离
                 minFocalLength: 6,//镜头最小拉近距离
                 maxFocalLength: 100,//镜头最大拉近距离
                 maxFocalLength: 100,//镜头最大拉近距离
-                showlable: 'show' // show,click
             }
             }
             tp = new tpanorama(opt);
             tp = new tpanorama(opt);
         }
         }