Pārlūkot izejas kodu

首页样式修改

zangkai 5 gadi atpakaļ
vecāks
revīzija
8e77d24e17
1 mainītis faili ar 10 papildinājumiem un 16 dzēšanām
  1. 10 16
      frontend_web/src/views/system/index/page.vue

+ 10 - 16
frontend_web/src/views/system/index/page.vue

@@ -1,21 +1,16 @@
 <template>
   <d2-container>
-    <template slot="header"
-              style="padding: 5px;">
-      <img class="page_logo"
-           src="././image/logo_nmg.png"
-           width="100%"
-           height="115"
-           style="margin:0px">
-    </template>
+
+    <img class="page_logo"
+         src="././image/logo_nmg.png"
+         width="100%">
     <el-table ref="multipleTable"
               :data="activities"
               border
               fit
               tooltip-effect="dark"
               style="width: 100%"
-              @sort-change="orderby"
-              height="100%">
+              @sort-change="orderby">
       <!-- <el-table-column label="操作"
                        width="160px"
                        align="center"
@@ -135,8 +130,8 @@ export default {
   methods: {
     formatStatus (row, column) {
       for (var i = 0; i < this.status.length; i++) {
-        if (this.status[i].value == row.status) {
-          return this.status[i].key;
+        if (this.status[i].value === row.status) {
+          return this.status[i].key
         }
       }
     },
@@ -144,10 +139,10 @@ export default {
       this.search = {
         Title: '',
         Status: -1,
-        Content: '',
+        Content: ''
       }
     },
-    //初始化分页分页对象
+    // 初始化分页分页对象
     initPageInfo () {
       this.search.page = {
         total: 0,
@@ -170,7 +165,7 @@ export default {
       this.$refs.informationDialog.dialogvisible = false
       this.initPageInfo()
       this.initDatas()
-      console.log("handleClose informationId" + this.informationId)
+      console.log('handleClose informationId' + this.informationId)
     },
     publish (information) {
       information.status = 1
@@ -194,7 +189,6 @@ export default {
       this.initDatas()
     },
 
-
     deleteinformation (val) {
       let _this = this
       let params = {