新增美甲师手机号改为选填并跳过空值哈希索引
自动发布开发环境 Nacos 配置 / publish (push) Successful in 25s

This commit is contained in:
2026-11-07 00:57:23 +08:00
parent 5fae5163ff
commit ae6317903a
4 changed files with 21 additions and 15 deletions
@@ -9,11 +9,12 @@
<image wx:else class="avatar-preview" src="/assets/images/default-user-avatar.png" mode="aspectFit"></image>
<view class="avatar-copy">
<text class="avatar-title">美甲师头像</text>
<text class="avatar-tip">点击选择图片,可稍后补充</text>
<text class="avatar-tip">点击选择图片</text>
</view>
<text class="avatar-action">{{avatarUploading ? '上传中' : '更换'}}</text>
<!-- <text class="avatar-action">{{avatarUploading ? '上传中' : '更换'}}</text> -->
<button wx:if="{{form.avatarUrl}}" class="avatar-action" catchtap="removeAvatar" style="width: 95rpx; display: block; box-sizing: border-box; left: 58rpx; top: 0rpx; height: 24rpx; position: relative">移除</button>
</view>
<button wx:if="{{form.avatarUrl}}" class="remove-avatar" catchtap="removeAvatar">移除当前头像</button>
<view class="card form-card create-form">
<view class="field">
@@ -21,8 +22,8 @@
<input value="{{form.nickname}}" data-field="nickname" bindinput="onInput" placeholder="请输入美甲师姓名" />
</view>
<view class="field">
<text class="field-label required">手机号</text>
<input value="{{form.phone}}" data-field="phone" bindinput="onInput" type="number" maxlength="11" placeholder="请输入手机号" />
<text class="field-label">手机号</text>
<input value="{{form.phone}}" data-field="phone" bindinput="onInput" type="number" maxlength="11" placeholder="选填" />
</view>
<view class="field">
<text class="field-label">微信号</text>
@@ -34,7 +35,7 @@
<view class="color-current">
<view class="color-current-chip" style="background: {{form.color}};"></view>
<text class="color-current-value">{{form.color}}</text>
<view class="color-select-btn" bindtap="openColorSheet">选择颜色<text class="color-select-arrow">›</text></view>
<view class="color-select-btn" bindtap="openColorSheet">选择颜色</view>
</view>
</view>
<view class="login-unlinked" bindtap="openUserPicker">