diff --git a/src/App.vue b/src/App.vue index 82ee359..62a0aad 100644 --- a/src/App.vue +++ b/src/App.vue @@ -98,6 +98,10 @@ html { font-size: var(--el-font-size-base) !important; } +.el-popover__title { + font-size: var(--el-font-size-base) !important; +} + .el-dialog__header { background-color: #555; margin-right: 0 !important; diff --git a/src/views/home/components/goods.vue b/src/views/home/components/goods.vue index 0bd7e94..495bc38 100644 --- a/src/views/home/components/goods.vue +++ b/src/views/home/components/goods.vue @@ -7,11 +7,23 @@ {{ item.name }} -
- - - -
+ + + +
@@ -64,10 +76,17 @@ const commdityName = ref('') const originalGoods = ref([]) const goodsList = ref([]) +const showPopover = ref(false) + const inputChange = _.debounce(function () { productqueryCommodityInfoAjax() }, 500) +// 显示全部分类 +function showMoreMenu() { + showPopover.value = !showPopover.value +} + // 显示sku function showSkuHandle(item) { if (item.typeEnum == 'sku') { @@ -88,6 +107,7 @@ function changeShopListType() { // 切换分类 function changeCategory(item, index) { + showPopover.value = false categorysActive.value = index if (item.id) { goodsList.value = [] @@ -143,6 +163,12 @@ onMounted(async () => {