diff --git a/components/search/search.vue b/components/search/search.vue
index 535083c4..87c49aa6 100644
--- a/components/search/search.vue
+++ b/components/search/search.vue
@@ -2,7 +2,7 @@
-
+
@@ -103,17 +103,17 @@
\ No newline at end of file
diff --git a/components/user-base/user-base.vue b/components/user-base/user-base.vue
index 6edb14f0..6491d01b 100644
--- a/components/user-base/user-base.vue
+++ b/components/user-base/user-base.vue
@@ -74,7 +74,6 @@
client: app.globalData.get_config('config.common_app_user_base_popup_client', []),
integral_time: parseInt(app.globalData.get_config('config.common_app_user_base_popup_integral_time', 1800))
});
- console.log(this.pages, this.client)
} else {
app.globalData.is_config(this, 'init_config');
}
diff --git a/pages/extraction-address/extraction-address.vue b/pages/extraction-address/extraction-address.vue
index 6b1bddac..23e9ef4d 100644
--- a/pages/extraction-address/extraction-address.vue
+++ b/pages/extraction-address/extraction-address.vue
@@ -84,7 +84,7 @@
});
// #ifndef MP-KUAISHOU
- // 是否获取位置
+ // 是否获取位置、下单选择地址进入需要传参 is_buy
if ((this.params.is_buy || 0) == 1 && this.home_extraction_address_position == 1) {
uni.navigateTo({
url: '/pages/common/open-setting-location/open-setting-location'
@@ -95,7 +95,7 @@
onShow() {
// #ifndef MP-KUAISHOU
- // 是否需要选择地理位置
+ // 是否需要选择地理位置、这里不校验参数is_buy,仅页面进入才需要校验is_buy进入位置选择页面
if (this.home_extraction_address_position == 1) {
// 首次不请求数据
if (this.is_first == 0) {
diff --git a/pages/goods-category/goods-category.css b/pages/goods-category/goods-category.css
index e3c1a212..8afae6f0 100644
--- a/pages/goods-category/goods-category.css
+++ b/pages/goods-category/goods-category.css
@@ -105,6 +105,9 @@
right: 0;
background: #f5f5f5;
}
+.goods-right-content.category-one-subset-content {
+ width: 100%;
+}
.goods-right-content .word-list {
position: sticky;
top: 0;
diff --git a/pages/goods-category/goods-category.vue b/pages/goods-category/goods-category.vue
index ed8bb78e..1ed5ff51 100644
--- a/pages/goods-category/goods-category.vue
+++ b/pages/goods-category/goods-category.vue
@@ -40,7 +40,7 @@
-
+
@@ -57,7 +57,7 @@
-
+
@@ -331,6 +331,7 @@
scroll_top_old: 0,
cart_status: false,
goods_choose_data: {},
+ category_one_subset_count: 0,
// 基础配置
category_show_level: 0,
// 自定义分享信息
@@ -418,14 +419,21 @@
var data = res.data.data;
var index = this.nav_active_index;
var temp_category = data.category || [];
+ // 全部分类子集数量
+ var category_one_subset_count = 0;
// 是否指定分类
var tabbar_params = this.tabbar_params;
- if(temp_category.length > 0 && (tabbar_params || null) != null && (tabbar_params.id || null) != null) {
+ if(temp_category.length > 0) {
for(var i in temp_category) {
- if(temp_category[i]['id'] == tabbar_params.id) {
+ // 是否指定分类
+ if((tabbar_params || null) != null && (tabbar_params.id || null) != null && temp_category[i]['id'] == tabbar_params.id) {
index = i;
break;
}
+ // 是否全部数据都无二级
+ if((temp_category[i]['items'] || null) != null && temp_category[i]['items'].length > 0) {
+ category_one_subset_count++;
+ }
}
}
// 设置分类及右侧数据和及基础数据
@@ -433,6 +441,7 @@
category_list: temp_category,
data_content: temp_category[index] || null,
nav_active_index: index,
+ category_one_subset_count: category_one_subset_count,
plugins_label_data: (data.plugins_label_data || null) == null || (data.plugins_label_data.base || null) == null || (data.plugins_label_data.data || null) == null || data.plugins_label_data.data.length <= 0 ? null : data.plugins_label_data,
}
// 指定分类则重新读取列表数据
diff --git a/pages/index/index.css b/pages/index/index.css
index b5668ac9..8567167b 100644
--- a/pages/index/index.css
+++ b/pages/index/index.css
@@ -12,7 +12,7 @@
}
.home-top-nav-logo {
text-align: left;
- padding: 2px 250rpx 0 20rpx;
+ padding: 2px 250rpx 10rpx 20rpx;
height: 37px;
/* #ifdef H5 || MP-TOUTIAO || APP */
padding-top: 0;
@@ -20,7 +20,7 @@
}
.home-top-nav-logo-image {
width: 240rpx;
- height: 70rpx !important;
+ height: 100% !important;
}
.home-top-nav-logo-title {
font-weight: bold;
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 6cd35c4c..b8fe7e6a 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -7,7 +7,7 @@
-
+
{{application_title}}