addressEditer.ttml
2.13 KB
<addressPicker id='addressPicker'
editeAddressPage="{{editeAddressPage}}" bind:updateAddress="updateAddress" bind:selectAddressFinish="selectAddressFinish" bind:didTouchCancelButton="didTouchCancelButton">
</addressPicker>
<view class="addressEditerContainer">
<view class="view-splite clearfix"></view>
<view class="page-container clearfix">
<view class="cell-container cell-bottom-border">
<text class="cell-float-left">收货人</text>
<input data-id="txtConsignee" class="cell-float-right" placeholder-class='cell-placeholder' placeholder-style='font-size: 28rpx;color: #B0B0B0;' placeholder="姓名" bindinput="onInputChanged" value="{{editeAddressPage._consignee}}"/>
</view>
<view class="cell-container cell-bottom-border">
<text class="cell-float-left">手机号码</text>
<input data-id="txtMobile" class="cell-float-right" placeholder-class='cell-placeholder' placeholder="电话" bindinput="onInputChanged" value="{{editeAddressPage._mobile}}"/>
</view>
<view class="cell-container cell-bottom-border" >
<text class="cell-float-left">选择地区</text>
<input class="cell-float-right" disabled="disabled" placeholder-class='cell-placeholder' placeholder="地区信息(请选择)" value="{{editeAddressPage._address}}"/>
<view class="cell-float-over" catchtap="choosearea"></view>
</view>
<view class="cell-container">
<text class="cell-float-left">详细地址</text>
<input data-id="txtAddress" class="cell-float-right" placeholder-class='cell-placeholder' placeholder="详细街道地址" bindinput="onInputChanged" value="{{editeAddressPage._detailAddress}}"/>
</view>
</view>
<button type="primary" class="submit-btn" size="default" catchtap="onSubmitButtonTapped"> 确认 </button>
<button hidden="{{editeAddressPage.currentEditMode == 'modeAdd'}}" type="primary" class="delete-btn" size="default" catchtap="onDeleteButtonTapped"> 删除地址 </button>
</view>