修改历史问题

master
于肖磊 2024-12-16 17:09:52 +08:00
parent f33c802da1
commit c05297f2ec
1 changed files with 28 additions and 28 deletions

View File

@ -53,9 +53,9 @@
<uni-swipe-action>
<view v-for="(item, index) in data_list" :key="index" class="oh border-radius-main bg-white spacing-mb">
<uni-swipe-action-item :right-options="swipe_options" @click="swipe_opt_event" @change="swipe_change($event, index)">
<view class="flex-row align-c" :class="'cart-goods-item padding-main pr ' + (common_site_type == 1 ? 'cart-exhibition-mode-data' : '')">
<view class="flex-row align-c" :class="'cart-goods-item padding-main pr wh-auto ' + (common_site_type == 1 ? 'cart-exhibition-mode-data' : '')" style="box-sizing: border-box;">
<!-- 选择 -->
<view v-if="common_site_type != 1" @tap="selected_event" data-type="node" :data-index="index" class="cart-selected pr z-i ht-auto">
<view v-if="common_site_type != 1" @tap="selected_event" data-type="node" :data-index="index" class="cart-selected pr z-i">
<iconfont :name="'icon-zhifu-' + (item.selected || false ? 'yixuan' : 'weixuan')" size="34rpx" :color="item.selected || false ? theme_color : '#999'"></iconfont>
</view>
<view class="items oh padding-left-main flex-1 flex-row">
@ -584,8 +584,8 @@
this.setData({
plugins_realstore_data: realstore,
});
//
if(app.globalData.data.is_cart_header_close_realstore != 1) {
//
if(app.globalData.data.is_cart_header_close_realstore != 1) {
if(
realstore == null ||
this.plugins_realstore_info == null ||
@ -599,7 +599,7 @@
plugins_realstore_info: realstore == null ? null : realstore[0],
});
this.realstore_cart_data_init();
}
}
}
//
@ -622,9 +622,9 @@
//
setTimeout(function () {
app.globalData.page_share_handle();
}, 3000);
//
}, 3000);
//
this.page_style_handle();
},
fail: () => {
@ -633,9 +633,9 @@
data_is_loading: 0,
data_list_loding_status: 2,
data_list_loding_msg: this.$t('common.internet_error_tips'),
});
//
});
//
this.page_style_handle();
},
});
@ -1080,7 +1080,7 @@
},
//
get_data_list(is_mandatory) {
get_data_list(is_mandatory) {
if(app.globalData.data.is_cart_bottom_guess_you_like == 1) {
//
if ((is_mandatory || 0) == 0) {
@ -1156,7 +1156,7 @@
});
app.globalData.showToast(this.$t('common.internet_error_tips'));
},
});
});
}
},
@ -1211,8 +1211,8 @@
cart_type_value: e.currentTarget.dataset.type || 'shop',
});
//
this.get_data();
//
this.get_data();
//
this.page_style_handle();
}
},
@ -1302,17 +1302,17 @@
},
//
page_style_handle() {
var value = 0;
if(app.globalData.data.is_use_native_tabbar == 1) {
// #ifdef H5
value += (uni.getWindowInfo().windowBottom || 50)+40;
// #endif
} else {
value += ((this.propCartNavBottomValue-8)*2)+20;
page_style_handle() {
var value = 0;
if(app.globalData.data.is_use_native_tabbar == 1) {
// #ifdef H5
value += (uni.getWindowInfo().windowBottom || 50)+40;
// #endif
} else {
value += ((this.propCartNavBottomValue-8)*2)+20;
}
this.setData({
bottom_fixed_style: 'bottom:'+value+'rpx',
bottom_fixed_style: 'bottom:'+value+'rpx',
scroll_style: 'height: calc(100vh - ' + (value+(this.cart_type_value == 'realstore' ? 220 : 80)-(this.is_first == 1 ? 100 : 0))+'rpx)',
});
}
@ -1325,9 +1325,9 @@
*/
.scroll-box {
height: 100vh;
}
.scroll-box .content {
padding-bottom: 60rpx;
}
.scroll-box .content {
padding-bottom: 60rpx;
}
.scroll-box.cart .content {
padding-bottom: calc(160rpx + env(safe-area-inset-bottom));
@ -1411,7 +1411,7 @@
.cart-nav-base {
width: calc(75% - 20rpx);
}
.cart-nav-submit {
.cart-nav-submit {
padding-right: 16rpx;
white-space: nowrap;
}