diff --git a/components/FormItem.vue b/components/FormItem.vue
index a0f35a1..ff9fb45 100644
--- a/components/FormItem.vue
+++ b/components/FormItem.vue
@@ -6,7 +6,7 @@
{{ label }}
-
+
-
+
-
+
-
+
diff --git a/pages/modify_visitor/modify_visitor.vue b/pages/modify_visitor/modify_visitor.vue
index 4d76245..a7ad4b4 100644
--- a/pages/modify_visitor/modify_visitor.vue
+++ b/pages/modify_visitor/modify_visitor.vue
@@ -178,7 +178,7 @@ export default {
// },
checkSubmit() {
this.canSubmit = false
- if (!this.name || !this.sex || !this.year) return
+ if (!this.name || (this.sex !=0 && this.sex!=1) || !this.year) return
this.canSubmit = true
},
reback() {
diff --git a/pages/usercenter/usercenter.vue b/pages/usercenter/usercenter.vue
index b0f5810..beaf637 100644
--- a/pages/usercenter/usercenter.vue
+++ b/pages/usercenter/usercenter.vue
@@ -1,9 +1,26 @@
-
-
-
- {{uinfo.user_code}}
+
+
+
+ 切换账号
+
+
+
+
+
+
+
+ {{uinfo.user_code}}
+
+
+
+ {{uinfo.realname ? uinfo.realname : '未设置真实姓名'}}
+ {{uinfo.phone ? '手机号:'+uinfo.phone : '未设置手机号'}}
+
+
+
+