diff --git a/pages/goods-detail/goods-detail.vue b/pages/goods-detail/goods-detail.vue index da45bec1..66a8ee3a 100644 --- a/pages/goods-detail/goods-detail.vue +++ b/pages/goods-detail/goods-detail.vue @@ -324,7 +324,7 @@ 购买数量 - + - + diff --git a/pages/plugins/distribution/profit/profit.css b/pages/plugins/distribution/profit/profit.css index 3d7fe28c..e2b2e2fb 100644 --- a/pages/plugins/distribution/profit/profit.css +++ b/pages/plugins/distribution/profit/profit.css @@ -7,4 +7,11 @@ } .nav .item { width: 20%; +} + +/** +* 数据列表 +*/ +.scroll-box { + height: calc(100vh - 80rpx); } \ No newline at end of file diff --git a/pages/plugins/membershiplevelvip/profit/profit.css b/pages/plugins/membershiplevelvip/profit/profit.css index 47aab446..8d70932d 100644 --- a/pages/plugins/membershiplevelvip/profit/profit.css +++ b/pages/plugins/membershiplevelvip/profit/profit.css @@ -7,4 +7,11 @@ } .nav .item { width: 25%; +} + +/** +* 数据列表 +*/ +.scroll-box { + height: calc(100vh - 80rpx); } \ No newline at end of file diff --git a/pages/plugins/shop/index/index.css b/pages/plugins/shop/index/index.css index 7b6322b0..be8bbe71 100644 --- a/pages/plugins/shop/index/index.css +++ b/pages/plugins/shop/index/index.css @@ -8,7 +8,10 @@ /** * 数据列表 -*/ +*/ +.scroll-box { + height: calc(100vh - 80rpx); +} .data-list .item { width: calc(50% - 10rpx); margin-bottom: 20rpx; diff --git a/pages/plugins/shop/index/index.vue b/pages/plugins/shop/index/index.vue index 49125ad1..f666940b 100644 --- a/pages/plugins/shop/index/index.vue +++ b/pages/plugins/shop/index/index.vue @@ -10,31 +10,33 @@ - - - - - - - {{item.name}} - {{item.describe}} - - 商品 {{item.goods_count}} - 销量 {{item.goods_sales_count}} + + + + + + + + {{item.name}} + {{item.describe}} + + 商品 {{item.goods_count}} + 销量 {{item.goods_sales_count}} + - - - - - - - - - + + + + + + + + - - + + + @@ -116,9 +118,7 @@ uni.request({ url: app.globalData.get_request_url("index", "index", "shop"), method: "POST", - data: { - category_id: this.nav_tab_value || 0 - }, + data: {}, dataType: "json", success: res => { uni.hideLoading(); @@ -176,7 +176,8 @@ uni.request({ url: app.globalData.get_request_url("shoplist", "index", "shop"), method: "POST", - data: { + data: { + page: this.data_page, category_id: this.nav_active_value || 0 }, dataType: "json", diff --git a/pages/plugins/signin/user-qrcode/user-qrcode.css b/pages/plugins/signin/user-qrcode/user-qrcode.css index 67ba90ec..576913d7 100644 --- a/pages/plugins/signin/user-qrcode/user-qrcode.css +++ b/pages/plugins/signin/user-qrcode/user-qrcode.css @@ -1,9 +1,6 @@ /* * 列表 -*/ -.scroll-box { - height: calc(100vh - 80rpx); -} +*/ .data-list .item .operation button:not(:first-child) { margin-left: 20rpx; }