소스 검색

修改菜单

[plg137200.] 1 년 전
부모
커밋
805244e3f6
3개의 변경된 파일51개의 추가작업 그리고 32개의 파일을 삭제
  1. 1 0
      containers.txt
  2. 15 11
      src/renderer/components/Menu.vue
  3. 35 21
      src/renderer/components/Smart.vue

+ 1 - 0
containers.txt

@@ -0,0 +1 @@
+c4d5b5cd722c

+ 15 - 11
src/renderer/components/Menu.vue

@@ -239,7 +239,7 @@
               align="center"
               src="../assets/newImage/exit1.png"
             />  
-            <span class="exitLogin" @click="userExit" style="font-size: 10px"
+            <span class="exitLogin" @click="userExit" style="font-size: 14px"
               >退出登录</span
             >
           </div>
@@ -609,8 +609,8 @@ export default {
 </script>
 <style scoped>
 .imgStyle {
-  width: 10px;
-  height: 10px;
+  width: 14px;
+  height: 14px;
   cursor: pointer;
 }
 .exitLogin {
@@ -621,6 +621,8 @@ export default {
 }
 .el-menu-item {
   margin-left: 10px !important;
+  height:40px;
+  line-height: 40px;
 }
 
 .el-menu-item:hover {
@@ -632,24 +634,26 @@ export default {
   color: #ffffff !important;
   background-color: #ffffff !important;
   color: #04d1a7 !important;
-  border-radius: 20px;
+  border-radius: 10px;
   margin-left: 10px;
-  width: 180px;
+  width: 170px;
+  margin-top:5px;
+  margin-bottom:5px;
 }
 .el-menu-item.is-active {
   background-color: #ffffff !important;
   color: #04d1a7 !important;
-  border-radius: 20px;
+  border-radius: 10px;
   margin-left: 10px;
-  width: 180px;
+  width: 170px;
 }
 .el-menu-item:active {
   color: #ffffff !important;
   background-color: #ffffff !important;
   color: #04d1a7 !important;
-  border-radius: 20px;
+  border-radius: 10px;
   margin-left: 10px;
-  width: 180px;
+  width: 170px;
 }
 .el-menu-item {
   /* color: #ffffff !important;
@@ -657,8 +661,8 @@ export default {
   color: #04d1a7 !important;
   border-radius: 20px;
   margin-left: 10px; */
-  border-radius: 20px;
-  width: 180px;
+  border-radius: 10px;
+  width: 170px;
 }
 /* .el-menu-item:active {
   color: #ffffff !important;

+ 35 - 21
src/renderer/components/Smart.vue

@@ -47,10 +47,10 @@
         </el-col>
         <el-col :span="1">&nbsp;</el-col>
       </el-row>
-
+      <div class="smart_line_class"></div>
       <el-row v-show="inputFlag === 1" class="footSend">
-        <el-col :span="1"> &nbsp; </el-col>
-        <el-col :span="21">
+        <!-- <el-col :span="1"> &nbsp; </el-col> -->
+        <el-col :span="22">
           <el-input
             class="xl_input"
             type="textarea"
@@ -65,13 +65,15 @@
         </el-col>
         <el-col :span="2" style="">
           &nbsp;&nbsp;
+          <!-- {{sendMsgFlag}}
+            {{desc.length>0}}
+            !((!sendMsgFlag)||(desc.length>0)) -->
           <el-button
-           
-            :disabled="!sendMsgFlag"
+            :disabled="desc.length == 0"
             class="xl_d_send"
-            
             @click="sendMsg"
-          >发送</el-button>
+            >发送</el-button
+          >
         </el-col>
       </el-row>
       <el-row v-show="inputFlag === 2" class="footSendSelect">
@@ -473,7 +475,6 @@ export default {
     },
 
     sendMsg() {
-    
       this.sendMsgFlag = false;
       let contant1 = document.getElementById("contant1");
       let tmp = {
@@ -1184,15 +1185,23 @@ export default {
   position: absolute;
   height: 80px;
   margin-left: 2%;
-  /* padding-top: 20px;
-  padding-bottom: 55px; */
-  /* position: absolute;
-  width: 100%; */
   width: 90%;
+  border-radius: 14px;
   bottom: 40px;
 }
+.smart_line_class {
+  /* background: #BBC5D4; */
+  position: absolute;
+  height: 1px;
+  margin-left: 2%;
+  width: 90%;
+  border-radius: 14px;
+  bottom: 150px;
+  border-bottom:1px solid #BBC5D4;
+}
 .footSend >>> .el-textarea__inner {
   border: 0px solid #ffffff !important;
+  border-radius: 14px !important;
 }
 .footSendSelect {
   background: #ffffff;
@@ -1203,34 +1212,38 @@ export default {
   bottom: 40px;
 }
 .xl_d_send {
-  margin-top:18px;
-  color:#087B50;
-  background: #C6F0ED!important;
+  margin-top: 18px;
+  color: #087b50;
+  background: #c6f0ed !important;
   opacity: 1;
   font-size: 14px;
   font-family: PingFang SC;
   font-weight: 400;
   text-align: center;
+  border: 0px;
+  border-radius: 10px;
 }
 .xl_d_send:hover {
-   margin-top:18px;
-  color:#087B50;
-  background: #C6F0ED!important;
+  margin-top: 18px;
+  color: #087b50;
+  background: #c6f0ed !important;
   opacity: 1;
   font-size: 14px;
   font-family: PingFang SC;
   font-weight: 400;
   text-align: center;
+  border-radius: 10px;
 }
 .xl_d_send:focus {
-  margin-top:18px;
-  color:#087B50;
-  background: #C6F0ED!important;
+  margin-top: 18px;
+  color: #087b50;
+  background: #c6f0ed !important;
   opacity: 1;
   font-size: 14px;
   font-family: PingFang SC;
   font-weight: 400;
   text-align: center;
+  border-radius: 10px;
 }
 .main_right_height {
   /* padding:40px; */
@@ -1253,6 +1266,7 @@ export default {
   overflow: auto;
   /* overflow-y:hidden; */
 }
+
 /* .contant1{
  height:70vh;
   overflow:auto;