zengyicheng преди 3 години
родител
ревизия
f40df844f1

+ 1 - 1
dist/index.html

@@ -25,4 +25,4 @@
       height: 100%;
       width: 100%;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.32cf4dbb5ef8b1434ba0775f41912d31.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.fed1de90e0941b3846db.js></script><script type=text/javascript src=./static/js/vendor.fab7effc7bf6d4290017.js></script><script type=text/javascript src=./static/js/app.a8613d6b3839754cd06b.js></script></body></html>
+    }</style><link href=./static/css/app.75520bf52ec22de56a8f895443b854f3.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.fed1de90e0941b3846db.js></script><script type=text/javascript src=./static/js/vendor.fab7effc7bf6d4290017.js></script><script type=text/javascript src=./static/js/app.676a094b66959bacce2e.js></script></body></html>

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/css/app.32cf4dbb5ef8b1434ba0775f41912d31.css.map


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/css/app.75520bf52ec22de56a8f895443b854f3.css


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/css/app.75520bf52ec22de56a8f895443b854f3.css.map


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/app.676a094b66959bacce2e.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/app.676a094b66959bacce2e.js.map


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/app.a8613d6b3839754cd06b.js


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/app.a8613d6b3839754cd06b.js.map


Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
dist/static/js/manifest.fed1de90e0941b3846db.js.map


+ 2 - 2
src/App.vue

@@ -23,7 +23,7 @@
         </div>
       </div> -->
 		<!-- </div> -->
-		<div :class="{gHeight: $route.path == '/Grid'}">
+		<div :class="{gHeight: $route.path == '/Grid'}" style="width:100%;height:100%">
 			<!-- main 内容 -->
 			<keep-alive v-if="$route.meta.keepAlive">
 				<!-- 这里是会被缓存的视图组件 -->
@@ -204,7 +204,7 @@
 	.appNoWidth{
 		min-width: unset !important;
 		display: inline-block !important;
-		max-width: 380px;
+		min-width: 550px;
 	}
 
 	.app_head {

+ 27 - 7
src/components/pages/data.vue

@@ -1,7 +1,19 @@
 <template>
-  <div class="pb_content" style="width: 100%; max-width: 745px; height: 100%">
+  <div
+    class="pb_content"
+    style="
+      width: 100%;
+      height: 100%;
+      display: flex;
+      align-items: center;
+      justify-content: center;
+      min-height: unset;
+      min-width: unset;
+      margin: 0;
+    "
+  >
     <div class="pb_content_body" style="position: relative; width: 100%">
-      <div style="width: 55%; margin: 0 auto">
+      <div style="width: 100%; margin: 0px auto">
         <div class="formTop">
           <div class="tx">
             <img
@@ -197,8 +209,8 @@ export default {
         {
           userid: this.userid,
           username: this.ruleForm.name,
-          type:this.ruleForm.type == "老师" ? "1" : "2",
-          oid:this.ruleForm.sBySchool,
+          type: this.ruleForm.type == "老师" ? "1" : "2",
+          oid: this.ruleForm.sBySchool,
           phone: this.ruleForm.phone,
           intro: this.ruleForm.intro,
           sex: this.ruleForm.sex == "男" ? "0" : "1",
@@ -242,7 +254,7 @@ export default {
           if (res.data[0][0]) {
             res.data[0][0].sex = res.data[0][0].sex ? "女" : "男";
             this.ruleForm = res.data[0][0];
-            this.ruleForm.type = res.data[0][0].type == 1 ? "老师" : "学生"
+            this.ruleForm.type = res.data[0][0].type == 1 ? "老师" : "学生";
             console.log(res.data[0][0]);
           }
         })
@@ -264,7 +276,6 @@ export default {
   align-items: center;
   justify-content: center;
   margin: 20px 0;
-  padding-top: 35px;
 }
 .formTop >>> .el-form {
   margin: 0 auto;
@@ -303,10 +314,19 @@ export default {
   display: flex;
   align-items: center;
 }
-
+.demo-ruleForm {
+  width: 100%;
+  display: flex;
+  flex-direction: column;
+  justify-content: center;
+  align-items: center;
+}
 .demo-ruleForm >>> .el-form-item__label:before {
   content: "*";
   color: #f56c6c;
   margin-right: 4px;
 }
+.demo-ruleForm >>> .el-form-item__content{
+  width: 300px;
+}
 </style>

Някои файлове не бяха показани, защото твърде много файлове са промени