45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
<view class="cells cells-access">
|
|
<view class="cell" bind:tap="chooseImage">
|
|
<view class="cell-bd">修改头像</view>
|
|
<view class="cell-ft">
|
|
<view class="weui-loading" wx:if="{{uploading}}"></view>
|
|
<image src="{{avatar||'/assets/icon/my/avatar.png'}}" class="avatar"/>
|
|
</view>
|
|
</view>
|
|
<navigator url="/pages/my/setting/name/index" class="cell">
|
|
<view class="cell-bd">修改昵称</view>
|
|
<view class="cell-ft">
|
|
<view class="text">{{name}}</view>
|
|
</view>
|
|
</navigator>
|
|
</view>
|
|
|
|
<view class="cells cells-access">
|
|
<view class="cell" bind:tap="navToPrivacy">
|
|
<view class="cell-bd">隐私政策</view>
|
|
<view class="cell-ft"></view>
|
|
</view>
|
|
<view class="cell" bind:tap="navToAgreement">
|
|
<view class="cell-bd">用户协议</view>
|
|
<view class="cell-ft"></view>
|
|
</view>
|
|
<view class="cell" bind:tap="navToDeliveryContract">
|
|
<view class="cell-bd">配送服务协议</view>
|
|
<view class="cell-ft"></view>
|
|
</view>
|
|
<view class="cell" bind:tap="navToFee">
|
|
<view class="cell-bd">加价收费标准</view>
|
|
<view class="cell-ft"></view>
|
|
</view>
|
|
</view>
|
|
<button type="default" class="logout-btn" bind:tap="logout">退出登录</button>
|
|
|
|
<page-container show="{{isShowPopup}}" close-on-slide-down>
|
|
<view class="content">
|
|
<view class="input-area">
|
|
<input class="input" model:value="{{inputName}}"/>
|
|
<button type="primary" size="mini" class="button"
|
|
disabled="{{name==inputName}}" bind:tap="saveName">保存</button>
|
|
</view>
|
|
</view>
|
|
</page-container> |