diff --git a/common/uni-uvue.css b/common/uni-uvue.css
index 127baf671e80d36c4e9dfc9cefd76ceb97733a2e..839c5aeec50dc7450afa03f505abaac1630ee996 100644
--- a/common/uni-uvue.css
+++ b/common/uni-uvue.css
@@ -124,7 +124,9 @@
.uni-navigate-item:active {
background-color: #f8f8f8;
}
-
+.is--active {
+ background-color: #f8f8f8;
+}
.uni-navigate-text {
color: #000000;
font-size: 14px;
diff --git a/components/uni-collapse-item/uni-collapse-item.vue b/components/uni-collapse-item/uni-collapse-item.vue
new file mode 100644
index 0000000000000000000000000000000000000000..d590cf4e60051db1f933e31e9f6fbd5a89ba8537
--- /dev/null
+++ b/components/uni-collapse-item/uni-collapse-item.vue
@@ -0,0 +1,135 @@
+
+
+
+ {{title}}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/uni-collapse-item/util.uts b/components/uni-collapse-item/util.uts
new file mode 100644
index 0000000000000000000000000000000000000000..57297ad3efe8da789aabe6101b360e86b7c2af1e
--- /dev/null
+++ b/components/uni-collapse-item/util.uts
@@ -0,0 +1,21 @@
+// import { ComponentPublicInstance } from 'vue'
+
+// 查找父组件实例
+export function $dispatch(
+ context : ComponentPublicInstance,
+ componentName : string,
+ eventName : string,
+ ...params : any | null
+) {
+ let parent = context.$parent
+ let name = parent?.$options?.name
+ while (parent != null && (name == null || componentName != name)) {
+ parent = parent.$parent
+ if (parent != null) {
+ name = parent?.$options?.name
+ }
+ }
+ if (parent != null) {
+ parent.$callMethod(eventName, ...params)
+ }
+}
\ No newline at end of file
diff --git a/components/uni-collapse/uni-collapse.vue b/components/uni-collapse/uni-collapse.vue
new file mode 100644
index 0000000000000000000000000000000000000000..9f071d9cf6e8f6d88318f155dd8dc52e336b1ffe
--- /dev/null
+++ b/components/uni-collapse/uni-collapse.vue
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue
index 7fd3ec44a67c6cd4a4c39079d9e77271af4c20fb..f140e7c43c39bd76a452ca826bbd57b29a8d16aa 100644
--- a/pages/tabBar/API.uvue
+++ b/pages/tabBar/API.uvue
@@ -1,522 +1,515 @@
-
-
-
-
-
-
- 以下将演示uni-app接口能力,详细文档见:
-
-
-
-
- {{ item.name }}
-
+
+
+
+
+ 以下将演示uni-app接口能力,详细文档见:
+
+
+
+
+
+
+
+ {{ page.name }}
+
+
+
+
+
+
+
-
-
+ " class="uni-icon">
+
+
+
+ {{ page.name }}
+
+
+
+ -->
+
+
+
+
+ @import '../../common/uni-uvue.css';
+
+ .item {
+ margin-bottom: 12px;
+ }
+
+
\ No newline at end of file
diff --git a/pages/tabBar/CSS.uvue b/pages/tabBar/CSS.uvue
index 7e1b600943e095af7d8161ec9ca024933376d431..94649026e775270c306d19185b02e3b35e999f22 100644
--- a/pages/tabBar/CSS.uvue
+++ b/pages/tabBar/CSS.uvue
@@ -1,376 +1,363 @@
-
-
-
-
-
-
- uni-app x目前已支持的CSS属性,展示样式仅供参考,文档详见:
-
-
-
-
- {{ item.name }}
-
+
+
+
+
+ uni-app x目前已支持的CSS属性,展示样式仅供参考,文档详见:
+
+
+
+
+
+
+ {{ page.name }}
+
+
+
+
+
+
-
-
+ " class="uni-icon">
+
+
+
+ {{ page.name }}
+
+
+
+ -->
+
+
+
+
+ @import '../../common/uni-uvue.css';
+ .item {
+ margin-bottom: 12px;
+ }
+
\ No newline at end of file
diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue
index 56730bb92cb293970779cbd7b840f4121139d8f2..cf133814d9584620df49443d62aa9afc85395f83 100644
--- a/pages/tabBar/component.uvue
+++ b/pages/tabBar/component.uvue
@@ -1,311 +1,314 @@
-
-
-
-
-
-
- uni-app内置组件,展示样式仅供参考,文档详见:
-
-
-
-
- {{ item.name }}
-
+
+
+
+
+ uni-app内置组件,展示样式仅供参考,文档详见:
+
+
+
+
+
+
+ {{ page.name }}
+
+
+
+
+
+
-
-
+ " class="uni-icon">
+
+
+
+ {{ page.name }}
+
+
+
+ -->
+
+
+
+
+ @import '../../common/uni-uvue.css';
+
+ .item {
+ margin-bottom: 12px;
+ }
+
+
\ No newline at end of file