From 8e948dc277fcc71f9c4c5ac08e3da976ada49d9e Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Fri, 18 Nov 2022 14:36:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=A8=E6=88=B7=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E4=BF=A1=E6=81=AF=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/form/User.php | 10 + app/admin/view/default/user/save_info.html | 263 ++++++++++++++------- 2 files changed, 185 insertions(+), 88 deletions(-) diff --git a/app/admin/form/User.php b/app/admin/form/User.php index 29d7adbf9..385e0cdd6 100644 --- a/app/admin/form/User.php +++ b/app/admin/form/User.php @@ -177,6 +177,16 @@ class User 'where_type' => 'like', ], ], + [ + 'label' => '所在区/县', + 'view_type' => 'field', + 'view_key' => 'county', + 'is_sort' => 1, + 'search_config' => [ + 'form_type' => 'input', + 'where_type' => 'like', + ], + ], [ 'label' => '详细地址', 'view_type' => 'field', diff --git a/app/admin/view/default/user/save_info.html b/app/admin/view/default/user/save_info.html index e977bffc7..2382f895d 100755 --- a/app/admin/view/default/user/save_info.html +++ b/app/admin/view/default/user/save_info.html @@ -4,103 +4,190 @@
-
+ 用户{{if empty($data['id'])}}添加{{else /}}编辑{{/if}} 返回 -
- - -
-
- - -
-
- - -
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
-
- - -
-
- - +
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
+
+
+
+ + +
+
+
+
+ + +
+
+
-
- - -
-
- - -
- {{include file="lib/gender" /}} -
- - -
-
- - -
+
+
+ {{include file="lib/user_status" /}} +
+
+
+ + +
+
+
- {{include file="lib/user_status" /}} - -
- - -
- -
- - -
+ {{include file="lib/gender" /}} {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}