|
<!--基础信息维护-->
|
|
<view class="basicInformation">
|
|
<view class="basicInformation-title-wrap" style="{{style}}">
|
|
<view class="basicInformation-title" style="top:{{statusBarHeight}}px">信息登记</view>
|
|
</view>
|
|
<view class="content-wrap">
|
|
<view class="content-details-wrap">
|
|
<!-- 问卷列表 -->
|
|
<view class="user-details">
|
|
<view class="user-logo">
|
|
<open-data type="userAvatarUrl"></open-data>
|
|
</view>
|
|
<view class="user-name">
|
|
<open-data type="userNickName"></open-data>
|
|
</view>
|
|
</view>
|
|
<view class="content-details-content-wrap">
|
|
<!-- 地址信息登记 -->
|
|
<view class="information-wrap">
|
|
<view class="information-title">请选择您的楼栋:</view>
|
|
<view class="information-address-wrap">
|
|
<view class="information-address-btn-wrap" id="information-address-btn-wrap">
|
|
<picker bindchange="bindPickerChange" range="{{addressList}}" range-key="descr">
|
|
<button class="information-address-btn" type="default" plain >{{addressSelectItem.descr}}</button>
|
|
<image class="information-address-icon" src="{{baseURL}}/public/uploadfile/select-address-down.png" />
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="information-wrap information-bottom">
|
|
<view class="information-title">请选择您的单元:</view>
|
|
<view class="information-address-wrap">
|
|
<view class="information-address-btn-wrap" id="information-unit-btn-wrap">
|
|
<picker bindchange="setunitItem" range="{{unitList}}" range-key="descr">
|
|
<button class="information-address-btn" type="default" plain>{{unitItem.descr}}</button>
|
|
<image class="information-address-icon" src="{{baseURL}}/public/uploadfile/select-address-down.png" />
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="information-wrap">
|
|
<view class="information-title">
|
|
<view class="information-title-text">请输入您的门牌号:</view>
|
|
<input class="weui-input information-title-input" bindinput="bindKeyHouseNumber" maxlength="10" value="{{houseNumber}}" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="content-details-btn-wrap">
|
|
<!-- unitItem.descr 其他选项后端需要传空,因此未用unitid -->
|
|
<button class="content-details-btn"
|
|
disabled="{{(addressSelectItem.buildingid && unitItem.descr ) ? false:true}}" type="primary"
|
|
bindtap="getUserProfile"> 开始答题 </button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<mp-dialog title="友情提示!" mask-closable="{{false}}" show="{{showOneButtonDialog}}" buttons="{{oneButton}}">
|
|
<view>请您扫码登录小程序!</view>
|
|
</mp-dialog>
|
|
</view>
|