Browse Source

接口接入

scorpio 2 years ago
parent
commit
def9f4814e
2 changed files with 10 additions and 4 deletions
  1. 6 2
      src/layout/top.vue
  2. 4 2
      src/views/msg/index.vue

+ 6 - 2
src/layout/top.vue

@@ -27,9 +27,13 @@
           <div
             class="padding flex flex-align-center pointer"
             :class="dataType === 'project' ? 'black' : 'white'"
-            @click="show = true"
           >
-            <el-button icon="Search" circle color="#C1C4CB" />
+            <el-button
+              icon="Search"
+              circle
+              color="#C1C4CB"
+              @click="show = true"
+            />
 
             <el-badge :value="2" :max="99" class="ml-20">
               <el-button

+ 4 - 2
src/views/msg/index.vue

@@ -4,8 +4,10 @@
       <el-collapse v-model="activeName" accordion>
         <el-collapse-item v-for="i in 20" :name="i" :key="i">
           <template #title>
-            <div class="dot" />
-            <span>消息标题</span>
+            <div class="padding-left flex flex-align-center flex-justify-start">
+              <div class="dot" />
+              <span>消息标题</span>
+            </div>
           </template>
           <div>
             Consistent with real life: in line with the process and logic of