From 4099f6754900d9072a4c4290a656d76bd1d62c15 Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Tue, 23 Apr 2024 10:39:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=A6=E4=BE=A7=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 4 ++-- pages/category/index.vue | 21 ++++++++++++--------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/config.js b/config.js index 1aa3ac1..87db025 100644 --- a/config.js +++ b/config.js @@ -12,8 +12,8 @@ module.exports = { // product env // apiUrl: "http://10.24.4.14:80/", // apiUrl: "http://10.24.4.156/", - apiUrl: "./kk/", - // apiUrl: "http://192.168.66.219:8081/kk/", + // apiUrl: "./kk/", + apiUrl: "http://192.168.66.219:8081/kk/", /** * 是否启用商城设置缓存 diff --git a/pages/category/index.vue b/pages/category/index.vue index f434413..5fbfc50 100644 --- a/pages/category/index.vue +++ b/pages/category/index.vue @@ -12,9 +12,11 @@ - - {{ item.name }} - + + + {{ item.name }} + + @@ -572,12 +574,13 @@ // 左侧一级分类 .type-nav { - position: relative; + // position: relative; height: 180rpx; - z-index: 10; + // z-index: 10; font-size: 26rpx; display: flex; justify-content: center; + text-align: center; align-items: center; font-weight: bold; @@ -590,15 +593,15 @@ } .cate-left-image{ - position: absolute; + // position: absolute; width: 50rpx; height: 50rpx; border-radius: 10rpx; - margin-bottom: 20rpx; + margin-bottom: 10px; } .cate-left-text{ - position: absolute; - margin-top: 80rpx; + // position: absolute; + // margin-top: 5px; } }