From d6fb18b49cd61427a343fbe7a2a4f94e4b597bdc Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期四, 29 十二月 2022 14:00:41 +0800
Subject: [PATCH] fix:店铺状态

---
 src/views/operate/myWait/index.vue |   37 +++++++++++++++++--------------------
 1 files changed, 17 insertions(+), 20 deletions(-)

diff --git a/src/views/operate/myWait/index.vue b/src/views/operate/myWait/index.vue
index 75bcda1..8e49ee7 100644
--- a/src/views/operate/myWait/index.vue
+++ b/src/views/operate/myWait/index.vue
@@ -18,9 +18,6 @@
         <el-table
           ref="multipleTable"
           :header-cell-style="{
-            background: '#06122c',
-            'font-size': '12px',
-            color: '#4b9bb7',
             'font-weight': '650',
             'line-height': '45px',
           }"
@@ -60,7 +57,7 @@
         <!-- 鏌ョ湅淇敼椤甸潰 -->
         <el-dialog
           :visible.sync="dialogUpdate"
-          width="80%"
+          width="60%"
           :title="title"
           :destroy-on-close="true"
           :key="updateFlag"
@@ -171,7 +168,7 @@
       dialogUpdate: false,
       updateFlag: false,
       userInfo: "",
-      totalNum: null,
+      totalNum: 1,
       pageSize: 10,
       currentPage: 1,
       all: false,
@@ -206,10 +203,11 @@
   methods: {
     getTableData() {
       myWait
-        .getMybackLog({ num: this.context })
-        .then((res) => {
-          this.tableData = res;
+        .getMybackLog({ num: this.context, current: this.currentPage, pageSize: this.pageSize })
+        .then(({ records, total }) => {
+          this.tableData = records;
           this.tableData = this.tableData.filter((item) => !!item);
+          this.totalNum = total;
         })
         .catch((err) => this.$message({ type: "error", message: err }));
     },
@@ -355,7 +353,7 @@
   }
 
   header {
-    background-color: #09152f;
+    background-color: white;
 
     .headerContent {
       padding: 0 40px;
@@ -377,7 +375,7 @@
           color: #1d3f57;
 
           &::v-deep .el-input__inner {
-            background-color: #09152f;
+            background-color: #fff;
             border: 1px solid #17324c;
           }
         }
@@ -406,7 +404,7 @@
   }
 
   main {
-    background-color: #09152f;
+    background-color: #fff;
     margin-top: 20px;
     padding-bottom: 50px;
 
@@ -443,7 +441,7 @@
 
           &::v-deep .el-input__inner {
             border: none;
-            background-color: #09152f;
+            // background-color: #09152f;
           }
 
           &:hover {
@@ -466,7 +464,7 @@
           &::v-deep li,
           &::v-deep .btn-prev,
           &::v-deep .btn-next {
-            background-color: #071f39;
+            // background-color: #071f39;
             color: #4b9bb7;
           }
 
@@ -479,8 +477,8 @@
     }
 
     .el-table {
-      color: #4b9bb7;
-      font-size: 10px;
+      // color: #4b9bb7;
+      // font-size: 10px;
 
       &::v-deep .cell {
         text-overflow: ellipsis;
@@ -489,7 +487,7 @@
       }
 
       &::v-deep .el-table__empty-block {
-        background-color: #09152f;
+        // background-color: #09152f;
       }
 
       &::v-deep .el-table__empty-block {
@@ -510,11 +508,11 @@
     }
 
     .el-table::v-deep .warning-row {
-      background: #06122c;
+      // background: #06122c;
     }
 
     .el-table::v-deep .success-row {
-      background: #071f39;
+      // background: #071f39;
     }
 
     &::v-deep .switchStyle .el-switch__label {
@@ -549,7 +547,7 @@
 
   &::v-deep .el-dialog__header,
   &::v-deep .el-dialog__body {
-    background-color: #06122c;
+    // background-color: #06122c;
   }
 
   &::v-deep .el-dialog__header {
@@ -567,7 +565,6 @@
   &::v-deep .el-dialog__close {
     width: 20px;
     height: 20px;
-    // color: #fff;
   }
 
   &::v-deep .el-dialog__body {

--
Gitblit v1.8.0