From bd3a9d7086f5a428b385599ba2cb08299b22c0df Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 15 九月 2022 09:26:18 +0800
Subject: [PATCH] 2022.9.14
---
component/switchtab/switchtab.js | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/component/switchtab/switchtab.js b/component/switchtab/switchtab.js
index 48f52b6..fb33732 100644
--- a/component/switchtab/switchtab.js
+++ b/component/switchtab/switchtab.js
@@ -8,6 +8,14 @@
* 缁勪欢鐨勫睘鎬у垪琛�
*/
properties: {
+ extClass: {
+ type: String,
+ value: ''
+ },
+ extClassOn: {
+ type: String,
+ value: ''
+ },
tabList: {
type: Array,
value: []
@@ -29,6 +37,17 @@
// pageheight: '600px',
},
+ pageLifetimes: {
+ // 缁勪欢鎵�鍦ㄩ〉闈㈢殑鐢熷懡鍛ㄦ湡鍑芥暟
+ show: function () {
+ // this.refreshHeight(true)
+
+ },
+ hide: function () { },
+ resize: function () {
+ },
+ },
+
/**
* 缁勪欢鐨勬柟娉曞垪琛�
*/
@@ -38,6 +57,7 @@
if (e) {
setTimeout(() => {
const p = `.page${this.data.currentTab}`
+ console.log(p);
this.tabsHeight(p);
}, 50);
}
--
Gitblit v1.9.3