From 737e7786e828dab37b3a3d57776da1d0ed523d84 Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Mon, 11 Nov 2019 14:41:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E5=AE=98=E7=BD=91=E6=89=8B?= =?UTF-8?q?=E6=9C=BA=E5=8F=8A=E8=B4=A6=E5=8F=B7=E6=B3=A8=E5=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/UserController.class.php | 2 +- Application/Mobile/View/User/register.html | 78 ++++++------------ Application/Mobile/View/User/step.html | 9 +- Public/Mobile/images/user/shouji.png | Bin 0 -> 620 bytes 4 files changed, 30 insertions(+), 59 deletions(-) create mode 100644 Public/Mobile/images/user/shouji.png diff --git a/Application/Mobile/Controller/UserController.class.php b/Application/Mobile/Controller/UserController.class.php index 674d9ea2d..1abbee94e 100644 --- a/Application/Mobile/Controller/UserController.class.php +++ b/Application/Mobile/Controller/UserController.class.php @@ -272,7 +272,7 @@ class UserController extends BaseController $post = I('post.'); $account = $post['nickname']; $password = $post['password']; - $sex = $post['sex']; + $sex = isset($post['sex']) ? $post['sex'] : 0; if (empty($account)) { echo json_encode(array('status' => 0, 'msg' => '请填写昵称')); exit; diff --git a/Application/Mobile/View/User/register.html b/Application/Mobile/View/User/register.html index f19c715a9..867e8030c 100644 --- a/Application/Mobile/View/User/register.html +++ b/Application/Mobile/View/User/register.html @@ -12,54 +12,40 @@ - + - + + + + +
-