Преглед на файлове

工作室编辑页面样式

lihongxiao преди 2 години
родител
ревизия
8fa8f0bff5
променени са 2 файла, в които са добавени 22 реда и са изтрити 2 реда
  1. 21 1
      src/views/PeopleManage/Institutional.vue
  2. 1 1
      src/views/PeopleManage/UserMap.vue

+ 21 - 1
src/views/PeopleManage/Institutional.vue

@@ -530,9 +530,29 @@ export default {
   text-align: center;
 }
 .info-title {
+  position: relative;
   color: #262626;
   font-size: 18px;
-  padding: 16px 0;
+  height: 50px;
+  line-height: 50px;
+  padding-left: 10px;
+  margin-bottom: 20px;
+  border-bottom: 1px solid #eee;
+  font-weight: 600;
   font-family: PingFang SC, PingFang SC;
+  box-sizing: border-box;
+}
+.info-title::before{
+  content: "";
+  background: #D42426;
+  width: 4px;
+  height: 18px;
+  position: absolute;
+  left: 0;
+  top: 50%;
+  transform: translateY(-50%);
+  -webkit-border-radius: 10px;
+  -moz-border-radius: 10px;
+  border-radius: 10px;
 }
 </style>

+ 1 - 1
src/views/PeopleManage/UserMap.vue

@@ -83,7 +83,7 @@
           <el-tab-pane label="历史在线人数" name="2"></el-tab-pane>
         </el-tabs>
         <span style="color: #3865E9 ; cursor: pointer; font-size: 14px;position: absolute;line-height: 40px;
-    right: 30px;" @click="isCollapse = !isCollapse">{{
+    right: 30px;" @click="isCollapse = !isCollapse;if(isCollapse)infoWindowVisible=false">{{
       isCollapse ? '收起' : '展开' }} </span>
       </p>
       <div v-show="activeName == 1">