Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaxiu-miniapp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蔡亮华(贵阳日报)
jiaxiu-miniapp
Commits
be6e8f39
Commit
be6e8f39
authored
Sep 18, 2024
by
彭佳妮(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐藏首页以及分类
parent
f7ce6605
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
47 deletions
+40
-47
components.d.ts
components.d.ts
+0
-8
pages.json
src/pages.json
+40
-39
No files found.
components.d.ts
View file @
be6e8f39
...
...
@@ -10,22 +10,14 @@ declare module 'vue' {
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterView
:
typeof
import
(
'vue-router'
)[
'RouterView'
]
VanButton
:
typeof
import
(
'vant/es'
)[
'Button'
]
VanCalendar
:
typeof
import
(
'vant/es'
)[
'Calendar'
]
VanCascader
:
typeof
import
(
'vant/es'
)[
'Cascader'
]
VanEmpty
:
typeof
import
(
'vant/es'
)[
'Empty'
]
VanField
:
typeof
import
(
'vant/es'
)[
'Field'
]
VanForm
:
typeof
import
(
'vant/es'
)[
'Form'
]
VanIcon
:
typeof
import
(
'vant/es'
)[
'Icon'
]
VanList
:
typeof
import
(
'vant/es'
)[
'List'
]
VanNavBar
:
typeof
import
(
'vant/es'
)[
'NavBar'
]
VanNoticeBar
:
typeof
import
(
'vant/es'
)[
'NoticeBar'
]
VanPopup
:
typeof
import
(
'vant/es'
)[
'Popup'
]
VanProgress
:
typeof
import
(
'vant/es'
)[
'Progress'
]
VanPullRefresh
:
typeof
import
(
'vant/es'
)[
'PullRefresh'
]
VanStep
:
typeof
import
(
'vant/es'
)[
'Step'
]
VanSteps
:
typeof
import
(
'vant/es'
)[
'Steps'
]
VanSwipe
:
typeof
import
(
'vant/es'
)[
'Swipe'
]
VanSwipeItem
:
typeof
import
(
'vant/es'
)[
'SwipeItem'
]
VanTab
:
typeof
import
(
'vant/es'
)[
'Tab'
]
VanTabs
:
typeof
import
(
'vant/es'
)[
'Tabs'
]
VanTextEllipsis
:
typeof
import
(
'vant/es'
)[
'TextEllipsis'
]
...
...
src/pages.json
View file @
be6e8f39
...
...
@@ -5,7 +5,18 @@
"^wd-(.*)"
:
"wot-design-uni/components/wd-$1/wd-$1.vue"
}
},
"pages"
:
[
//
pages
数组中第一项表示应用启动页
"pages"
:
[
{
"path"
:
"pages/mine/index"
,
"name"
:
"mine"
,
"style"
:
{
"navigationBarTitleText"
:
"个人中心"
,
"navigationStyle"
:
"custom"
},
"meta"
:
{
"requireAuth"
:
true
}
},
{
"path"
:
"pages/home/indexNew"
,
"name"
:
"home"
,
...
...
@@ -30,17 +41,6 @@
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"pages/mine/index"
,
"name"
:
"mine"
,
"style"
:
{
"navigationBarTitleText"
:
"个人中心"
,
"navigationStyle"
:
"custom"
},
"meta"
:
{
"requireAuth"
:
true
}
},
{
"path"
:
"pages/home/content"
,
"name"
:
"home-content"
,
...
...
@@ -132,7 +132,7 @@
"style"
:
{
"navigationBarTitleText"
:
"图组列表"
}
}
,
}
],
"globalStyle"
:
{
"navigationBarTextStyle"
:
"black"
,
...
...
@@ -143,31 +143,31 @@
"background"
:
"#efeff4"
},
"navigationStyle"
:
"custom"
},
"tabBar"
:
{
"color"
:
"#707070"
,
"selectedColor"
:
"#0E7CE3"
,
"borderStyle"
:
"black"
,
"backgroundColor"
:
"#ffffff"
,
"list"
:
[
{
"pagePath"
:
"pages/home/indexNew"
,
"iconPath"
:
"static/image/home.png"
,
"selectedIconPath"
:
"static/image/home-select.png"
,
"text"
:
"首页"
},
{
"pagePath"
:
"pages/classify/index"
,
"iconPath"
:
"static/image/classify.png"
,
"selectedIconPath"
:
"static/image/classify-select.png"
,
"text"
:
"分类"
},
{
"pagePath"
:
"pages/mine/index"
,
"iconPath"
:
"static/image/mine.png"
,
"selectedIconPath"
:
"static/image/mine-select.png"
,
"text"
:
"我的"
}
]
}
//
"tabBar"
:
{
//
"color"
:
"#707070"
,
//
"selectedColor"
:
"#0E7CE3"
,
//
"borderStyle"
:
"black"
,
//
"backgroundColor"
:
"#ffffff"
,
//
"list"
:
[
//
{
//
"pagePath"
:
"pages/home/indexNew"
,
//
"iconPath"
:
"static/image/home.png"
,
//
"selectedIconPath"
:
"static/image/home-select.png"
,
//
"text"
:
"首页"
//
},
//
{
//
"pagePath"
:
"pages/classify/index"
,
//
"iconPath"
:
"static/image/classify.png"
,
//
"selectedIconPath"
:
"static/image/classify-select.png"
,
//
"text"
:
"分类"
//
},
//
{
//
"pagePath"
:
"pages/mine/index"
,
//
"iconPath"
:
"static/image/mine.png"
,
//
"selectedIconPath"
:
"static/image/mine-select.png"
,
//
"text"
:
"我的"
//
}
//
]
//
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment