Files
JayuCloud/WeChatProgram/pages/account-settings/index.wxml

24 lines
1.2 KiB
Plaintext

<navigation-bar title="账号资料" showBack="{{true}}" fallbackPath="/pages/settings/index" color="{{navThemeColor || '#4A443F'}}" background="{{navThemeBackground || '#FDFBF9'}}"></navigation-bar>
<view class="page-shell" style="{{themeVars}}">
<view class="page-content">
<view class="page-hero">
<text class="hero-kicker">Account</text>
<text class="hero-title">账号资料</text>
<text class="hero-desc">维护昵称、个性签名和基础资料�?/text>
</view>
<view class="page-card form-card">
<view class="field-block">
<text class="field-label">昵称</text>
<input class="field-input" value="{{form.nickname}}" data-field="nickname" bindinput="handleInput" placeholder="请输入昵�? placeholder-class="field-placeholder" />
</view>
<view class="field-block">
<text class="field-label">个��签�?/text>
<textarea class="field-textarea" maxlength="120" value="{{form.signature}}" data-field="signature" bindinput="handleInput" placeholder="写一句介绍自�? placeholder-class="field-placeholder"></textarea>
</view>
<button class="primary-btn" loading="{{saving}}" bindtap="saveProfile">保存资料</button>
</view>
</view>
</view>