减少密码哈希迭代次数防止把手机卡烂
原来的登录和注册界面改为密码登录和邮箱登录 邮箱登录界面不再分状态,设置密码独立出一个界面 自动登录不再检测本地用过密码登录,第一次邮箱登录不设置密码但存了token也可以 整理代码
This commit is contained in:
@@ -2,7 +2,7 @@ local scene={}
|
||||
|
||||
function scene.sceneInit()
|
||||
BG.set('cubes')
|
||||
WIDGET.active.texts:setTexts(require"parts.updateLog":split("\n"))
|
||||
scene.widgetList.texts:setTexts(require"parts.updateLog":split("\n"))
|
||||
end
|
||||
|
||||
function scene.wheelMoved(_,y)
|
||||
@@ -10,13 +10,13 @@ function scene.wheelMoved(_,y)
|
||||
end
|
||||
function scene.keyDown(key)
|
||||
if key=='up' then
|
||||
WIDGET.active.texts:scroll(-5)
|
||||
scene.widgetList.texts:scroll(-5)
|
||||
elseif key=='down' then
|
||||
WIDGET.active.texts:scroll(5)
|
||||
scene.widgetList.texts:scroll(5)
|
||||
elseif key=='pageup' then
|
||||
WIDGET.active.texts:scroll(-20)
|
||||
scene.widgetList.texts:scroll(-20)
|
||||
elseif key=='pagedown' then
|
||||
WIDGET.active.texts:scroll(20)
|
||||
scene.widgetList.texts:scroll(20)
|
||||
elseif key=='escape' then
|
||||
SCN.back()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user