@fecp/mobile 1.0.64 → 1.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.mjs +2 -24
- package/es/packages/mobile/src/components/navigation/tabbarItem/TabbarItem.vue.mjs +22 -18
- package/es/packages/mobile/src/components/navigation/tabbarItem/index.mjs +2 -2
- package/lib/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.js +1 -23
- package/lib/packages/mobile/src/components/navigation/tabbarItem/TabbarItem.vue.js +21 -17
- package/package.json +1 -1
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
|
-
|
|
4
|
-
/* empty css */
|
|
5
|
-
/* empty css */
|
|
6
|
-
import { createBlock, openBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
|
3
|
+
import { createBlock, openBlock, mergeProps } from "vue";
|
|
7
4
|
import { Tabbar } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar/index.mjs";
|
|
8
|
-
import { TabbarItem } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar-item/index.mjs";
|
|
9
5
|
const _sfc_main = {
|
|
10
6
|
__name: "Tabbar",
|
|
11
7
|
props: {
|
|
@@ -16,26 +12,8 @@ const _sfc_main = {
|
|
|
16
12
|
},
|
|
17
13
|
setup(__props) {
|
|
18
14
|
return (_ctx, _cache) => {
|
|
19
|
-
const _component_van_tabbar_item = TabbarItem;
|
|
20
15
|
const _component_van_tabbar = Tabbar;
|
|
21
|
-
return openBlock(), createBlock(_component_van_tabbar, mergeProps(_ctx.$attrs, { route: "" }),
|
|
22
|
-
default: withCtx(() => [
|
|
23
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabbarOptions, (item) => {
|
|
24
|
-
return openBlock(), createBlock(_component_van_tabbar_item, {
|
|
25
|
-
name: item.name,
|
|
26
|
-
icon: item.icon,
|
|
27
|
-
replace: "",
|
|
28
|
-
to: item.to
|
|
29
|
-
}, {
|
|
30
|
-
default: withCtx(() => [
|
|
31
|
-
createTextVNode(toDisplayString(item.title), 1)
|
|
32
|
-
]),
|
|
33
|
-
_: 2
|
|
34
|
-
}, 1032, ["name", "icon", "to"]);
|
|
35
|
-
}), 256))
|
|
36
|
-
]),
|
|
37
|
-
_: 1
|
|
38
|
-
}, 16);
|
|
16
|
+
return openBlock(), createBlock(_component_van_tabbar, mergeProps(_ctx.$attrs, { route: "" }), null, 16);
|
|
39
17
|
};
|
|
40
18
|
}
|
|
41
19
|
};
|
|
@@ -3,24 +3,28 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { createBlock, openBlock, normalizeProps, guardReactiveProps,
|
|
7
|
-
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
6
|
+
import { createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
8
7
|
import { TabbarItem } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar-item/index.mjs";
|
|
9
|
-
const _sfc_main = {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
8
|
+
const _sfc_main = {
|
|
9
|
+
__name: "TabbarItem",
|
|
10
|
+
props: {
|
|
11
|
+
title: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "标签"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
setup(__props) {
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
const _component_van_tabbar_item = TabbarItem;
|
|
19
|
+
return openBlock(), createBlock(_component_van_tabbar_item, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
|
20
|
+
default: withCtx(() => [
|
|
21
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
22
|
+
]),
|
|
23
|
+
_: 1
|
|
24
|
+
}, 16);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
};
|
|
24
28
|
export {
|
|
25
|
-
|
|
29
|
+
_sfc_main as default
|
|
26
30
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _sfc_main from "./TabbarItem.vue.mjs";
|
|
2
2
|
import install from "../../../utils/install.mjs";
|
|
3
3
|
const MobileTabbarItem = install.withInstall(
|
|
4
4
|
"MobileTabbarItem",
|
|
5
|
-
|
|
5
|
+
_sfc_main
|
|
6
6
|
);
|
|
7
7
|
export {
|
|
8
8
|
MobileTabbarItem,
|
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
|
-
;/* empty css */
|
|
6
|
-
;/* empty css */
|
|
7
|
-
;/* empty css */
|
|
8
5
|
const vue = require("vue");
|
|
9
6
|
const index = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar/index.js");
|
|
10
|
-
const index$1 = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar-item/index.js");
|
|
11
7
|
const _sfc_main = {
|
|
12
8
|
__name: "Tabbar",
|
|
13
9
|
props: {
|
|
@@ -18,26 +14,8 @@ const _sfc_main = {
|
|
|
18
14
|
},
|
|
19
15
|
setup(__props) {
|
|
20
16
|
return (_ctx, _cache) => {
|
|
21
|
-
const _component_van_tabbar_item = index$1.TabbarItem;
|
|
22
17
|
const _component_van_tabbar = index.Tabbar;
|
|
23
|
-
return vue.openBlock(), vue.createBlock(_component_van_tabbar, vue.mergeProps(_ctx.$attrs, { route: "" }),
|
|
24
|
-
default: vue.withCtx(() => [
|
|
25
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.tabbarOptions, (item) => {
|
|
26
|
-
return vue.openBlock(), vue.createBlock(_component_van_tabbar_item, {
|
|
27
|
-
name: item.name,
|
|
28
|
-
icon: item.icon,
|
|
29
|
-
replace: "",
|
|
30
|
-
to: item.to
|
|
31
|
-
}, {
|
|
32
|
-
default: vue.withCtx(() => [
|
|
33
|
-
vue.createTextVNode(vue.toDisplayString(item.title), 1)
|
|
34
|
-
]),
|
|
35
|
-
_: 2
|
|
36
|
-
}, 1032, ["name", "icon", "to"]);
|
|
37
|
-
}), 256))
|
|
38
|
-
]),
|
|
39
|
-
_: 1
|
|
40
|
-
}, 16);
|
|
18
|
+
return vue.openBlock(), vue.createBlock(_component_van_tabbar, vue.mergeProps(_ctx.$attrs, { route: "" }), null, 16);
|
|
41
19
|
};
|
|
42
20
|
}
|
|
43
21
|
};
|
|
@@ -6,21 +6,25 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
6
6
|
;/* empty css */
|
|
7
7
|
;/* empty css */
|
|
8
8
|
const vue = require("vue");
|
|
9
|
-
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
10
9
|
const index = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar-item/index.js");
|
|
11
|
-
const _sfc_main = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
10
|
+
const _sfc_main = {
|
|
11
|
+
__name: "TabbarItem",
|
|
12
|
+
props: {
|
|
13
|
+
title: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "标签"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
setup(__props) {
|
|
19
|
+
return (_ctx, _cache) => {
|
|
20
|
+
const _component_van_tabbar_item = index.TabbarItem;
|
|
21
|
+
return vue.openBlock(), vue.createBlock(_component_van_tabbar_item, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), {
|
|
22
|
+
default: vue.withCtx(() => [
|
|
23
|
+
vue.createTextVNode(vue.toDisplayString(__props.title), 1)
|
|
24
|
+
]),
|
|
25
|
+
_: 1
|
|
26
|
+
}, 16);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.default = _sfc_main;
|