Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoya-agent-program
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqian
xiaoya-agent-program
Commits
4609c279
Commit
4609c279
authored
Apr 08, 2020
by
18868195926
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 底部导航栏添加
parent
4d9f1c46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
20 deletions
+36
-20
app.jsx
src/app.jsx
+36
-20
No files found.
src/app.jsx
View file @
4609c279
...
@@ -15,26 +15,6 @@ import './app.scss'
...
@@ -15,26 +15,6 @@ import './app.scss'
const
store
=
configStore
()
const
store
=
configStore
()
class
App
extends
Component
{
class
App
extends
Component
{
config
=
{
pages
:
[
'pages/index/index'
,
'pages/citySelect/index'
],
permission
:
{
"scope.userLocation"
:
{
"desc"
:
"你的位置信息将用于小程序位置接口的效果展示"
}
},
window
:
{
backgroundTextStyle
:
'light'
,
navigationBarBackgroundColor
:
'#fff'
,
navigationBarTitleText
:
'WeChat'
,
navigationBarTextStyle
:
'black'
,
navigationStyle
:
'custom'
,
}
}
componentDidMount
()
{
componentDidMount
()
{
Taro
.
login
({
Taro
.
login
({
success
:
function
(
res
)
{
success
:
function
(
res
)
{
...
@@ -59,6 +39,42 @@ class App extends Component {
...
@@ -59,6 +39,42 @@ class App extends Component {
}
}
})
})
}
}
config
=
{
pages
:
[
'pages/index/index'
,
'pages/citySelect/index'
,
'pages/storeDetail/index'
,
'pages/mine/index'
],
permission
:
{
"scope.userLocation"
:
{
"desc"
:
"你的位置信息将用于小程序位置接口的效果展示"
}
},
window
:
{
backgroundTextStyle
:
'light'
,
navigationBarBackgroundColor
:
'#fff'
,
navigationBarTitleText
:
'WeChat'
,
navigationBarTextStyle
:
'black'
,
navigationStyle
:
'custom'
,
},
tabBar
:
{
"color"
:
"#a9b7b7"
,
"selectedColor"
:
"#11cd6e"
,
"borderStyle"
:
"black"
,
"list"
:
[
{
"pagePath"
:
"pages/index/index"
,
"text"
:
"首页"
},
{
"pagePath"
:
"pages/mine/index"
,
"text"
:
"我的"
}
]
}
}
componentDidShow
()
{}
componentDidShow
()
{}
...
...
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