fix(ui): 修复真机加粗失效并统一 PDA 页面字号与布局
- 库存盘点:font-weight 600 统一改为 bold,修复真机无加粗效果 - 库存盘点:移除右上角「...」操作菜单,改为「完成盘点」「空库位」直接按钮 - 库存盘点:顶部标题栏字号统一 36rpx,搜索输入框字号 34rpx,提示字号 28→30rpx - 拦截登记:顶部导航重构为自定义 header(返回/标题/输入框开关/重置) - 拦截登记:搜索框改为 u-search 圆角样式并新增「搜索」按钮 - 拦截登记:信息面板标签 32→36rpx、值 32→40rpx,与搜索框间隔调整为 60rpx - 拦截登记:拦截失败提示优化,区分「非拦截订单」等文案 - 库位查询:标题/搜索/计数半格样式调整,浅色背景深色文字、下划线强调 - 其他:page-nav 右侧宽度改 min-width;首页/个人中心弹窗圆角 24→20rpx;多处标题字号 32→36rpx
This commit is contained in:
parent
cd5b6a0e63
commit
b95ac35d39
@ -154,7 +154,7 @@
|
||||
}
|
||||
|
||||
.right {
|
||||
width: 80rpx;
|
||||
min-width: 80rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
|
||||
@ -475,7 +475,7 @@
|
||||
}
|
||||
|
||||
.header-title {
|
||||
font-size: 32rpx;
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
@ -2381,7 +2381,7 @@
|
||||
width: 100%;
|
||||
max-width: 620rpx;
|
||||
background: #fff;
|
||||
border-radius: 24rpx;
|
||||
border-radius: 20rpx;
|
||||
padding: 40rpx 36rpx 36rpx;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0 24rpx 80rpx rgba(0, 0, 0, 0.18);
|
||||
|
||||
@ -596,7 +596,7 @@
|
||||
|
||||
.header-title {
|
||||
flex: 1;
|
||||
font-size: 32rpx;
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
|
||||
@ -584,7 +584,7 @@
|
||||
width: 100%;
|
||||
max-width: 620rpx;
|
||||
background: #fff;
|
||||
border-radius: 24rpx;
|
||||
border-radius: 20rpx;
|
||||
padding: 40rpx 36rpx 36rpx;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0 24rpx 80rpx rgba(0, 0, 0, 0.18);
|
||||
|
||||
@ -86,7 +86,7 @@ export default {
|
||||
|
||||
.actions-popup-title {
|
||||
font-size: 38rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
text-align: center;
|
||||
margin-bottom: 36rpx;
|
||||
|
||||
@ -195,7 +195,7 @@ export default {
|
||||
|
||||
.picker__title {
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
@ -303,7 +303,7 @@ export default {
|
||||
|
||||
.picker__footer-btn-text {
|
||||
font-size: 34rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -136,7 +136,7 @@ export default {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-size: 38rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
line-height: 1.3;
|
||||
overflow: hidden;
|
||||
@ -194,7 +194,7 @@ export default {
|
||||
.goods-card__diff {
|
||||
margin-right: 20rpx;
|
||||
font-size: 34rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.goods-card__diff--gain {
|
||||
|
||||
@ -107,7 +107,7 @@ export default {
|
||||
|
||||
.count-card__name {
|
||||
font-size: 38rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
line-height: 1.4;
|
||||
word-break: break-all;
|
||||
@ -167,7 +167,7 @@ export default {
|
||||
.count-card__value {
|
||||
margin-top: 8rpx;
|
||||
font-size: 40rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
line-height: 1.3;
|
||||
}
|
||||
@ -197,7 +197,7 @@ export default {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
@ -254,6 +254,6 @@ export default {
|
||||
|
||||
.count-card__diff-text {
|
||||
font-size: 28rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -218,6 +218,6 @@ export default {
|
||||
|
||||
.filter-group__item--active .filter-group__item-text {
|
||||
color: #ffffff;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -192,7 +192,7 @@ export default {
|
||||
|
||||
.loc-detail__title {
|
||||
font-size: 40rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
line-height: 1.3;
|
||||
word-break: break-all;
|
||||
@ -275,7 +275,7 @@ export default {
|
||||
|
||||
.loc-detail__section-title {
|
||||
font-size: 34rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
@ -420,19 +420,19 @@ export default {
|
||||
|
||||
/* 该库位账面有货:加粗深色,方便一眼找到账面库位 */
|
||||
.loc-detail__row-amount--stock {
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
.loc-detail__row-diff {
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* 另一种账面口径提示(静态看当前库存 / 普通看基准快照) */
|
||||
.loc-detail__row-hint {
|
||||
margin-right: 20rpx;
|
||||
font-size: 26rpx;
|
||||
font-size: 30rpx;
|
||||
color: #b8811a;
|
||||
}
|
||||
|
||||
|
||||
@ -119,13 +119,13 @@ export default {
|
||||
}
|
||||
|
||||
.loc-grid__head-title {
|
||||
font-size: 26rpx;
|
||||
font-weight: 600;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
.loc-grid__head-hint {
|
||||
font-size: 24rpx;
|
||||
font-size: 30rpx;
|
||||
color: #c0c4cc;
|
||||
}
|
||||
|
||||
@ -169,11 +169,9 @@ export default {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* 库位名独占一行(超长省略) */
|
||||
/* 库位名独占一行(超长换行完整显示) */
|
||||
.loc-grid__code--stack {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
/* 商品数 + 状态同一行(商品数居左、状态/未盘居右) */
|
||||
@ -187,7 +185,7 @@ export default {
|
||||
/* 已盘/未盘进度独占一行(居左) */
|
||||
.loc-grid__progress {
|
||||
margin-top: 6rpx;
|
||||
font-size: 28rpx;
|
||||
font-size: 30rpx;
|
||||
line-height: 1;
|
||||
text-align: left;
|
||||
color: #606266;
|
||||
@ -217,14 +215,14 @@ export default {
|
||||
|
||||
.loc-grid__code {
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
line-height: 1.2;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.loc-grid__sub {
|
||||
font-size: 28rpx;
|
||||
font-size: 30rpx;
|
||||
line-height: 1.1;
|
||||
color: #606266;
|
||||
}
|
||||
@ -244,7 +242,7 @@ export default {
|
||||
}
|
||||
|
||||
.loc-grid__count {
|
||||
font-size: 28rpx;
|
||||
font-size: 30rpx;
|
||||
line-height: 1;
|
||||
color: #909399;
|
||||
}
|
||||
|
||||
@ -378,7 +378,7 @@ export default {
|
||||
.record-add__title {
|
||||
flex-shrink: 0;
|
||||
font-size: 38rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
@ -402,6 +402,10 @@ export default {
|
||||
::v-deep .u-search__content {
|
||||
padding-right: 140rpx;
|
||||
}
|
||||
|
||||
::v-deep .u-search__content__input {
|
||||
font-size: 34rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.record-add__search-actions {
|
||||
@ -611,7 +615,7 @@ export default {
|
||||
}
|
||||
|
||||
.record-add__qty .record-add__label {
|
||||
font-size: 42rpx;
|
||||
font-size: 40rpx;
|
||||
width: auto;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
|
||||
@ -66,7 +66,7 @@ export default {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
line-height: 1.4;
|
||||
/* 超长自动换行显示多行 */
|
||||
@ -165,7 +165,7 @@ export default {
|
||||
|
||||
.record-card__status {
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #2979ff;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
@ -63,6 +63,10 @@ export default {
|
||||
::v-deep .u-search__content {
|
||||
padding-right: 200rpx;
|
||||
}
|
||||
|
||||
::v-deep .u-search__content__input {
|
||||
font-size: 34rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.search-actions {
|
||||
|
||||
@ -319,7 +319,7 @@ export default {
|
||||
.space-entry__title {
|
||||
flex-shrink: 0;
|
||||
font-size: 38rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
@ -343,6 +343,10 @@ export default {
|
||||
::v-deep .u-search__content {
|
||||
padding-right: 140rpx;
|
||||
}
|
||||
|
||||
::v-deep .u-search__content__input {
|
||||
font-size: 34rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.space-entry__search-actions {
|
||||
@ -429,7 +433,7 @@ export default {
|
||||
|
||||
.space-item__subtitle {
|
||||
margin-top: 4rpx;
|
||||
font-size: 26rpx;
|
||||
font-size: 30rpx;
|
||||
color: #909399;
|
||||
}
|
||||
|
||||
|
||||
@ -117,7 +117,7 @@ export default {
|
||||
.summary-panel__group {
|
||||
margin: 24rpx 0 6rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #2979ff;
|
||||
|
||||
&:first-child {
|
||||
@ -153,22 +153,22 @@ export default {
|
||||
}
|
||||
|
||||
.summary-panel__value--strong {
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #2979ff;
|
||||
}
|
||||
|
||||
.summary-panel__value--success {
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #18a058;
|
||||
}
|
||||
|
||||
.summary-panel__value--warning {
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #ff9800;
|
||||
}
|
||||
|
||||
.summary-panel__value--danger {
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #e64340;
|
||||
}
|
||||
|
||||
|
||||
@ -163,7 +163,7 @@ export default {
|
||||
border: 2rpx solid #ebedf2;
|
||||
border-radius: 20rpx;
|
||||
padding: 20rpx 28rpx;
|
||||
margin-bottom: 20rpx;
|
||||
margin: 0 12rpx 20rpx;
|
||||
box-shadow: 0 6rpx 20rpx rgba(31, 45, 61, 0.06);
|
||||
transition: border-color 0.3s ease, background-color 0.3s ease;
|
||||
}
|
||||
@ -189,7 +189,7 @@ export default {
|
||||
|
||||
.work-card__title {
|
||||
font-size: 38rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
line-height: 1.4;
|
||||
word-break: break-all;
|
||||
@ -261,14 +261,14 @@ export default {
|
||||
}
|
||||
|
||||
.work-card__label {
|
||||
font-size: 28rpx;
|
||||
font-size: 30rpx;
|
||||
color: #8a9099;
|
||||
}
|
||||
|
||||
.work-card__value {
|
||||
margin-top: 8rpx;
|
||||
font-size: 40rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
line-height: 1.3;
|
||||
}
|
||||
@ -278,7 +278,7 @@ export default {
|
||||
padding: 6rpx 14rpx;
|
||||
border-radius: 8rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.work-card__diff--gain {
|
||||
@ -300,7 +300,7 @@ export default {
|
||||
.work-card__book-hint {
|
||||
width: 100%;
|
||||
margin-top: 6rpx;
|
||||
font-size: 26rpx;
|
||||
font-size: 30rpx;
|
||||
color: #b8811a;
|
||||
}
|
||||
|
||||
@ -345,7 +345,7 @@ export default {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
@ -421,12 +421,13 @@ export default {
|
||||
.work-child__hint {
|
||||
margin-top: 4rpx;
|
||||
margin-left: 16rpx;
|
||||
font-size: 26rpx;
|
||||
font-size: 30rpx;
|
||||
color: #b8811a;
|
||||
}
|
||||
|
||||
/* 拣货未完成提示:红色(与账面口径提示区分) */
|
||||
.work-child__hint--picking {
|
||||
font-size: 30rpx;
|
||||
color: #e64340;
|
||||
}
|
||||
|
||||
|
||||
@ -260,6 +260,11 @@ export default {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* 顶部标题栏字号 */
|
||||
::v-deep .nav-title .title {
|
||||
font-size: 36rpx;
|
||||
}
|
||||
|
||||
/* 列表区 */
|
||||
.detail-scroll {
|
||||
flex: 1;
|
||||
|
||||
@ -4,12 +4,12 @@
|
||||
<page-nav :title="canEdit ? '盘点操作' : '盘点详情'">
|
||||
<template #right>
|
||||
<view
|
||||
v-if="hasActions"
|
||||
class="nav-more-btn"
|
||||
:class="{ 'nav-more-btn--disabled': submitting }"
|
||||
@click="openActionsPopup"
|
||||
v-if="canFinish"
|
||||
class="nav-finish-btn"
|
||||
:class="{ 'nav-finish-btn--disabled': submitting }"
|
||||
@click="handleFinish"
|
||||
>
|
||||
<u-icon name="more-dot-fill" size="40rpx" color="#303133"></u-icon>
|
||||
<text class="nav-finish-btn__text">{{ submitting ? '提交中...' : '完成盘点' }}</text>
|
||||
</view>
|
||||
</template>
|
||||
</page-nav>
|
||||
@ -129,26 +129,13 @@
|
||||
@confirm="handleRecordAddConfirm"
|
||||
/>
|
||||
|
||||
<!-- 右上角「...」操作菜单(参考 picking.vue) -->
|
||||
<count-actions-popup
|
||||
:show="showActionsPopup"
|
||||
:can-finish="canFinish"
|
||||
:can-cancel="canCancel"
|
||||
:can-submit="canSubmit"
|
||||
:submitting="submitting"
|
||||
@close="showActionsPopup = false"
|
||||
@finish="handleFinish"
|
||||
@cancel="handleCancel"
|
||||
@submit="handleSubmit"
|
||||
/>
|
||||
|
||||
<!-- 完成盘点确认弹窗(自定义样式) -->
|
||||
<u-popup
|
||||
:show="showFinishConfirm"
|
||||
mode="center"
|
||||
:closeable="true"
|
||||
:closeOnClickOverlay="false"
|
||||
border-radius="20"
|
||||
round="20"
|
||||
@close="cancelFinish"
|
||||
>
|
||||
<view class="finish-confirm-popup">
|
||||
@ -175,7 +162,7 @@
|
||||
mode="center"
|
||||
:closeable="true"
|
||||
:closeOnClickOverlay="false"
|
||||
border-radius="20"
|
||||
round="20"
|
||||
@close="cancelMarkEmpty"
|
||||
>
|
||||
<view class="mark-empty-confirm-popup">
|
||||
@ -202,7 +189,7 @@
|
||||
mode="center"
|
||||
:closeable="true"
|
||||
:closeOnClickOverlay="false"
|
||||
border-radius="20"
|
||||
round="20"
|
||||
@close="cancelAllLocations"
|
||||
>
|
||||
<view class="all-locations-confirm-popup">
|
||||
@ -232,7 +219,6 @@ import CountGoodsCard from './inventoryCount-comps/CountGoodsCard.vue';
|
||||
import CountLocationGrid from './inventoryCount-comps/CountLocationGrid.vue';
|
||||
import CountDetailPicker from './inventoryCount-comps/CountDetailPicker.vue';
|
||||
import CountRecordAddPopup from './inventoryCount-comps/CountRecordAddPopup.vue';
|
||||
import CountActionsPopup from './inventoryCount-comps/CountActionsPopup.vue';
|
||||
import {
|
||||
normalizeScanResult,
|
||||
extractObjectPayload,
|
||||
@ -255,8 +241,7 @@ export default {
|
||||
CountGoodsCard,
|
||||
CountLocationGrid,
|
||||
CountDetailPicker,
|
||||
CountRecordAddPopup,
|
||||
CountActionsPopup
|
||||
CountRecordAddPopup
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -271,7 +256,6 @@ export default {
|
||||
loading: false,
|
||||
refreshing: false,
|
||||
submitting: false,
|
||||
showActionsPopup: false,
|
||||
showFinishConfirm: false,
|
||||
showMarkEmptyConfirm: false,
|
||||
markEmptyTarget: null,
|
||||
@ -302,17 +286,6 @@ export default {
|
||||
canFinish() {
|
||||
return this.status === 'approved' || this.status === 'checking';
|
||||
},
|
||||
canCancel() {
|
||||
return this.status === 'created' || this.status === 'submitted' || this.status === 'rejected';
|
||||
},
|
||||
// created/rejected → 可提交审核
|
||||
canSubmit() {
|
||||
return this.status === 'created' || this.status === 'rejected';
|
||||
},
|
||||
// 是否有可执行的操作(只读状态不展示菜单入口)
|
||||
hasActions() {
|
||||
return this.canFinish || this.canCancel || this.canSubmit;
|
||||
},
|
||||
// 作业列表行级「标记空库位」确认文案
|
||||
markEmptyText() {
|
||||
const row = this.markEmptyTarget;
|
||||
@ -376,7 +349,7 @@ export default {
|
||||
},
|
||||
// 切换按钮文案 = 点击后会切到的模式(明确指引,不歧义)
|
||||
workModeText() {
|
||||
return this.workMode === 'goods' ? '切换为:库位模式' : '切换为:商品模式';
|
||||
return this.workMode === 'goods' ? '库位模式' : '商品模式';
|
||||
},
|
||||
// Tab 列表(参考收货)
|
||||
tabs() {
|
||||
@ -930,10 +903,6 @@ export default {
|
||||
this.loading = false;
|
||||
}
|
||||
},
|
||||
openActionsPopup() {
|
||||
if (!this.hasActions || this.submitting) return;
|
||||
this.showActionsPopup = true;
|
||||
},
|
||||
/** 语音播报(复用全局 $tools.speakText,受 voice.enabled 开关控制) */
|
||||
speakMessage(message, options = {}) {
|
||||
const text = String(message || '').trim();
|
||||
@ -950,8 +919,7 @@ export default {
|
||||
}
|
||||
},
|
||||
handleFinish() {
|
||||
this.showActionsPopup = false;
|
||||
if (this.submitting || !this.taskId) return;
|
||||
if (this.submitting || !this.taskId || !this.canFinish) return;
|
||||
this.showFinishConfirm = true;
|
||||
},
|
||||
cancelFinish() {
|
||||
@ -993,51 +961,6 @@ export default {
|
||||
this.submitting = false;
|
||||
}
|
||||
},
|
||||
handleCancel() {
|
||||
this.showActionsPopup = false;
|
||||
if (this.submitting || !this.taskId) return;
|
||||
uni.showModal({
|
||||
title: '取消盘点任务',
|
||||
content: '确定取消该盘点任务?取消后不可恢复。',
|
||||
confirmText: '确定取消',
|
||||
cancelText: '再想想',
|
||||
success: async (res) => {
|
||||
if (!res.confirm) return;
|
||||
await this.doStatusAction('check.cancel', '已取消');
|
||||
}
|
||||
});
|
||||
},
|
||||
handleSubmit() {
|
||||
this.showActionsPopup = false;
|
||||
if (this.submitting || !this.taskId) return;
|
||||
uni.showModal({
|
||||
title: '提交审核',
|
||||
content: '确认提交该盘点任务进行审核?提交后待审核,期间不可修改明细。',
|
||||
confirmText: '提交',
|
||||
cancelText: '再想想',
|
||||
success: async (res) => {
|
||||
if (!res.confirm) return;
|
||||
await this.doStatusAction('check.submit', '已提交审核');
|
||||
}
|
||||
});
|
||||
},
|
||||
async doStatusAction(api, successText) {
|
||||
this.submitting = true;
|
||||
try {
|
||||
const response = await this.$http(api, { id: Number(this.taskId) });
|
||||
if (response?.flag === 'failure') {
|
||||
uni.showToast({ title: response.message || '操作失败', icon: 'none' });
|
||||
return;
|
||||
}
|
||||
uni.showToast({ title: successText, icon: 'success' });
|
||||
setTimeout(() => uni.navigateBack({ delta: 1, fail: () => {} }), 600);
|
||||
} catch (error) {
|
||||
console.error(`[inventoryCountDetail] ${api} 失败:`, error);
|
||||
uni.showToast({ title: '操作失败', icon: 'none' });
|
||||
} finally {
|
||||
this.submitting = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@ -1055,6 +978,11 @@ export default {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* 顶部标题栏字号 */
|
||||
::v-deep .nav-title .title {
|
||||
font-size: 36rpx;
|
||||
}
|
||||
|
||||
/* Tab 切换(参考收货);右侧为商品任务的作业视图切换 */
|
||||
.tabs-container {
|
||||
flex-shrink: 0;
|
||||
@ -1079,11 +1007,11 @@ export default {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 56rpx;
|
||||
margin: 0 20rpx;
|
||||
padding: 0 20rpx;
|
||||
height: 52rpx;
|
||||
margin: 0 16rpx;
|
||||
padding: 0 18rpx;
|
||||
box-sizing: border-box;
|
||||
border-radius: 999rpx;
|
||||
border-radius: 8rpx;
|
||||
background: #eef4ff;
|
||||
border: 1rpx solid #cfe1ff;
|
||||
|
||||
@ -1093,7 +1021,7 @@ export default {
|
||||
}
|
||||
|
||||
.tabs-container__switch-text {
|
||||
font-size: 30rpx;
|
||||
font-size: 34rpx;
|
||||
line-height: 1;
|
||||
color: #2979ff;
|
||||
white-space: nowrap;
|
||||
@ -1149,13 +1077,13 @@ export default {
|
||||
}
|
||||
|
||||
.goods-list__head-title {
|
||||
font-size: 26rpx;
|
||||
font-weight: 600;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
.goods-list__head-hint {
|
||||
font-size: 24rpx;
|
||||
font-size: 30rpx;
|
||||
color: #c0c4cc;
|
||||
}
|
||||
|
||||
@ -1201,7 +1129,7 @@ export default {
|
||||
|
||||
.detail-footer__btn-text {
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@ -1210,16 +1138,27 @@ export default {
|
||||
height: 20rpx;
|
||||
}
|
||||
|
||||
/* 右上角「...」菜单入口 */
|
||||
.nav-more-btn {
|
||||
width: 64rpx;
|
||||
/* 右上角「完成盘点」按钮入口 */
|
||||
.nav-finish-btn {
|
||||
height: 64rpx;
|
||||
padding: 0 20rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
background: #2979ff;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
|
||||
.nav-more-btn--disabled {
|
||||
.nav-finish-btn__text {
|
||||
font-size: 36rpx;
|
||||
font-weight: 500;
|
||||
color: #ffffff;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.nav-finish-btn--disabled {
|
||||
opacity: 0.45;
|
||||
pointer-events: none;
|
||||
}
|
||||
@ -1235,7 +1174,7 @@ export default {
|
||||
|
||||
.finish-confirm-popup__title {
|
||||
font-size: 42rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
text-align: center;
|
||||
margin-bottom: 32rpx;
|
||||
@ -1301,7 +1240,7 @@ export default {
|
||||
|
||||
.mark-empty-confirm-popup__title {
|
||||
font-size: 42rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
text-align: center;
|
||||
margin-bottom: 32rpx;
|
||||
@ -1367,7 +1306,7 @@ export default {
|
||||
|
||||
.all-locations-confirm-popup__title {
|
||||
font-size: 42rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
text-align: center;
|
||||
margin-bottom: 32rpx;
|
||||
|
||||
@ -98,7 +98,7 @@
|
||||
mode="center"
|
||||
:closeable="true"
|
||||
:closeOnClickOverlay="false"
|
||||
border-radius="20"
|
||||
round="20"
|
||||
@close="cancelDeleteRecord"
|
||||
>
|
||||
<view class="delete-confirm-popup">
|
||||
@ -715,6 +715,11 @@ export default {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* 顶部标题栏字号 */
|
||||
::v-deep .nav-title .title {
|
||||
font-size: 36rpx;
|
||||
}
|
||||
|
||||
/* 数量录入条(紧接 CountSearchPanel,同一白底 + 分隔线视觉) */
|
||||
.inv-goods-scroll {
|
||||
flex: 1;
|
||||
@ -773,7 +778,7 @@ export default {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-size: 38rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
line-height: 1.3;
|
||||
overflow: hidden;
|
||||
@ -825,7 +830,7 @@ export default {
|
||||
.inv-goods-card__diff {
|
||||
margin-right: 20rpx;
|
||||
font-size: 34rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.inv-goods-card__diff--gain {
|
||||
@ -839,7 +844,7 @@ export default {
|
||||
/* 另一种账面口径提示(静态看当前库存 / 普通看基准快照) */
|
||||
.inv-goods-card__hint {
|
||||
margin-right: 20rpx;
|
||||
font-size: 28rpx;
|
||||
font-size: 30rpx;
|
||||
color: #b8811a;
|
||||
}
|
||||
|
||||
@ -849,7 +854,7 @@ export default {
|
||||
background: #fff8e6;
|
||||
border: 2rpx solid #ffe1a8;
|
||||
border-radius: 16rpx;
|
||||
font-size: 28rpx;
|
||||
font-size: 30rpx;
|
||||
color: #b8811a;
|
||||
text-align: center;
|
||||
}
|
||||
@ -869,7 +874,7 @@ export default {
|
||||
|
||||
.delete-confirm-popup__title {
|
||||
font-size: 42rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
text-align: center;
|
||||
margin-bottom: 32rpx;
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
<view class="normar_container">
|
||||
<page-nav :title="navTitle">
|
||||
<template #right>
|
||||
<view v-if="editable" class="nav-more-btn" :class="{ 'nav-more-btn--disabled': submitting }" @click="showActionsPopup = true">
|
||||
<u-icon name="more-dot-fill" size="40rpx" color="#303133"></u-icon>
|
||||
<view v-if="editable" class="nav-mark-empty-btn" :class="{ 'nav-mark-empty-btn--disabled': submitting }" @click="handleMarkEmpty">
|
||||
<text class="nav-mark-empty-btn__text">空库位</text>
|
||||
</view>
|
||||
</template>
|
||||
</page-nav>
|
||||
@ -56,16 +56,6 @@
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
||||
<!-- 右上角「...」菜单(标记空库位收在这里) -->
|
||||
<count-actions-popup
|
||||
:show="showActionsPopup"
|
||||
title="库位操作"
|
||||
:can-mark-empty="editable"
|
||||
:submitting="submitting"
|
||||
@close="showActionsPopup = false"
|
||||
@mark-empty="handleMenuMarkEmpty"
|
||||
/>
|
||||
|
||||
<!-- 添加商品记录(stock.check.report) -->
|
||||
<count-record-add-popup
|
||||
ref="recordAddPopup"
|
||||
@ -85,7 +75,7 @@
|
||||
mode="center"
|
||||
:closeable="true"
|
||||
:closeOnClickOverlay="false"
|
||||
border-radius="20"
|
||||
round="20"
|
||||
@close="cancelMarkEmpty"
|
||||
>
|
||||
<view class="mark-empty-confirm-popup">
|
||||
@ -112,7 +102,7 @@
|
||||
mode="center"
|
||||
:closeable="true"
|
||||
:closeOnClickOverlay="false"
|
||||
border-radius="20"
|
||||
round="20"
|
||||
@close="cancelDeleteRecord"
|
||||
>
|
||||
<view class="delete-confirm-popup">
|
||||
@ -139,7 +129,6 @@
|
||||
import CountSearchPanel from './inventoryCount-comps/CountSearchPanel.vue';
|
||||
import CountLocationDetail from './inventoryCount-comps/CountLocationDetail.vue';
|
||||
import CountRecordAddPopup from './inventoryCount-comps/CountRecordAddPopup.vue';
|
||||
import CountActionsPopup from './inventoryCount-comps/CountActionsPopup.vue';
|
||||
import {
|
||||
normalizeScanResult,
|
||||
extractObjectPayload,
|
||||
@ -159,8 +148,7 @@ export default {
|
||||
components: {
|
||||
CountSearchPanel,
|
||||
CountLocationDetail,
|
||||
CountRecordAddPopup,
|
||||
CountActionsPopup
|
||||
CountRecordAddPopup
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -174,7 +162,6 @@ export default {
|
||||
refreshing: false,
|
||||
scanKeyword: '',
|
||||
showRecordAdd: false,
|
||||
showActionsPopup: false,
|
||||
showMarkEmptyConfirm: false,
|
||||
showDeleteRecordConfirm: false,
|
||||
deleteRecordTarget: null,
|
||||
@ -307,11 +294,6 @@ export default {
|
||||
this.showRecordAdd = false;
|
||||
this.pendingBarcode = '';
|
||||
},
|
||||
// 右上角菜单:标记空库位(先关菜单再确认)
|
||||
handleMenuMarkEmpty() {
|
||||
this.showActionsPopup = false;
|
||||
this.handleMarkEmpty();
|
||||
},
|
||||
handleMarkEmpty() {
|
||||
if (!this.detailId) {
|
||||
uni.showToast({ title: '缺少盘点明细ID', icon: 'none' });
|
||||
@ -547,6 +529,11 @@ export default {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* 顶部标题栏字号 */
|
||||
::v-deep .nav-title .title {
|
||||
font-size: 36rpx;
|
||||
}
|
||||
|
||||
.inv-loc-scroll {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
@ -605,16 +592,27 @@ export default {
|
||||
height: 20rpx;
|
||||
}
|
||||
|
||||
/* 右上角「...」菜单入口 */
|
||||
.nav-more-btn {
|
||||
width: 64rpx;
|
||||
/* 右上角「空库位」按钮(参考完成盘点按钮样式,红色背景) */
|
||||
.nav-mark-empty-btn {
|
||||
height: 64rpx;
|
||||
padding: 0 20rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
background: #f56c6c;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
|
||||
.nav-more-btn--disabled {
|
||||
.nav-mark-empty-btn__text {
|
||||
font-size: 36rpx;
|
||||
font-weight: 500;
|
||||
color: #ffffff;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.nav-mark-empty-btn--disabled {
|
||||
opacity: 0.45;
|
||||
pointer-events: none;
|
||||
}
|
||||
@ -630,7 +628,7 @@ export default {
|
||||
|
||||
.mark-empty-confirm-popup__title {
|
||||
font-size: 42rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
text-align: center;
|
||||
margin-bottom: 32rpx;
|
||||
@ -696,7 +694,7 @@ export default {
|
||||
|
||||
.delete-confirm-popup__title {
|
||||
font-size: 42rpx;
|
||||
font-weight: 600;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
text-align: center;
|
||||
margin-bottom: 32rpx;
|
||||
|
||||
@ -434,6 +434,11 @@ export default {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* 顶部标题栏字号 */
|
||||
::v-deep .nav-title .title {
|
||||
font-size: 36rpx;
|
||||
}
|
||||
|
||||
.inv-space-scroll {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
@ -483,7 +488,7 @@ export default {
|
||||
background: #fff8e6;
|
||||
border: 2rpx solid #ffe1a8;
|
||||
border-radius: 16rpx;
|
||||
font-size: 28rpx;
|
||||
font-size: 30rpx;
|
||||
color: #b8811a;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@ -587,7 +587,7 @@ export default {
|
||||
}
|
||||
|
||||
.header__title {
|
||||
font-size: 32rpx;
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
}
|
||||
@ -628,6 +628,10 @@ export default {
|
||||
padding-right: 200rpx;
|
||||
}
|
||||
|
||||
::v-deep .u-search__content__input {
|
||||
font-size: 34rpx;
|
||||
}
|
||||
|
||||
::v-deep .u-search__content__close {
|
||||
margin-right: 12rpx;
|
||||
}
|
||||
@ -671,7 +675,7 @@ export default {
|
||||
flex-shrink: 0;
|
||||
|
||||
&__text {
|
||||
font-size: 30rpx;
|
||||
font-size: 34rpx;
|
||||
font-weight: 500;
|
||||
color: #2979ff;
|
||||
line-height: 1;
|
||||
@ -708,20 +712,21 @@ export default {
|
||||
|
||||
.line__value--space {
|
||||
font-size: 50rpx;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
/* 库位名称显示 */
|
||||
.line--space {
|
||||
margin: 12rpx 12rpx 0;
|
||||
background: #07c160;
|
||||
background: #ffffff;
|
||||
border-radius: 16rpx;
|
||||
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
.line--space .line__label {
|
||||
color: #ffffff;
|
||||
font-size: 34rpx;
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
/* 商品列表 */
|
||||
@ -828,19 +833,41 @@ export default {
|
||||
}
|
||||
|
||||
.line--count__half--left {
|
||||
background: #f56c6c;
|
||||
background: #fef0f0;
|
||||
}
|
||||
|
||||
.line--count__half--right {
|
||||
background: #2979ff;
|
||||
background: #eef4ff;
|
||||
}
|
||||
|
||||
.line--count__half .line__label,
|
||||
.line--count__half .line__value {
|
||||
color: #ffffff;
|
||||
.line--count__half--left .line__label {
|
||||
color: #e74c3c;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.line--count__half--left .line__value {
|
||||
color: #e74c3c;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.line--count__half--right .line__label {
|
||||
color: #2979ff;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.line--count__half--right .line__value {
|
||||
color: #2979ff;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
text-decoration-color: rgba(41, 121, 255, 0.45);
|
||||
}
|
||||
|
||||
.line--count__half .line__label {
|
||||
font-size: 36rpx;
|
||||
}
|
||||
|
||||
.line--count__half .line__value {
|
||||
font-size: 40rpx;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
@ -1,36 +1,41 @@
|
||||
<template>
|
||||
<view class="block-registration-page">
|
||||
<view class="normar_container">
|
||||
<page-nav title="拦截登记">
|
||||
<template #left>
|
||||
<!-- 顶部标题栏(参考分拣缺货补货) -->
|
||||
<view class="status-bar"></view>
|
||||
<view class="page-header">
|
||||
<view class="back-btn" @click="handleBack">
|
||||
<u-icon name="arrow-left" size="18" color="#333"></u-icon>
|
||||
</view>
|
||||
<text class="header-title">拦截登记</text>
|
||||
<view class="header-side header-side--right">
|
||||
<view
|
||||
class="nav-manual-input"
|
||||
:class="{ 'nav-manual-input--inactive': !showScanInput }"
|
||||
class="header-side__btn"
|
||||
:class="{ 'header-side__btn--active': showScanInput }"
|
||||
@click="toggleScanInput"
|
||||
>
|
||||
<text class="nav-manual-input-text">{{ showScanInput ? '关闭手动输入' : '手动输入' }}</text>
|
||||
<text class="header-side__btn-text">输入框</text>
|
||||
</view>
|
||||
</template>
|
||||
<template #right>
|
||||
<view class="nav-reset" @click="handleReset">
|
||||
<text class="nav-reset-text">重置</text>
|
||||
</view>
|
||||
</template>
|
||||
</page-nav>
|
||||
<view class="header-btn-reset" @click="handleReset">重置</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 扫码输入区 -->
|
||||
<view class="scan-section" v-show="showScanInput">
|
||||
<view class="scan-input-wrap">
|
||||
<u-input
|
||||
<!-- 搜索框(参考分拣缺货补货) -->
|
||||
<view class="search-bar" v-show="showScanInput">
|
||||
<view class="search-bar__input-wrap">
|
||||
<u-search
|
||||
v-model="scanInput"
|
||||
placeholder="扫描/输入快递单号"
|
||||
border="surround"
|
||||
:customStyle="{ flex: 1 }"
|
||||
:focus="scanFocused"
|
||||
@confirm="handleScanConfirm"
|
||||
></u-input>
|
||||
<view class="scan-camera-btn" @click="handleCameraScan">
|
||||
<u-icon name="camera" size="22" color="#2979ff"></u-icon>
|
||||
bg-color="#f5f5f5"
|
||||
shape="round"
|
||||
:show-action="false"
|
||||
@search="handleSearchAction"
|
||||
@clear="handleSearchAction"
|
||||
></u-search>
|
||||
<view class="search-bar__actions">
|
||||
<view class="search-bar__btn" @click="handleSearchAction">
|
||||
<text class="search-bar__btn__text">搜索</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -125,6 +130,11 @@ import voice from '@/core/utils/voice';
|
||||
}
|
||||
});
|
||||
},
|
||||
handleSearchAction() {
|
||||
const code = String(this.scanInput || '').trim();
|
||||
if (!code) return;
|
||||
this.fetchInterceptScan(code);
|
||||
},
|
||||
speakVoice(text) {
|
||||
voice.speak(text, { minInterval: 800 });
|
||||
},
|
||||
@ -150,7 +160,10 @@ import voice from '@/core/utils/voice';
|
||||
uni.showToast({ title: '拦截登记成功', icon: 'success' });
|
||||
this.speakVoice('拦截成功');
|
||||
} else {
|
||||
uni.showToast({ title: res.msg || '拦截登记失败', icon: 'none' });
|
||||
const rawMsg = String((res && (res.message || res.msg)) || '').trim();
|
||||
const failMsg = rawMsg.replace(/^接口错误[::]?\s*/, '').trim();
|
||||
const title = failMsg.includes('非拦截订单') ? '非拦截订单' : (failMsg || '拦截登记失败');
|
||||
uni.showToast({ title, icon: 'none' });
|
||||
this.speakVoice('非拦截订单');
|
||||
}
|
||||
} catch (e) {
|
||||
@ -179,91 +192,163 @@ import voice from '@/core/utils/voice';
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.block-registration-page {
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #f5f7fa;
|
||||
overflow: hidden;
|
||||
|
||||
.normar_container {
|
||||
min-height: 100vh;
|
||||
background-color: #f5f5f5;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
background-color: #f5f7fa;
|
||||
}
|
||||
|
||||
/* ===== 左侧手动输入按钮 ===== */
|
||||
::v-deep .nav-title .left {
|
||||
min-width: auto;
|
||||
gap: 0;
|
||||
/* ===== 顶部标题栏(参考分拣缺货补货) ===== */
|
||||
.status-bar {
|
||||
height: var(--status-bar-height);
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
::v-deep .nav-title .title {
|
||||
padding-left: 40rpx;
|
||||
.page-header {
|
||||
position: relative;
|
||||
height: 88rpx;
|
||||
padding: 0 24rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: #ffffff;
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
::v-deep .nav-title .right {
|
||||
width: auto;
|
||||
min-width: 80rpx;
|
||||
}
|
||||
|
||||
.nav-manual-input {
|
||||
.back-btn {
|
||||
flex-shrink: 0;
|
||||
width: 56rpx;
|
||||
height: 56rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 210rpx;
|
||||
height: 52rpx;
|
||||
background: #fa8c16;
|
||||
}
|
||||
|
||||
.header-side {
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.header-side .header-side__btn + .header-btn-reset {
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
|
||||
.header-side__btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 12rpx 28rpx;
|
||||
border-radius: 8rpx;
|
||||
background: #2979ff;
|
||||
}
|
||||
|
||||
&--inactive {
|
||||
background: #2979ff;
|
||||
.header-side__btn--active {
|
||||
background: #fa8c16;
|
||||
}
|
||||
|
||||
.header-side__btn-text {
|
||||
font-size: 36rpx;
|
||||
color: #ffffff;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.header-side--right {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.header-title {
|
||||
flex: 1;
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.header-btn-reset {
|
||||
padding: 14rpx 28rpx;
|
||||
background: #2979ff;
|
||||
color: #ffffff;
|
||||
font-size: 36rpx;
|
||||
border-radius: 8rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* ===== 搜索框(参考分拣缺货补货) ===== */
|
||||
.search-bar {
|
||||
padding: 20rpx;
|
||||
background: #ffffff;
|
||||
border-bottom: 1rpx solid #f2f2f2;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.search-bar__input-wrap {
|
||||
position: relative;
|
||||
|
||||
::v-deep .u-search {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.nav-manual-input-text {
|
||||
font-size: 32rpx;
|
||||
color: #ffffff;
|
||||
white-space: nowrap;
|
||||
::v-deep .u-search__content {
|
||||
padding-right: 110rpx;
|
||||
}
|
||||
|
||||
::v-deep .u-search__content__input {
|
||||
font-size: 34rpx;
|
||||
}
|
||||
|
||||
::v-deep .u-search__content__close {
|
||||
margin-right: 12rpx;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== 重置按钮 ===== */
|
||||
.nav-reset {
|
||||
padding: 8rpx 0;
|
||||
|
||||
.nav-reset-text {
|
||||
font-size: 32rpx;
|
||||
color: #fff;
|
||||
background-color: #2979ff;
|
||||
padding: 8rpx 24rpx;
|
||||
border-radius: 8rpx;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.search-bar__actions {
|
||||
position: absolute;
|
||||
right: 24rpx;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
height: 68rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* ===== 扫码输入区 ===== */
|
||||
.scan-section {
|
||||
padding: 20rpx 24rpx;
|
||||
background: #fff;
|
||||
margin-bottom: 16rpx;
|
||||
.search-bar__btn {
|
||||
height: 68rpx;
|
||||
padding: 0 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
|
||||
.scan-input-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16rpx;
|
||||
&__text {
|
||||
font-size: 34rpx;
|
||||
font-weight: 500;
|
||||
color: #2979ff;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.scan-camera-btn {
|
||||
width: 72rpx;
|
||||
height: 72rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #f0f7ff;
|
||||
border-radius: 8rpx;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
&:active {
|
||||
opacity: 0.88;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== 信息展示列表 ===== */
|
||||
.info-list {
|
||||
background: #fff;
|
||||
margin: 0 24rpx 16rpx;
|
||||
margin: 60rpx 24rpx 16rpx;
|
||||
|
||||
&--no-scan {
|
||||
margin-top: 20rpx;
|
||||
margin-top: 60rpx;
|
||||
}
|
||||
border-radius: 12rpx;
|
||||
overflow: hidden;
|
||||
@ -284,7 +369,7 @@ import voice from '@/core/utils/voice';
|
||||
}
|
||||
|
||||
.info-label {
|
||||
font-size: 32rpx;
|
||||
font-size: 36rpx;
|
||||
color: #000;
|
||||
width: 160rpx;
|
||||
flex-shrink: 0;
|
||||
@ -292,7 +377,7 @@ import voice from '@/core/utils/voice';
|
||||
}
|
||||
|
||||
.info-value {
|
||||
font-size: 32rpx;
|
||||
font-size: 40rpx;
|
||||
color: #000;
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user