实现预约草稿和资料头像编辑

This commit is contained in:
2026-06-27 15:19:32 +08:00
parent 7a062791aa
commit c671ec264c
15 changed files with 861 additions and 24 deletions
@@ -34,6 +34,14 @@
</view>
<view class="modal-close" bindtap="closeCreateModal">×</view>
</view>
<view class="avatar-upload">
<view wx:if="{{createForm.avatarUrl}}" class="avatar-preview image-avatar">
<image src="{{createForm.avatarUrl}}" mode="aspectFill"></image>
</view>
<view wx:else class="avatar-preview">头像</view>
<button class="secondary-btn avatar-btn" loading="{{avatarUploading}}" bindtap="chooseEmployeeAvatar">上传头像</button>
<button wx:if="{{createForm.avatarUrl}}" class="text-btn avatar-remove" bindtap="removeEmployeeAvatar">移除</button>
</view>
<view class="form-grid">
<view class="modal-field">
<text class="required-label">姓名</text>