Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
GeekLearnMathWeapp
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
frontend
GeekLearnMathWeapp
Commits
359921d6
Commit
359921d6
authored
Mar 24, 2023
by
hewenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: rename
parent
69f9ae7a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
app.config.ts.tpl
scripts/app.config.ts.tpl
+2
-2
main.config.ts
src/pages/main/main.config.ts
+0
-0
main.module.scss
src/pages/main/main.module.scss
+0
-0
main.tsx
src/pages/main/main.tsx
+3
-3
No files found.
scripts/app.config.ts.tpl
View file @
359921d6
...
@@ -6,14 +6,14 @@
...
@@ -6,14 +6,14 @@
export default {
export default {
pages: [
pages: [
'pages/
index/index
',
'pages/
main/main
',
],
],
subPackages: {
{
packages
}
},
subPackages: {
{
packages
}
},
resizable: true,
resizable: true,
preloadRule: {
{
preloadRule
}
},
preloadRule: {
{
preloadRule
}
},
window: {
window: {
navigationBarBackgroundColor: '#fff',
navigationBarBackgroundColor: '#fff',
navigationBarTitleText: '
学习力成长
',
navigationBarTitleText: '
进击吧数学
',
navigationBarTextStyle: 'black',
navigationBarTextStyle: 'black',
backgroundTextStyle: 'dark',
backgroundTextStyle: 'dark',
backgroundColor: '#F3F8FA',
backgroundColor: '#F3F8FA',
...
...
src/pages/
index/index
.config.ts
→
src/pages/
main/main
.config.ts
View file @
359921d6
File moved
src/pages/
index/index
.module.scss
→
src/pages/
main/main
.module.scss
View file @
359921d6
File moved
src/pages/
index/index
.tsx
→
src/pages/
main/main
.tsx
View file @
359921d6
import
{
View
,
Button
,
Text
}
from
'@tarojs/components'
import
{
View
,
Button
,
Text
}
from
'@tarojs/components'
import
{
useStoreActions
,
useStoreState
}
from
'@/store/hooks'
import
{
useStoreActions
,
useStoreState
}
from
'@/store/hooks'
import
styles
from
'./
index
.module.scss'
import
styles
from
'./
main
.module.scss'
const
Index
Page
=
()
=>
{
const
Main
Page
=
()
=>
{
const
num
=
useStoreState
(
state
=>
state
.
counterModel
.
count
)
const
num
=
useStoreState
(
state
=>
state
.
counterModel
.
count
)
const
add
=
useStoreActions
(
actions
=>
actions
.
counterModel
.
add
)
const
add
=
useStoreActions
(
actions
=>
actions
.
counterModel
.
add
)
const
dec
=
useStoreActions
(
actions
=>
actions
.
counterModel
.
dec
)
const
dec
=
useStoreActions
(
actions
=>
actions
.
counterModel
.
dec
)
...
@@ -19,4 +19,4 @@ const IndexPage = () => {
...
@@ -19,4 +19,4 @@ const IndexPage = () => {
)
)
}
}
export
default
Index
Page
export
default
Main
Page
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