版本号升级 1.0.140 + 盘点/补货页面字号与状态色调整
- 升级应用版本号至 1.0.140(package.json、manifest.json) - 盘点列表工具栏:状态筛选激活态按状态色调显示(待盘点=蓝/盘点中=橙/已完成=绿),并与卡片状态色保持一致 - 盘点列表工具栏:搜索框、筛选按钮字号调整(30→34rpx) - 盘点汇总面板:分组标题字号调整(30→32rpx) - 盘点详情页:tabs 文字字号调整为 34rpx - 补货短少页:列表文字字号调整(34→36rpx)
This commit is contained in:
parent
422231132e
commit
cd5b6a0e63
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "wms-pda",
|
||||
"version": "1.0.139",
|
||||
"version": "1.0.140",
|
||||
"private": true,
|
||||
"description": "天豹云仓 WMS_PDA(uni-app Vue2 + @vue/cli 4.5)",
|
||||
"scripts": {
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
"name" : "WMS_PDA",
|
||||
"appid" : "__UNI__0B3DAD3",
|
||||
"description" : "多平台快速开发的UI框架",
|
||||
"versionName" : "1.0.139",
|
||||
"versionCode" : 1000139,
|
||||
"versionName" : "1.0.140",
|
||||
"versionCode" : 1000140,
|
||||
"transformPx" : false,
|
||||
"app-plus" : {
|
||||
"statusbar" : {
|
||||
|
||||
@ -1099,7 +1099,7 @@
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
margin-right: 16rpx;
|
||||
font-size: 34rpx;
|
||||
font-size: 36rpx;
|
||||
color: #303133;
|
||||
line-height: 1.4;
|
||||
word-break: break-all;
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
v-for="opt in statusOptions"
|
||||
:key="opt.value"
|
||||
class="filter-group__item"
|
||||
:class="{ 'filter-group__item--active': statusFilter === opt.value }"
|
||||
:class="filterItemClass(opt)"
|
||||
@click="$emit('status-change', opt.value)"
|
||||
>
|
||||
<text class="filter-group__item-text">{{ opt.label }}</text>
|
||||
@ -38,6 +38,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { statusTone } from './countModel.js';
|
||||
|
||||
/** 盘点列表顶部工具栏:关键字搜索/扫码 + 状态筛选(支持 v-model 绑定关键字) */
|
||||
export default {
|
||||
name: 'CountListToolbar',
|
||||
@ -63,6 +65,17 @@ export default {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 状态筛选按钮的样式:激活时按状态色调与卡片状态保持统一
|
||||
filterItemClass(opt) {
|
||||
const classes = { 'filter-group__item--active': this.statusFilter === opt.value };
|
||||
if (this.statusFilter === opt.value) {
|
||||
const tone = statusTone(opt.value);
|
||||
if (tone) classes[`filter-group__item--tone-${tone}`] = true;
|
||||
}
|
||||
return classes;
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
@ -86,6 +99,10 @@ export default {
|
||||
padding-right: 200rpx;
|
||||
}
|
||||
|
||||
::v-deep .u-search__content__input {
|
||||
font-size: 34rpx;
|
||||
}
|
||||
|
||||
::v-deep .u-search__content__close {
|
||||
margin-right: 12rpx;
|
||||
}
|
||||
@ -174,9 +191,28 @@ export default {
|
||||
box-shadow: 0 4rpx 12rpx rgba(41, 121, 255, 0.28);
|
||||
}
|
||||
|
||||
/* 激活态色调与卡片状态一致:待盘点=蓝 / 盘点中=橙 / 已完成=绿 */
|
||||
.filter-group__item--active.filter-group__item--tone-strong {
|
||||
background: #2979ff;
|
||||
border-color: #2979ff;
|
||||
box-shadow: 0 4rpx 12rpx rgba(41, 121, 255, 0.28);
|
||||
}
|
||||
|
||||
.filter-group__item--active.filter-group__item--tone-warning {
|
||||
background: #ff9800;
|
||||
border-color: #ff9800;
|
||||
box-shadow: 0 4rpx 12rpx rgba(255, 152, 0, 0.28);
|
||||
}
|
||||
|
||||
.filter-group__item--active.filter-group__item--tone-success {
|
||||
background: #18a058;
|
||||
border-color: #18a058;
|
||||
box-shadow: 0 4rpx 12rpx rgba(24, 160, 88, 0.28);
|
||||
}
|
||||
|
||||
.filter-group__item-text {
|
||||
font-size: 30rpx;
|
||||
color: #303133;
|
||||
font-size: 34rpx;
|
||||
color: #606266;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
@ -116,7 +116,7 @@ export default {
|
||||
|
||||
.summary-panel__group {
|
||||
margin: 24rpx 0 6rpx;
|
||||
font-size: 30rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
color: #2979ff;
|
||||
|
||||
|
||||
@ -1068,6 +1068,10 @@ export default {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
|
||||
::v-deep .u-tabs__wrapper__nav__item__text {
|
||||
font-size: 34rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.tabs-container__switch {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user