Jelajahi Sumber

工作台页面优化

lizhenhao 2 tahun lalu
induk
melakukan
3d17c0329e
1 mengubah file dengan 5 tambahan dan 3 penghapusan
  1. 5 3
      src/views/modules/sys/dashboard/workBench/Pending.vue

+ 5 - 3
src/views/modules/sys/dashboard/workBench/Pending.vue

@@ -7,7 +7,7 @@
           <div class="page" style="height: calc(100% - 0px);">
             <div class="top bg-white" style="height: calc(100% - 10px);border: 1px solid #c8ced4;padding-top: 15px">
               <div style="height: 18px" >
-                <span>我的待办</span><el-badge class="mark" v-if="tablePage.total !== 0" :value="tablePage.total" :max="99" />
+                <span>我的待办</span><el-badge class="mark" v-if="tablePage.total !== 0" :value="tablePage.total" :max="99" style="padding: 0px 0 -7px 0"/>
                 <div style="float:right;align-items:center;display:flex;height: 18px">
                   <el-button type="text" style="float:right" @click="resetSearch()">刷新</el-button>
                   <el-button type="text" style="float:right" @click="toPendingList()">更多>></el-button>
@@ -89,7 +89,7 @@
           <div class="page" style="height: calc(100% - 0px);">
             <div class="top bg-white" style="height: calc(100% - 10px);border: 1px solid #c8ced4;padding-top: 15px">
               <div style="height: 18px" >
-                <span>我的通知</span><el-badge class="mark" v-if="noticePageList.total !== 0" :value="noticePageList.total" :max="99" />
+                <span>我的通知</span><el-badge  v-if="noticePageList.total !== 0" :value="noticePageList.total" :max="99" />
                 <div style="float:right;align-items:center;display:flex;height: 18px">
                   <el-button type="text" style="float:right" @click="toNoticeList()">更多>></el-button>
                 </div>
@@ -559,5 +559,7 @@
 </script>
 
 <style scoped>
-
+  /deep/ sup {
+    top: -.2em;
+  }
 </style>