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
446f3c2e
Commit
446f3c2e
authored
Mar 28, 2023
by
666
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update
parent
4bef6cf1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
9 deletions
+26
-9
project.config.json
project.config.json
+20
-3
user-info.tsx
...pages/level-prepare/components/ranking-list/user-info.tsx
+6
-6
No files found.
project.config.json
View file @
446f3c2e
{
{
"miniprogramRoot"
:
"
./dist
"
,
"miniprogramRoot"
:
"
dist/
"
,
"projectname"
:
"GeekLearnMathWeapp"
,
"projectname"
:
"GeekLearnMathWeapp"
,
"description"
:
""
,
"description"
:
""
,
"appid"
:
"wx8f25def587982a19"
,
"appid"
:
"wx8f25def587982a19"
,
...
@@ -9,8 +9,24 @@
...
@@ -9,8 +9,24 @@
"enhance"
:
false
,
"enhance"
:
false
,
"compileHotReLoad"
:
false
,
"compileHotReLoad"
:
false
,
"postcss"
:
false
,
"postcss"
:
false
,
"minified"
:
false
"minified"
:
false
,
"babelSetting"
:
{
"ignore"
:
[],
"disablePlugins"
:
[],
"outputPath"
:
""
},
"condition"
:
false
},
},
"libVersion"
:
"2.30.2"
,
"libVersion"
:
"2.30.2"
,
"compileType"
:
"miniprogram"
"compileType"
:
"miniprogram"
,
"srcMiniprogramRoot"
:
"dist/"
,
"packOptions"
:
{
"ignore"
:
[],
"include"
:
[]
},
"condition"
:
{},
"editorSetting"
:
{
"tabIndent"
:
"insertSpaces"
,
"tabSize"
:
2
}
}
}
\ No newline at end of file
src/pages/level-prepare/components/ranking-list/user-info.tsx
View file @
446f3c2e
import
React
from
'react'
import
React
from
'react'
import
{
View
,
Image
,
Text
}
from
'@tarojs/components'
;
import
{
View
,
Image
,
Text
}
from
'@tarojs/components'
import
{
UserInfoProps
}
from
'../../types'
import
{
UserInfoProps
}
from
'../../types'
import
styles
from
'./user-info.module.scss'
import
styles
from
'./user-info.module.scss'
console
.
log
(
'11'
)
const
UserInfo
:
React
.
FC
<
UserInfoProps
>
=
({
avatar
,
nickname
,
schoolName
})
=>
{
const
UserInfo
:
React
.
FC
<
UserInfoProps
>
=
({
avatar
,
nickname
,
schoolName
})
=>
{
return
(
return
(
<
View
className=
{
styles
.
userInfo
}
>
<
View
className=
{
styles
.
userInfo
}
>
<
View
className=
{
styles
.
avatar
}
/>
<
View
className=
{
styles
.
avatar
}
/>
{
/* <Image className='avatar' src={avatar} /> */
}
{
/* <Image className='avatar' src={avatar} /> */
}
<
View
className=
{
styles
.
userDetails
}
>
<
View
className=
{
styles
.
userDetails
}
>
<
Text
className=
'nickname'
>
{
nickname
}
</
Text
>
<
Text
className=
"nickname"
>
{
nickname
}
</
Text
>
<
Text
className=
'school'
>
{
schoolName
}
</
Text
>
<
Text
className=
"school"
>
{
schoolName
}
</
Text
>
</
View
>
</
View
>
</
View
>
</
View
>
)
)
}
}
export
default
UserInfo
export
default
UserInfo
\ 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