scorpio 2 years ago
parent
commit
cdf14fb236

+ 1 - 7
src/views/dash/compoents/agency.vue

@@ -1,13 +1,7 @@
 <template>
 <template>
   <div class="full-width flex flex-col">
   <div class="full-width flex flex-col">
     <div class="bold font-16 full-width text-left">{{ title }}</div>
     <div class="bold font-16 full-width text-left">{{ title }}</div>
-    <div class="flex flex-center flex-justify-between mt-15" v-for="item in 6">
-      <div>hhhhhhhhhhhhhhhhhhhhhhh dddddddfghjj</div>
-      <div class="flex flex-center">
-        <span class="mr-20 grey-9 font-13">2023-09-23 12:34</span>
-        <div class="read">已读</div>
-      </div>
-    </div>
+    <el-empty class="padding-bottom" description="暂无数据"></el-empty>
   </div>
   </div>
 </template>
 </template>
 
 

+ 4 - 11
src/views/dash/compoents/notice.vue

@@ -7,8 +7,7 @@
       <ul :class="{ marquee_top: animate }">
       <ul :class="{ marquee_top: animate }">
         <li v-for="(item, index) in msg" :key="index">
         <li v-for="(item, index) in msg" :key="index">
           <span class="main-color">
           <span class="main-color">
-            <span>{{ item.name }}抢得商品{{ item.goods }}</span>
-            <span>已有123人申请</span>
+            <span>{{ item.title }}</span>
           </span>
           </span>
         </li>
         </li>
       </ul>
       </ul>
@@ -23,16 +22,10 @@ export default {
     return {
     return {
       msg: [
       msg: [
         {
         {
-          name: '张**',
-          goods: '牙膏'
+          title: '系统更新公告'
         },
         },
         {
         {
-          name: '王**',
-          goods: '牙刷'
-        },
-        {
-          name: '钟**',
-          goods: '肥皂'
+          title: '政策性银行融资培训'
         }
         }
       ],
       ],
       animate: false,
       animate: false,
@@ -40,7 +33,7 @@ export default {
     }
     }
   },
   },
   mounted() {
   mounted() {
-    this.setInTime = setInterval(this.showMarquee, 3000)
+    this.setInTime = setInterval(this.showMarquee, 5000)
   },
   },
   unmounted() {
   unmounted() {
     clearInterval(this.setInTime) // 页面销毁时清除定时器
     clearInterval(this.setInTime) // 页面销毁时清除定时器

+ 3 - 3
src/views/dash/index.vue

@@ -31,9 +31,9 @@
         <agency :type="2" />
         <agency :type="2" />
       </el-card>
       </el-card>
     </div>
     </div>
-    <el-card :shadow="hover" class="mt-20">
-      <read />
-    </el-card>
+    <!--    <el-card :shadow="hover" class="mt-20">-->
+    <!--      <read />-->
+    <!--    </el-card>-->
   </div>
   </div>
 </template>
 </template>