From 3cd25b6bb9ec57ae86ff09df13099e2d63a0a7fb Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期一, 10 十月 2022 15:30:32 +0800
Subject: [PATCH] 添加登录日志

---
 src/views/subAccount/index.vue |   30 ++++++++++++++++++++++++++----
 1 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/src/views/subAccount/index.vue b/src/views/subAccount/index.vue
index 66bf956..da3f27e 100644
--- a/src/views/subAccount/index.vue
+++ b/src/views/subAccount/index.vue
@@ -12,7 +12,18 @@
 
     <!-- 涓昏鍐呭 -->
     <div class="content">
-      <SubAccount></SubAccount>
+      <div style="padding: 20px;">
+        <el-tabs v-model="activeName" @tab-click="handleClick">
+          <el-tab-pane name="account">
+            <span slot="label"><i class="el-icon-s-home"></i> 瀛愯处鍙风鐞�</span>
+            <SubAccount></SubAccount>
+          </el-tab-pane>
+          <el-tab-pane name="point">
+            <span slot="label"><i class="el-icon-s-platform"></i> 鐧诲綍鏃ュ織</span>
+            <EntryLog></EntryLog>
+          </el-tab-pane>
+        </el-tabs>
+      </div>
     </div>
 
     <!-- 椤靛熬 -->
@@ -22,17 +33,28 @@
 
 <script>
 import IndexHeader from "@/components/IndexHeader"
-// import DevList from "@/views/report/components/DevList"
 import SubAccount from "@/views/personalCenter/components/SubAccount.vue"
-// import SettingBox from "@/views/report/components/SettingBox"
+import EntryLog from "./entryLog.vue"
+
 import Footer from "@/components/Footer"
 
 export default {
   components: {
     IndexHeader,
-    SubAccount
+    SubAccount,
+    EntryLog
     // SettingBox,
     // Footer
+  },
+  data() {
+    return {
+      activeName: "account"
+    }
+  },
+  methods: {
+    handleClick(tab, event) {
+      // console.log(tab, event, this.activeName)
+    }
   }
 }
 </script>

--
Gitblit v1.8.0