dever 7 yıl önce
ebeveyn
işleme
c68a4ec84a

+ 1 - 1
main/assets/mobile/js/config.js

@@ -142,7 +142,7 @@ Dever.User().config =
 		//资料认证
 		,7 : '#submit'
 		//兑现
-		,8 : '#exchange',
+		,8 : '#exchange'
 		//修改昵称
 		,9 : '#edit'
 	}

+ 1 - 0
main/template/mobile/user/edit.php

@@ -14,6 +14,7 @@ $view
 
 ->fetch(array('input@id', 0), 'username')
 ->fetch(array('input@name', 0), 'username')
+->fetch(array('input@value', 0), '<{Dever::load("task/user.one#username")}>')
 ->fetch(array('input@dever-error', 0), '请填写昵称')
 
 ->fetch('.button@class', 'button')

+ 2 - 0
main/template/mobile/user/update.php

@@ -15,10 +15,12 @@ $view
 ->fetch(array('input@value', 0), '<{Dever::load("task/user.one#mobile")}>')
 ->fetch(array('input@disabled', 0), 'true')
 
+->fetch(array('input@style', 1), 'cursor:pointer')
 ->fetch(array('input@id', 1), 'username')
 ->fetch(array('input@name', 1), 'username')
 ->fetch(array('input@dever-error', 1), '请填写昵称')
 ->fetch(array('input@value', 1), '<{Dever::load("task/user.one#username")}>')
+->fetch(array('input@onclick', 1), 'location.href=\'<{Dever::url("user/edit", "main")}>\'')
 
 ->fetch(array('input@id', 2), 'sex')
 ->fetch(array('input@name', 2), 'sex')