12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <view class="box">
- <view class="content">
- <van-cell-group>
- <van-field
- value="{{ name }}"
- clearable
- label="姓名"
- placeholder="请填写姓名"
- />
- <van-field
- value="{{ phone }}"
- label="手机号"
- placeholder="请填写手机号"
- type="number"
- />
- <van-cell title="性别" value="{{ sex }}" title-width="100px" class="simulate-field">
- <van-radio-group v-model="chargeType" direction="horizontal" bind:change="onChange">
- <van-radio name="0" checked-color="#F88300">男</van-radio>
- <van-radio name="1" checked-color="#F88300">女</van-radio>
- </van-radio-group>
- </van-cell>
- <van-field
- value="{{ address }}"
- label="收货地址"
- placeholder="请点击选择地址"
- is-link
- bind:click-icon="selectaddress"
- />
- <van-field
- value="{{ number }}"
- label="门牌号"
- placeholder="例:1号公寓2门312"
- />
- <van-cell title="设置默认" value="{{ default }}"
- size="small" >
- <van-switch checked="{{ checked }}"
- bind:change="onChange" size="20px"
- active-color="#0D9C2B"
- inactive-color="fff"
- checked="{{checked}}"
- />
- </van-cell>
- </van-cell-group>
- </view>
- <view class="button">
- <van-row>
- <van-col span="9" offset="2">
- <van-button round type="info" block color="#999999" size="small">删除</van-button>
- </van-col>
- <van-col span="9" offset="2">
- <van-button round type="info" block color="#F88300" size="small">保存</van-button>
- </van-col>
- </van-row>
- </view>
- </view>
|