shaogen1995 3 år sedan
förälder
incheckning
76370c9910

+ 1 - 1
houtai/src/views/tab2/index.vue

@@ -49,7 +49,7 @@
           </el-table-column>
           <el-table-column label="操作">
             <template #default="{ row }">
-              <el-button type="text" @click="editUser(row)">修改</el-button>
+              <el-button type="text" @click="editUser(row)">{{row.isAdmin===1?'编辑':'编辑 / 授权'}}</el-button>
               <el-button
                 v-if="row.isAdmin !== 1"
                 type="text"

+ 3 - 1
webM/src/components/five.vue

@@ -206,9 +206,11 @@ export default {
   }
   // 点击详情出来的弹窗
   .detailBox {
+    max-width: 500px;
     position: fixed;
     top: 0;
-    left: 0;
+    left: 50%;
+    transform: translateX(-50%);
     width: 100%;
     height: 100%;
     z-index: 999;

+ 3 - 2
webM/src/components/six.vue

@@ -234,9 +234,11 @@ export default {
   }
   // 点击详情出来的弹窗
   .detailBox {
+    max-width: 500px;
     position: fixed;
     top: 0;
-    left: 0;
+    left: 50%;
+    transform: translateX(-50%);
     width: 100%;
     height: 100%;
     z-index: 999;
@@ -261,7 +263,6 @@ export default {
       height: calc(100% - 60px);
       background-color: rgba(0, 0, 0, 0.8);
       padding: 0 25px;
-
       .detailClose {
         position: absolute;
         right: 16px;

+ 8 - 5
webM/src/views/info/index.vue

@@ -59,9 +59,9 @@
 import Son1 from "./component/son1.vue";
 import Son2 from "./component/son2.vue";
 import Son3 from "./component/son3.vue";
-import Son4 from "./component/son4";
-import Son5 from "./component/son5";
-import Son6 from "./component/son6";
+import Son4 from "./component/son4.vue";
+import Son5 from "./component/son5.vue";
+import Son6 from "./component/son6.vue";
 import { getTreeMenuApi } from "@/utils/api";
 export default {
   name: "info",
@@ -117,8 +117,8 @@ export default {
         this.meanShow = false;
         return
       }
-      let dom = document.querySelector(".rowBox");
-      dom.scrollTo({ top: 0 });
+      // let dom = document.querySelector(".rowBox");
+      // dom.scrollTo({ top: 0 });
       this.topDataInd = id;
       this.leftData = val;
       this.pageInd = 0;
@@ -148,9 +148,12 @@ export default {
 </script>
 <style lang='less' scoped>
 .info {
+  position: relative;
   width: 100vw;
   height: 100vh;
   padding-top: 46px;
+  max-width: 500px;
+  margin: 0 auto;
   // 主要内容盒子
   .mainBox {
     overflow: hidden;

+ 3 - 0
webM/src/views/stair/index.vue

@@ -121,6 +121,9 @@ export default {
 </script>
 <style lang='less' scoped>
 .stair {
+  position: relative;
+  max-width: 500px;
+  margin: 0 auto;
   padding: 10px 0 0 3px;
   width: 100vw;
   height: 100vh;