diff --git a/common/css/page.css b/common/css/page.css index 9f648e6c..b7c8e30d 100644 --- a/common/css/page.css +++ b/common/css/page.css @@ -246,7 +246,7 @@ button:before { * 页面底部浮动、增加底部边距 */ .page-bottom-fixed { - padding-bottom: 120rpx; + padding-bottom: 120rpx !important; } /** @@ -464,6 +464,13 @@ button[disabled].bg-yellow { button[disabled].bg-gray { background-color: #ececec !important; color: #ababab !important; +} + +/** + * 兼容底部横线底部内边距 + */ +.bottom-line-exclude { + padding-bottom: calc(env(safe-area-inset-bottom) - 40rpx); } /** diff --git a/components/popup/popup.vue b/components/popup/popup.vue index 55fd3916..f86d1a36 100644 --- a/components/popup/popup.vue +++ b/components/popup/popup.vue @@ -2,7 +2,7 @@ - + diff --git a/pages/buy/buy.vue b/pages/buy/buy.vue index 1bae8692..8b79010b 100644 --- a/pages/buy/buy.vue +++ b/pages/buy/buy.vue @@ -155,7 +155,7 @@ - + 合计: {{currency_symbol}}{{total_price}} diff --git a/pages/goods-detail/goods-detail.css b/pages/goods-detail/goods-detail.css index daca311b..0aab7ad2 100644 --- a/pages/goods-detail/goods-detail.css +++ b/pages/goods-detail/goods-detail.css @@ -108,8 +108,7 @@ left: 0; bottom: 0; height: 100rpx; - z-index: 2; - padding-bottom: calc(env(safe-area-inset-bottom) - 40rpx); + z-index: 2; } .goods-buy-nav .bus-items { width: 45%; diff --git a/pages/goods-detail/goods-detail.vue b/pages/goods-detail/goods-detail.vue index 12b506e6..6e6ae6e0 100644 --- a/pages/goods-detail/goods-detail.vue +++ b/pages/goods-detail/goods-detail.vue @@ -328,7 +328,7 @@ - + diff --git a/pages/plugins/membershiplevelvip/member-code/member-code.css b/pages/plugins/membershiplevelvip/member-code/member-code.css index 419dfc7b..a0515085 100644 --- a/pages/plugins/membershiplevelvip/member-code/member-code.css +++ b/pages/plugins/membershiplevelvip/member-code/member-code.css @@ -7,9 +7,6 @@ margin-top: 60rpx; padding: 50rpx; } -.bottom-fixed { - padding-bottom: calc(20rpx + env(safe-area-inset-bottom)); -} .bottom-fixed button { width: 50%; } \ No newline at end of file diff --git a/pages/plugins/membershiplevelvip/member-code/member-code.vue b/pages/plugins/membershiplevelvip/member-code/member-code.vue index d340b0b7..82934351 100644 --- a/pages/plugins/membershiplevelvip/member-code/member-code.vue +++ b/pages/plugins/membershiplevelvip/member-code/member-code.vue @@ -18,10 +18,12 @@ - - - - + + + + + + @@ -176,6 +178,6 @@ } } - \ No newline at end of file diff --git a/pages/plugins/wallet/payment-code/payment-code.css b/pages/plugins/wallet/payment-code/payment-code.css index 419dfc7b..a0515085 100644 --- a/pages/plugins/wallet/payment-code/payment-code.css +++ b/pages/plugins/wallet/payment-code/payment-code.css @@ -7,9 +7,6 @@ margin-top: 60rpx; padding: 50rpx; } -.bottom-fixed { - padding-bottom: calc(20rpx + env(safe-area-inset-bottom)); -} .bottom-fixed button { width: 50%; } \ No newline at end of file diff --git a/pages/plugins/wallet/payment-code/payment-code.vue b/pages/plugins/wallet/payment-code/payment-code.vue index 3ba674f9..49fcc88c 100644 --- a/pages/plugins/wallet/payment-code/payment-code.vue +++ b/pages/plugins/wallet/payment-code/payment-code.vue @@ -21,10 +21,12 @@ - - - - + + + + + + diff --git a/pages/plugins/weixinliveplayer/detail/detail.css b/pages/plugins/weixinliveplayer/detail/detail.css index fa0c022a..16e010dd 100644 --- a/pages/plugins/weixinliveplayer/detail/detail.css +++ b/pages/plugins/weixinliveplayer/detail/detail.css @@ -25,8 +25,7 @@ position: fixed; left: 0; bottom: 20rpx; - height: 80rpx; - padding-bottom: calc(env(safe-area-inset-bottom) - 40rpx); + height: 80rpx; } .nav button { height: 100% !important; diff --git a/pages/plugins/weixinliveplayer/detail/detail.vue b/pages/plugins/weixinliveplayer/detail/detail.vue index fdc5ef0d..36282b6e 100644 --- a/pages/plugins/weixinliveplayer/detail/detail.vue +++ b/pages/plugins/weixinliveplayer/detail/detail.vue @@ -29,7 +29,7 @@ - + - + + 省市区 + * + + + + @@ -101,7 +101,9 @@ - + + + @@ -136,7 +138,7 @@ user_location_cache_key: app.globalData.data.cache_userlocation_key, user_location: null, address_discern_value: '', - form_submit_disabled_status: false, + form_submit_disabled_status: false, region_code_value: '', // 基础配置 home_user_address_map_status: 0, @@ -756,57 +758,57 @@ } }); } - }, - - // 地址编号输入事件 - region_code_value_event(e) { - this.setData({ - region_code_value: e.detail.value - }); - }, - // 地址编号搜索 - region_code_event(e) { - if((this.region_code_value || null) == null) { - app.globalData.showToast('请输入数据'); - return false; - } - this.setData({ - form_submit_disabled_status: true - }); - uni.request({ - url: app.globalData.get_request_url('codedata', 'region'), - method: 'POST', - data: {code: this.region_code_value}, - dataType: 'json', - success: res => { - this.setData({ - form_submit_disabled_status: false - }); - if (res.data.code == 0) { - app.globalData.showToast(res.data.msg, 'success'); - var ads_data = res.data.data; - this.setData({ - province_id: ads_data.province || null, - city_id: ads_data.city || null, - county_id: ads_data.county || null - }); - // 地区数据填充处理 - this.region_data_fill_handle(); - } else { - if (app.globalData.is_login_check(res.data)) { - app.globalData.showToast(res.data.msg); - } else { - app.globalData.showToast('提交失败,请重试!'); - } - } - }, - fail: () => { - this.setData({ - form_submit_disabled_status: false - }); - app.globalData.showToast('服务器请求出错'); - } - }); + }, + + // 地址编号输入事件 + region_code_value_event(e) { + this.setData({ + region_code_value: e.detail.value + }); + }, + // 地址编号搜索 + region_code_event(e) { + if((this.region_code_value || null) == null) { + app.globalData.showToast('请输入数据'); + return false; + } + this.setData({ + form_submit_disabled_status: true + }); + uni.request({ + url: app.globalData.get_request_url('codedata', 'region'), + method: 'POST', + data: {code: this.region_code_value}, + dataType: 'json', + success: res => { + this.setData({ + form_submit_disabled_status: false + }); + if (res.data.code == 0) { + app.globalData.showToast(res.data.msg, 'success'); + var ads_data = res.data.data; + this.setData({ + province_id: ads_data.province || null, + city_id: ads_data.city || null, + county_id: ads_data.county || null + }); + // 地区数据填充处理 + this.region_data_fill_handle(); + } else { + if (app.globalData.is_login_check(res.data)) { + app.globalData.showToast(res.data.msg); + } else { + app.globalData.showToast('提交失败,请重试!'); + } + } + }, + fail: () => { + this.setData({ + form_submit_disabled_status: false + }); + app.globalData.showToast('服务器请求出错'); + } + }); } } }; diff --git a/pages/user-address/user-address.vue b/pages/user-address/user-address.vue index ad1c636d..fb2723f3 100644 --- a/pages/user-address/user-address.vue +++ b/pages/user-address/user-address.vue @@ -41,15 +41,17 @@ - - - - - - - - - + + + + + + + + + + +