公寓小程序端前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

41 lines
2.4 KiB

<view class="author ">
<van-cell is-link center custom-class="cus-avatar" >
<!-- bind:tap="chooseAvatar" -->
<view slot="title">
<van-image width="55" height="55" round src="{{avatarUrl || '../../../../images/mine/头像.png'}}" />
</view>
</van-cell>
</view>
<view class="card">
<view class="title">
基本信息
</view>
<van-cell-group>
<van-field model:value="{{ nickName }}" placeholder="请输入" input-align="right" label="昵称" disabled="{{true}}"/>
<van-field model:value="{{ name }}" input-align="right" label="姓名" placeholder="请输入" disabled="{{true}}"/>
<van-field model:value="{{ idCard }}" label="身份证" input-align="right" type="idcard" placeholder="实名认证请输入身份证" border="{{ false }}" disabled="{{false}}"/>
<van-field model:value="{{ mobile }}" clearable input-align="right" label="手机号" placeholder="请输入" border="{{ false }} " disabled="{{true}}">
</van-field>
</van-cell-group>
<!-- 住房剩余天数 -->
<!-- <van-field model:value="{{ housingDays }}" label="住房剩余天数" readonly input-align="right" type="number" placeholder="请输入" border="{{ false }}" :append="天">
</van-field> -->
</view>
<view class="day">
<van-cell title="住房剩余天数" value="{{remainingDays || 0}}天" border="false" custom-class="cus-day">
</van-cell>
</view>
<view style=" text-align: center;margin-top: 220rpx;">
<view class="bot-btn">
<van-button slot="button" type="primary" round color="linear-gradient(to right, #0DC6C6 , #46DBD5)" bind:tap="onsubmit">
确定
</van-button>
</view>
</view>
<van-popup show="{{ showAgency }}" round position="bottom">
<van-cascader wx:if="{{showAgency}}" field-names="{{ {text: 'label',value: 'value',children: 'children'} }}" value="{{ cascaderValue }}" title="请选择所在地区" options="{{ agencyList }}" bind:close="onCancelAgency" bind:change="onChangeAgency" bind:finish="onConfirmAgency" />
</van-popup>
<van-action-sheet cancel-text="确定" bind:cancel="onClose" close-on-click-action="{{false}}" show="{{ showIdentity }}" actions="{{ identityList }}" bind:select="onChangeIdentity" />
<van-action-sheet cancel-text="确定" bind:cancel="onCloseV" close-on-click-action="{{false}}" show="{{ showVolunOrg }}" actions="{{ volunOrgList }}" bind:select="onChangeVolunOrg" />