Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gaohuaxue-mobile-app
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
赵振东
gaohuaxue-mobile-app
Commits
c6a0d5e3
Commit
c6a0d5e3
authored
Nov 24, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 更正eslint报错
parent
ddbd7841
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
index.tsx
src/views/Login/index.tsx
+8
-9
No files found.
src/views/Login/index.tsx
View file @
c6a0d5e3
...
...
@@ -12,7 +12,6 @@ import {
import
{
getManageContentNoticeFindWithOutContent
}
from
'../../services/ManageV2Api'
;
import
useAppStyle
from
'../../hooks/useAppStyle'
;
import
zhongranLogo
from
'../../../assets/images/zhongran_logo.png'
;
import
ImageBox
from
'../../components/ImageBox'
;
// import MobileView from './components/Mobile'
// import SingView from './components/Sing'
import
styles
from
'./styles'
;
...
...
@@ -62,7 +61,7 @@ const Login = () => {
obj
.
shopType
=
data
.
shopType
;
break
;
}
fn
?.(
current
==
1
?
data
:
obj
).
then
(
res
=>
{
fn
?.(
current
==
=
1
?
data
:
obj
).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
setAsyncStorage
(
'USER_INFO'
,
res
.
data
);
userStore
.
setUserInfo
(
res
.
data
);
...
...
@@ -112,10 +111,10 @@ const Login = () => {
};
return
(
<
View
style=
{
myStyle
[
'container'
]
}
>
<
View
style=
{
myStyle
[
'head'
]
}
>
<
Image
source=
{
zhongranLogo
}
style=
{
myStyle
[
'logo'
]
}
/>
<
Text
style=
{
myStyle
[
'logoTitle'
]
}
>
欢迎来到慧售卖
</
Text
>
<
View
style=
{
myStyle
.
container
}
>
<
View
style=
{
myStyle
.
head
}
>
<
Image
source=
{
zhongranLogo
}
style=
{
myStyle
.
logo
}
/>
<
Text
style=
{
myStyle
.
logoTitle
}
>
欢迎来到慧售卖
</
Text
>
</
View
>
{
/* 登录方式 */
}
<
View
style=
{
myStyle
.
loginType
}
>
...
...
@@ -125,7 +124,7 @@ const Login = () => {
key=
{
index
}
style=
{
[
myStyle
[
'loginType-item-text'
],
index
==
current
index
==
=
current
?
myStyle
[
'loginType-item-text__ative'
]
:
undefined
,
]
}
...
...
@@ -133,7 +132,7 @@ const Login = () => {
>
{
item
}
</
Text
>
{
index
==
current
?
(
{
index
==
=
current
?
(
<
View
style=
{
myStyle
[
'loginType-item-line'
]
}
/>
)
:
null
}
</
View
>
...
...
@@ -144,7 +143,7 @@ const Login = () => {
{
/* <ModeMobile containerClassName={styles['mobileModel']} toggle={toggle} onConfirm={onConfirm} onClose={onClose} /> */
}
{
/* 忘记密码 */
}
<
View
style=
{
myStyle
[
'sign'
]
}
>
<
View
style=
{
myStyle
.
sign
}
>
{
/* <Image src={select ? require('@/assets/images/Checked-@2x.png') : require('@/assets/images/Default@2x.png')} onClick={() => setSelect(!select)} /> */
}
<
View
style=
{
myStyle
[
'sign-signFlex'
]
}
>
<
Text
style=
{
myStyle
[
'sign-signText'
]
}
>
阅读并同意
</
Text
>
...
...
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