lrf 2 yıl önce
ebeveyn
işleme
5a2e803abc
2 değiştirilmiş dosya ile 5 ekleme ve 3 silme
  1. 0 1
      app.json
  2. 5 2
      pages/register/index.wxml

+ 0 - 1
app.json

@@ -2,7 +2,6 @@
     "pages": [
         "pages/index/index",
         "pages/login/index",
-        "pages/register/index",
         "pages/home/index",
         "pages/news/index",
         "pages/topic/index",

+ 5 - 2
pages/register/index.wxml

@@ -2,8 +2,11 @@
     <view slot="info" class="container main">
         <view style="width:100%">
             <van-cell-group>
-                <van-field value="{{ form.name }}" placeholder="请输入姓名" border="{{ true }}" bind:change="onChange" />
-                <van-cell title="单元格" value="内容" label="描述信息" border="{{ false }}" />
+                <van-field label="头像" value="{{ form.name }}" placeholder="请输入姓名" border="{{ true }}" bind:change="onChange" />
+                <van-field label="姓名" value="{{ form.name }}" placeholder="请输入姓名" border="{{ true }}" bind:change="onChange" />
+                <van-field label="性别" value="{{ form.gender }}" placeholder="请输入姓名" border="{{ true }}" bind:change="onChange" />
+                <van-field label="手机号" value="{{ form.phone }}" placeholder="请输入手机号" border="{{ true }}" bind:change="onChange" />
+                <van-field label="邮箱" value="{{ form.email }}" placeholder="请输入邮箱" border="{{ true }}" bind:change="onChange" />
             </van-cell-group>
         </view>
     </view>