tremble 3 vuotta sitten
vanhempi
commit
39881a14ff

+ 1 - 1
public/edit.html

@@ -13,7 +13,7 @@
     <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/animate/animate.min.css"/>
     <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/mCustomScrollbar/jquery.mCustomScrollbar.min.css"/>
     <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/scrollbar/perfect-scrollbar.css"/>
-    <title>四维·全景看看</title>
+    <title>全景看看作品制作工具</title>
   </head>
   <body>
     <div id="app"></div>

+ 1 - 1
src/framework/show/list.vue

@@ -267,7 +267,7 @@ export default {
   z-index: 999;
   text-align: center;
   // width: 100%;
-  max-width: 1207px;
+  max-width: 1396px;
   pointer-events: none;
   .dl {
     background: rgba(0, 0, 0, 0.3);

+ 1 - 0
src/framework/showMobile/index.vue

@@ -182,6 +182,7 @@ export default {
       }
       if (data.id == "vr") {
         this.$iosGrantedTips(data=>{
+          console.log(data);
           if (data.code==1) {
             var krpano = document.getElementById("krpanoSWFObject");
             var webvr = krpano.get("webvr");

+ 5 - 0
src/framework/showMobile/list.vue

@@ -294,6 +294,11 @@ export default {
     height: 36px;
     line-height: 36px;
     color: #fff;
+    vertical-align: middle;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    width: 120px;
     >i{
       margin-right: 8px;
       vertical-align: bottom;

+ 3 - 1
src/mixins/index.js

@@ -273,9 +273,11 @@ Vue.mixin({
           .replace(/[^0-9|_.]/gi, "")
           .replace(/_/gi, ".");
         var arr = version.split(".");
+        console.log(arr);
+        
         if (arr[0] > 12 && arr[1] > 2) {
           //对13.3以后的版本处理,包括13.3,
-          DeviceMotionEvent.requestPermission()
+          DeviceMotionEvent && DeviceMotionEvent.requestPermission()
             .then((permissionState) => {
               if (permissionState == "granted") {
                 cb({

+ 1 - 0
src/views/hotspot/hotspotType/video.vue

@@ -150,6 +150,7 @@ export default {
         position: absolute;
         top: 50%;
         left: 50%;
+        justify-content: center;
         transform: translate(-50%,-50%);
       }
     }