diff --git a/components/cart/cart.vue b/components/cart/cart.vue index fdde3ec4..69830c52 100644 --- a/components/cart/cart.vue +++ b/components/cart/cart.vue @@ -203,7 +203,7 @@ - + @@ -269,9 +269,9 @@ - - - + + + @@ -409,9 +409,9 @@ // #ifdef H5 window_bottom: '100rpx', window_top: '100rpx', - // #endif - // 底部购买导航样式 - cart_buy_nav_style: '', + // #endif + // 底部购买导航样式 + cart_buy_nav_style: '', footer_seat_style: '' }; }, @@ -421,11 +421,11 @@ propSourceType: { type: String, default: '', // 默认主页面。当传入page时为子页面 - }, - // 来源类型 - propCartNavBottomValue: { - type: Number, - default: 0 + }, + // 来源类型 + propCartNavBottomValue: { + type: Number, + default: 0 } }, @@ -444,11 +444,11 @@ propCartType(value, old_value) { // 数据加载 this.init(); - }, - // 底部购买导航距离 - propCartNavBottomValue(value, old_value) { - // 页面样式处理 - this.page_style_handle(); + }, + // 底部购买导航距离 + propCartNavBottomValue(value, old_value) { + // 页面样式处理 + this.page_style_handle(); } }, @@ -519,9 +519,9 @@ // 猜你喜欢 this.get_data_list(1); - } - - // 页面样式处理 + } + + // 页面样式处理 this.page_style_handle(); // 分享菜单处理 @@ -1305,15 +1305,15 @@ no_cart_data_btn_event(e) { var url = ((this.user || null) == null) ? '/pages/login/login?event_callback=init' : this.home_page_url; app.globalData.url_open(url); - }, - - // 页面样式处理 - page_style_handle() { - var value = (this.propCartNavBottomValue > 0) ? (parseInt(this.propCartNavBottomValue*2)+20) : 0; - this.setData({ - cart_buy_nav_style: 'bottom:'+value+'rpx;', - footer_seat_style: (value > 0) ? 'height:'+value+'rpx;' : '', - }); + }, + + // 页面样式处理 + page_style_handle() { + var value = (this.propCartNavBottomValue > 0) ? (parseInt(this.propCartNavBottomValue*2)+20) : 0; + this.setData({ + cart_buy_nav_style: 'bottom:'+value+'rpx;', + footer_seat_style: (value > 0) ? 'height:'+value+'rpx;' : '', + }); } }, }; @@ -1412,10 +1412,10 @@ position: fixed; z-index: 1; left: auto; - bottom: 20rpx; - margin-left: 20rpx; - width: calc(100% - 40rpx); - max-width: calc(800px - 40rpx); + bottom: 20rpx; + margin-left: 20rpx; + width: calc(100% - 40rpx); + max-width: calc(800px - 40rpx); box-shadow: 0rpx 4rpx 8rpx 0px rgba(0, 0, 0, 0.16); } .cart-nav-base { @@ -1424,13 +1424,13 @@ .cart-nav-submit { padding: 20rpx 24rpx; white-space: nowrap; - } - .cart-nav-submit .nav-btn { - font-size: 32rpx; - padding: 0 32rpx; - height: 70rpx; - line-height: 70rpx; - border-radius: 0; + } + .cart-nav-submit .nav-btn { + font-size: 32rpx; + padding: 0 32rpx; + height: 70rpx; + line-height: 70rpx; + border-radius: 0; } .cart-buy-nav .price { width: calc(100% - 170rpx); diff --git a/components/magic-list/magic-list.vue b/components/magic-list/magic-list.vue index d3144571..6f8ee36f 100644 --- a/components/magic-list/magic-list.vue +++ b/components/magic-list/magic-list.vue @@ -4,7 +4,7 @@ - + diff --git a/pages/plugins/coin/recharge/recharge.vue b/pages/plugins/coin/recharge/recharge.vue index 1124d66b..dd334f23 100644 --- a/pages/plugins/coin/recharge/recharge.vue +++ b/pages/plugins/coin/recharge/recharge.vue @@ -51,7 +51,7 @@ {{$t('recharge.recharge.eb6722')}} - + diff --git a/pages/plugins/wallet/recharge/recharge.vue b/pages/plugins/wallet/recharge/recharge.vue index 9aeffbef..822e5a9a 100644 --- a/pages/plugins/wallet/recharge/recharge.vue +++ b/pages/plugins/wallet/recharge/recharge.vue @@ -16,7 +16,7 @@ {{$t('recharge.recharge.60k2v3')}} - + {{ item.tips }}