优化店务小程序预约作品价格交互
This commit is contained in:
@@ -37,6 +37,11 @@
|
||||
<text wx:if="{{form.manualProductTitle && !form.productId}}" class="manual-badge">手动</text>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{form.productId || form.manualProductTitle}}" class="field">
|
||||
<text class="field-label required">本次价格</text>
|
||||
<input value="{{form.manualProductPrice}}" data-field="manualProductPrice" bindinput="onInput" type="digit" placeholder="可按本次预约修改" />
|
||||
<text class="unit">元</text>
|
||||
</view>
|
||||
<view class="field">
|
||||
<text class="field-label required">预计时长</text>
|
||||
<input value="{{form.durationMinutes}}" data-field="durationMinutes" bindinput="onInput" type="number" placeholder="请输入预约时长" />
|
||||
@@ -59,23 +64,17 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="appointment-flags">
|
||||
<view class="field toggle-field">
|
||||
<view class="toggle-copy">
|
||||
<text class="field-label">是否交定金</text>
|
||||
</view>
|
||||
<switch checked="{{form.depositPaid}}" color="#6f8f83" data-field="depositPaid" bindchange="onToggleChange" />
|
||||
<view class="flag-card {{form.depositPaid ? 'active' : ''}}" data-field="depositPaid" bindtap="toggleFlag">
|
||||
<view class="flag-check">{{form.depositPaid ? '✓' : ''}}</view>
|
||||
<text>交定金</text>
|
||||
</view>
|
||||
<view class="field toggle-field">
|
||||
<view class="toggle-copy">
|
||||
<text class="field-label">是否需要卸甲</text>
|
||||
</view>
|
||||
<switch checked="{{form.needRemoval}}" color="#6f8f83" data-field="needRemoval" bindchange="onToggleChange" />
|
||||
<view class="flag-card {{form.needRemoval ? 'active' : ''}}" data-field="needRemoval" bindtap="toggleFlag">
|
||||
<view class="flag-check">{{form.needRemoval ? '✓' : ''}}</view>
|
||||
<text>需卸甲</text>
|
||||
</view>
|
||||
<view class="field toggle-field">
|
||||
<view class="toggle-copy">
|
||||
<text class="field-label">是否来自美团</text>
|
||||
</view>
|
||||
<switch checked="{{form.fromMeituan}}" color="#6f8f83" data-field="fromMeituan" bindchange="onToggleChange" />
|
||||
<view class="flag-card {{form.fromMeituan ? 'active' : ''}}" data-field="fromMeituan" bindtap="toggleFlag">
|
||||
<view class="flag-check">{{form.fromMeituan ? '✓' : ''}}</view>
|
||||
<text>美团</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="field textarea-field">
|
||||
@@ -151,7 +150,6 @@
|
||||
<textarea class="manual-textarea" value="{{form.manualProductDescription}}" data-field="manualProductDescription" bindinput="onInput" placeholder="作品描述(选填)" />
|
||||
<view class="manual-grid single">
|
||||
<input value="{{form.manualProductTags}}" data-field="manualProductTags" bindinput="onInput" placeholder="标签,多个用逗号分隔(选填)" />
|
||||
<input value="{{form.manualProductTargetAudience}}" data-field="manualProductTargetAudience" bindinput="onInput" placeholder="适合人群(选填)" />
|
||||
<input value="{{form.manualProductPrecautions}}" data-field="manualProductPrecautions" bindinput="onInput" placeholder="注意事项(选填)" />
|
||||
</view>
|
||||
<view class="manual-image-section">
|
||||
|
||||
Reference in New Issue
Block a user