Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
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
高淑倩
7-Eleven
Commits
65ca4030
Commit
65ca4030
authored
Aug 22, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: tabBar
parent
552afe42
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
bottomTabs.js
src/component/bottomTabs/bottomTabs.js
+1
-2
my.json
src/pages/my/my.json
+4
-1
my.wxml
src/pages/my/my.wxml
+2
-0
No files found.
src/component/bottomTabs/bottomTabs.js
View file @
65ca4030
...
...
@@ -19,7 +19,6 @@ Component({
currentRoute
:
`/
${
utils
.
getCurrentPageUrl
()}
`
})
},
// pages/consumptionDetails/consumptionDetails
observers
:
{
currentRoute
(
nRoute
,
oRoute
)
{
console
.
log
(
'nRoute, oRoute'
,
nRoute
,
oRoute
)
...
...
@@ -38,7 +37,7 @@ Component({
{
active
:
'/assets/imgs/heart-primary.png'
,
inactive
:
'/assets/imgs/heart-default.png'
,
route
:
'/pages/
consumptionDetails/consumptionDetails
'
route
:
'/pages/
userCenter/userCenter
'
},
{
active
:
'/assets/imgs/heart-primary.png'
,
...
...
src/pages/my/my.json
View file @
65ca4030
{
"navigationBarTitleText"
:
"我的"
,
"usingComponents"
:
{}
"usingComponents"
:
{
"bottom-tabs"
:
"./../../component/bottomTabs/bottomTabs"
}
}
\ No newline at end of file
src/pages/my/my.wxml
View file @
65ca4030
...
...
@@ -193,3 +193,4 @@
</view>
</view>
<bottom-tabs />
\ 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