优化发布确认文案

This commit is contained in:
yml2213
2026-07-28 14:45:33 +08:00
parent c86caeb667
commit e75f1a8519
5 changed files with 31 additions and 21 deletions
@@ -714,7 +714,8 @@ export function usePublishForm(options: UsePublishFormOptions) {
if (!virtualAssetSaleAgreementChecked.value || !sellerAgreementChecked.value) {
return '请先阅读并勾选两份发布协议'
}
if (!passwordAndDeviceConfirmed.value) return '请确认已知晓打完需改密并清除登录设备'
if (!passwordAndDeviceConfirmed.value)
return '请勾选确认已知晓:完成后须改密并清除登录设备等事项'
for (const item of pricing.screenshotSlots.value) {
if (isScreenshotRequired(item) && getScreenshotCount(item.key) === 0)
return `请上传${item.label}`
@@ -433,11 +433,7 @@ const screenshotGuides: Record<string, string> = {
</div>
<div class="online-time-grid">
<button
type="button"
class="online-time-pick"
@click="openOnlineTimePicker('start')"
>
<button type="button" class="online-time-pick" @click="openOnlineTimePicker('start')">
<span class="online-time-label">开始</span>
<strong :class="{ placeholder: !form.online_start }">
{{ form.online_start || '请选择' }}
@@ -462,12 +458,7 @@ const screenshotGuides: Record<string, string> = {
请填写能百分百联系上您的时间该时段联系不上可能影响上架或扣款请预留扫码与冻结人脸时间
</p>
<van-popup
v-model:show="onlineTimePickerVisible"
position="bottom"
round
teleport="body"
>
<van-popup v-model:show="onlineTimePickerVisible" position="bottom" round teleport="body">
<van-time-picker
v-model="onlineTimePickerValue"
:title="onlineTimePickerTitle"
@@ -767,7 +758,9 @@ const screenshotGuides: Record<string, string> = {
</span>
</van-checkbox>
<van-checkbox v-model="passwordAndDeviceConfirmed" icon-size="18px">
<span class="agreement-check-label">我已知晓打完需改密并清除登录设备</span>
<span class="agreement-check-label"
>我已知晓:完成后须改密并清除登录设备若遇封号须解封后查号方可结算未经查号即结算者后续账号问题商行概不负责</span
>
</van-checkbox>
</div>
@@ -921,6 +921,22 @@
white-space: nowrap;
}
.publish-agreement-panel :deep(.agreement-notice-checkbox) {
height: auto;
white-space: normal;
align-items: flex-start;
}
.publish-agreement-panel :deep(.agreement-notice-checkbox .el-checkbox__label) {
line-height: 1.5;
}
.agreement-notice-label {
white-space: normal;
line-height: 1.5;
align-items: flex-start;
}
.agreement-link {
display: inline-block;
min-width: 0;
@@ -377,9 +377,7 @@ function selectDailyLoss(value: string | number) {
<p v-if="onlineTimeRangeHint()" class="online-time-summary">
{{ onlineTimeRangeHint() }}
</p>
<p class="field-hint">
请填写能稳定联系上您的时间便于扫码冻结人脸和订单交接
</p>
<p class="field-hint">请填写能稳定联系上您的时间便于扫码冻结人脸和订单交接</p>
</div>
</div>
@@ -682,8 +680,10 @@ function selectDailyLoss(value: string | number) {
</button>
</span>
</el-checkbox>
<el-checkbox v-model="passwordAndDeviceConfirmed">
<span class="agreement-check-label">我已知晓打完需改密并清除登录设备</span>
<el-checkbox v-model="passwordAndDeviceConfirmed" class="agreement-notice-checkbox">
<span class="agreement-check-label agreement-notice-label"
>我已知晓:完成后须改密并清除登录设备若遇封号须解封后查号方可结算未经查号即结算者后续账号问题商行概不负责</span
>
</el-checkbox>
</div>
<div class="summary-actions">