细节优化

master
gongfuxiang 2024-09-28 21:24:27 +08:00
parent 22ba5b0c6f
commit b798f6dcc8
6 changed files with 12 additions and 15 deletions

View File

@ -2889,7 +2889,7 @@
if(temp !== undefined && this.is_tabbar_pages()) {
obj.$vm.setData(
{
bottom_fixed_style: 'bottom:'+(this.app_tabbar_height_value()*2)+'rpx'
bottom_fixed_style: 'bottom:'+this.app_tabbar_height_value()+'px'
});
}
}

View File

@ -141,7 +141,7 @@
<!-- 操作导航 -->
<!-- 展示型 -->
<block v-if="data_list.length > 0">
<view v-if="common_site_type == 1" :class="'cart-buy-nav oh round ' + (propSourceType == 'page' ? 'bottom-line-exclude' : '')" :style="cart_buy_nav_style">
<view v-if="common_site_type == 1" class="cart-buy-nav oh round" :style="cart_buy_nav_style">
<view class="cart-exhibition-mode padding-horizontal-main padding-bottom-main">
<button class="exhibition-btn bg-main br-main cr-white round wh-auto text-size-sm" type="default" @tap="exhibition_submit_event" hover-class="none">
<view class="dis-inline-block va-m margin-right-xl">
@ -152,7 +152,7 @@
</view>
</view>
<!-- 销售,自提,虚拟销售 -->
<view v-else class="cart-buy-nav oh round flex-row jc-sb align-c br-top-shadow bg-white" :class="(propSourceType == 'page' ? ' bottom-line-exclude' : '') + (discount_detail_status ? ' discount-detail-popup-z-index' : '')" :style="cart_buy_nav_style">
<view v-else class="cart-buy-nav oh round flex-row jc-sb align-c br-top-shadow bg-white" :class="(discount_detail_status ? ' discount-detail-popup-z-index' : '')" :style="cart_buy_nav_style">
<view class="cart-nav-base single-text padding-left flex-row jc-sb align-c">
<view class="cart-selected flex-row align-c">
<view @tap="selected_event" data-type="all">
@ -1429,7 +1429,7 @@
width: calc(75% - 20rpx);
}
.cart-nav-submit {
padding: 20rpx 24rpx;
padding-right: 24rpx;
white-space: nowrap;
}
.cart-nav-submit .nav-btn {

View File

@ -74,7 +74,7 @@
<!-- 购物车底部导航 -->
<view class="plugins-realstore-cart-botton-nav pr round oh bg-white">
<view class="wh-auto flex-row jc-sb align-c bottom-line-exclude">
<view class="wh-auto flex-row jc-sb align-c">
<view class="flex-row align-c flex-1 flex-width padding-bottom-xs">
<view class="cart-icon-total pr cp top-sm padding-left-main" @tap="cart_switch_event">
<iconfont name="icon-applet-shop-acquiesce" size="36rpx" color="#666"></iconfont>

View File

@ -272,7 +272,8 @@
bottom: 20rpx;
z-index: 2;
margin-left: 20rpx;
background: linear-gradient(132deg, #EBEBEB 0%, #F7F7F7 100%);
background: linear-gradient(132deg, #EBEBEB 0%, #F7F7F7 100%);
box-shadow: 0rpx 4rpx 8rpx 0px rgba(0, 0, 0, 0.16);
}
.botton-nav .cart .badge-icon {
top: -20rpx;

View File

@ -329,7 +329,7 @@
</view>
</block>
<!-- 购物车底部导航 -->
<view class="botton-nav round pa br-top-shadow oh flex-row jc-sb align-c" :style="botton_nav_style+(cart_status ? 'z-index:5;' : '')">
<view class="botton-nav round pa oh flex-row jc-sb align-c" :style="botton_nav_style+(cart_status ? 'z-index:5;' : '')">
<view class="flex-row align-c flex-1 flex-width">
<view class="cart pr cp top-sm" @tap="cart_event">
<iconfont name="icon-applet-shop-acquiesce" size="36rpx" color="#666"></iconfont>

View File

@ -690,19 +690,15 @@
value = (this.is_base_mode_show_type == 0) ? 58 : 92;
}
//
value += (this.client_type == 'h5') ? 386 : 374;
value += (this.client_type == 'h5') ? 370 : 358;
//
if(this.tablecode != null) {
value += 44;
}
//
if(this.footer_height_value > 0) {
value += this.footer_height_value;
}
//
//
this.setData({
content_style: 'height: calc(100vh - '+value+'rpx - '+this.status_bar_height+'px);',
content_style: 'height: calc(100vh - '+value+'rpx - '+(this.status_bar_height+this.footer_height_value)+'px);',
});
},
@ -1043,7 +1039,7 @@
//
footer_height_value_event(value) {
this.setData({
footer_height_value: parseInt(value)*2
footer_height_value: value
});
this.content_actual_size_handle();
}