chao 6 days ago
parent
commit
31c6d2aa5a

File diff suppressed because it is too large
+ 0 - 0
dist/assets/Details-6V1XseC-.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/admin-RvVYyC2T.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-0_FcoXji.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-RNV-7I0X.css


+ 2 - 2
dist/index.html

@@ -8,8 +8,8 @@
     <script>
       document.domain = "cocorobo.cn"
     </script>
-    <script type="module" crossorigin src="./assets/index--m9Q04RF.js"></script>
-    <link rel="stylesheet" crossorigin href="./assets/index-1APk666J.css">
+    <script type="module" crossorigin src="./assets/index-0_FcoXji.js"></script>
+    <link rel="stylesheet" crossorigin href="./assets/index-RNV-7I0X.css">
   </head>
   <body>
     <div id="app"></div>

+ 18 - 10
src/views/main.vue

@@ -47,9 +47,10 @@
             </div>
           </div>
         </transition>
-        <div class="container-left-show" :style="leftShow ? { width: '35px' } : { width: '240px' }"
+        <div class="container-left-show" :style="!leftShow ? { left: '200px' } : { left: '0' }"
           @click="leftShow = !leftShow">
-          <img :src="shows" alt="">
+          <span v-if="leftShow">&gt;</span>
+          <span v-else>&lt;</span>
         </div>
       </div>
       <div class="main" :style="leftShow ? { width: '100%' } : ''" v-if="activeIndex == 0">
@@ -163,7 +164,7 @@ const clickSwitch = (index) => {
   console.log('clickSwitch', activeIndex.value)
   if (index == 1 && activeIndex.value != 1) {
     loading.value = true
-    iframeRef1Url.value = `//app.cocorobo.cn/#/appManagement?userid=${user.user.userid}&oid=${user.user.organizeid}&org=${user.user.org}&role=${user.user.role}`
+    iframeRef1Url.value = `//app.cocorobo.cn/#/?userid=${user.user.userid}&oid=${user.user.organizeid}&org=${user.user.org}&role=${user.user.role}`
     setTimeout(() => {
       iframeRef1.value.onload = () => {
         loading.value = false
@@ -214,7 +215,7 @@ const clickSwitch = (index) => {
       }
       loading.value = false
     }, 100)
-  }
+  } 
   activeIndex.value = index
 }
 
@@ -240,7 +241,7 @@ const show = () => {
     width: 240px;
     background: #fff;
     overflow: hidden;
-    padding-top: 15px;
+    padding-top: 0px;
 
     .container-left-top {
       margin: 0 10px 0 10px;
@@ -271,16 +272,23 @@ const show = () => {
       }
 
     }
-
-    .container-left-show {
-      width: 240px;
+    .container-left-show{
       position: fixed;
-      bottom: 0;
+      top: 60px;
       left: 0;
+      z-index: 99;
+    }
+
+    .container-left-show span{
+      display: inline-block;
+      width: 35px;
+      height: 35px;
+      line-height: 35px;
+      text-align: center;
       border: 1px solid #E7E7E7;
       cursor: pointer;
       background-color: #fff;
-      height: 35px;
+      border-radius: 5px;
       z-index: 99;
     }
   }

Some files were not shown because too many files changed in this diff