diff --git a/public/img/product-image.svg b/public/img/product-image.svg index f12a898..568f6e0 100644 --- a/public/img/product-image.svg +++ b/public/img/product-image.svg @@ -1,6 +1,8 @@ - - 空闲 - \ No newline at end of file + + 空闲 + 小格 + \ No newline at end of file diff --git a/src/views/cabinet/smart-cabinet-card/detail.vue b/src/views/cabinet/smart-cabinet-card/detail.vue index 9d6aac8..1e11698 100644 --- a/src/views/cabinet/smart-cabinet-card/detail.vue +++ b/src/views/cabinet/smart-cabinet-card/detail.vue @@ -267,7 +267,7 @@ onMounted(() => { {{ cabinetInfo.cabinetName }} {{ getModeText(cabinetInfo.mode) }} {{ CabinetImgMap[cabinetInfo.templateNo]?.name || '-' - }} + }} {{ cabinetInfo.usedCells || '0' }} {{ cabinetInfo.availableCells || '0' }} {{ cabinetInfo.shopName || '-' }} @@ -293,7 +293,7 @@ onMounted(() => { {{ cabinetInfo.cabinetName || '-' }} {{ getModeText(cabinetInfo.mode) }} {{ CabinetImgMap[cabinetInfo.templateNo]?.name || '-' - }} + }} {{ cabinetInfo.shopName || '-' }} 配置 @@ -303,7 +303,7 @@ onMounted(() => { 配置 {{ getBalanceEnableText(cabinetInfo.balanceEnable) - }} + }} @@ -331,24 +331,37 @@ onMounted(() => {
- + + + + + + 空闲 + {{ switchCellType(item.cellType) }} +
格口号: {{ item.cellNo }}
-
{{ item.goodsId ? item.goodsName : '未配置商品' }}
价格: {{ item.price }}
库存: {{ item.stock }}
-
类型: {{ switchCellType(item.cellType) }}
+
+ +
+
+ + {{ item.cellNo }}
- 商品配置 - - 编辑格口 + {{ item.goodsName }} @@ -145,7 +143,9 @@ onMounted(() => {
- + + {{ item.cabinetName }} +
@@ -229,6 +229,10 @@ onMounted(() => { border: 0; margin-top: auto; padding: 8px 0; + + &:hover { + color: var(--el-color-primary); + } } }