diff --git a/components/uni-tabbar-light/uni-icons.css b/components/uni-tabbar-light/uni-icons.css new file mode 100644 index 0000000000000000000000000000000000000000..22c98b6163d384124ceabe7b42e9ce6ceab4a06d --- /dev/null +++ b/components/uni-tabbar-light/uni-icons.css @@ -0,0 +1,17 @@ +@font-face { + font-family: "UniIconsLight"; + src: url('./uniicons.ttf') format('truetype'); +} + +.uni-icons { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.uniui-back:before { + content: "\e600"; +} + diff --git a/components/uni-tabbar-light/uni-tabbar-light.uvue b/components/uni-tabbar-light/uni-tabbar-light.uvue new file mode 100644 index 0000000000000000000000000000000000000000..11b102e35c8fb7d74c87529855552aae05ad81fc --- /dev/null +++ b/components/uni-tabbar-light/uni-tabbar-light.uvue @@ -0,0 +1,110 @@ + + + + + \ No newline at end of file diff --git a/components/uni-tabbar-light/uni-tabbar-light.vue b/components/uni-tabbar-light/uni-tabbar-light.vue new file mode 100644 index 0000000000000000000000000000000000000000..5efd192fa33fe8ff82e9e66fb13827a593ff9211 --- /dev/null +++ b/components/uni-tabbar-light/uni-tabbar-light.vue @@ -0,0 +1,94 @@ + + + + + diff --git a/components/uni-tabbar-light/uniicons.ttf b/components/uni-tabbar-light/uniicons.ttf new file mode 100644 index 0000000000000000000000000000000000000000..e370efe839a69693e9ee79483f7bbca34f49dcfd Binary files /dev/null and b/components/uni-tabbar-light/uniicons.ttf differ diff --git a/pages.json b/pages.json index 6e3bf2f42172979b64f71c8a00637675de49172d..40460d47c99380b66f0f7e0027ec51fdf1909422 100644 --- a/pages.json +++ b/pages.json @@ -909,6 +909,15 @@ } } + ,{ + "path" : "pages/template/navbar-light/navbar-light", + "style" : + { + "navigationBarTitleText": "自定义导航栏", + "navigationStyle": "custom" + } + + } ], "globalStyle": { "pageOrientation": "portrait", diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue index 74221cef6b3a4db924a911ec831bc24af3fb2fce..1c337f6106188adbaf3582fc308a538e65ac044c 100644 --- a/pages/tabBar/template.uvue +++ b/pages/tabBar/template.uvue @@ -159,6 +159,13 @@ export default { name: '划走式卡片', open: false, pages: [] as Page[], + }, + { + id: 'navbar-light', + url: 'navbar-light', + name: '自定义导航栏', + open: false, + pages: [] as Page[], }, { id: 'calendar', diff --git a/pages/template/navbar-light/navbar-light.uvue b/pages/template/navbar-light/navbar-light.uvue new file mode 100644 index 0000000000000000000000000000000000000000..f7a8035226ced968c91a4a09def74714cbaa45ce --- /dev/null +++ b/pages/template/navbar-light/navbar-light.uvue @@ -0,0 +1,49 @@ + + + + +