diff --git a/components/goods-sku-popup/index.vue b/components/goods-sku-popup/index.vue index eece033..77405f4 100644 --- a/components/goods-sku-popup/index.vue +++ b/components/goods-sku-popup/index.vue @@ -19,7 +19,7 @@ ¥ {{ priceCom }} - + {{ stockText }}:{{ stockCom }} 已选:{{ selectArr.join(' ') }} @@ -45,7 +45,7 @@ 数量 - @@ -1015,6 +1015,7 @@ maxStock = max; } } + console.log("getMaxStock",maxStock) return maxStock; }, numChange(e) { @@ -1041,6 +1042,7 @@ if (max > maxStock) { max = maxStock; } + console.log("maxBuyNumCom",maxStock,that.maxBuyNum) return max; }, // 是否是多规格 diff --git a/components/goods-sku-popup/number-box/index.vue b/components/goods-sku-popup/number-box/index.vue index 6e5133f..8dff824 100644 --- a/components/goods-sku-popup/number-box/index.vue +++ b/components/goods-sku-popup/number-box/index.vue @@ -157,7 +157,7 @@ export default { // 设置disabled为false,disabledInput为true即可 disabledInput: { type: Boolean, - default: false + default: true }, // 输入框于键盘之间的距离 cursorSpacing: { diff --git a/pages.json b/pages.json index b452e03..0944e26 100644 --- a/pages.json +++ b/pages.json @@ -405,13 +405,6 @@ "enablePullDownRefresh": false } }, - { - "path": "caigou/notice", - "style": { - "navigationBarTitleText": "权益中心", - "enablePullDownRefresh": false - } - }, { "path": "caigou/notice1", "style": { diff --git a/pages/activity/intimate.vue b/pages/activity/intimate.vue index 5ae2eba..7176738 100644 --- a/pages/activity/intimate.vue +++ b/pages/activity/intimate.vue @@ -126,10 +126,10 @@ a.server_price = Number(a.server_price); a.line_price = Number(a.line_price) }) - this.list1 = data.list - this.total = data.total - this.isShow = data.total == 0 ? true : false } + this.list1 = data.list + this.total = data.total + this.isShow = data.total == 0 ? true : false } }, openPage(index, a) { diff --git a/pages/activity/newGoods.vue b/pages/activity/newGoods.vue index f2acdf4..2a9a92f 100644 --- a/pages/activity/newGoods.vue +++ b/pages/activity/newGoods.vue @@ -63,7 +63,8 @@ background: 'url(' + img + ') center top no-repeat', backgroundSize: '100% auto', - }, + }, + page: 1, backgroundImg: '', list: [], content: '', @@ -95,7 +96,7 @@ getBrandList() { const app = this; let pamars = { - page: 1, + page: app.page, is_brand: '', is_new: 1, categoryId: '', @@ -104,7 +105,8 @@ } Api.brandList(pamars) .then(result => { - app.list = result.data.data + app.list = result.data.data + app.total = result.data.total }) .finally(() => app.isLoading = false) }, diff --git a/pages/activity/newPeople.vue b/pages/activity/newPeople.vue index e2f70e2..0e82e46 100644 --- a/pages/activity/newPeople.vue +++ b/pages/activity/newPeople.vue @@ -270,7 +270,7 @@ z-index: 2; text { - font-size: 52rpx; + font-size: 40rpx; } } diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index a142158..3ec7539 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -50,18 +50,18 @@ - + Plus 分销 - PRO会员 + 会员 开通Plus 分销会员预计再省30 - 立即开通 + {{(userInfo.user_type==20 || userInfo.user_type == 30)?'立即续费':'立即开通'}} @@ -1002,7 +1002,7 @@ return; } uni.navigateTo({ - url: '/pages/member/index' + url: '/pages/member/index?type='+(this.userInfo.user_type != 30?'hy':'fx') }) }, toFuwu() { @@ -1384,6 +1384,7 @@ width: 142rpx; font-size: 28rpx; font-weight: 500; + text-align: center; color: #966542; margin-left: 18rpx; padding-right: 24rpx; diff --git a/pages/goods/list.vue b/pages/goods/list.vue index ee5438e..8029387 100644 --- a/pages/goods/list.vue +++ b/pages/goods/list.vue @@ -746,6 +746,9 @@ -webkit-line-clamp: 2; height: 90rpx; line-height: 45rpx; + text{ + display: block; + } } .shenBox { diff --git a/pages/index/index.vue b/pages/index/index.vue index 54aabe8..fe99a94 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -117,7 +117,7 @@ 查看更多 - +