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; } }