修改历史问题
parent
f33c802da1
commit
c05297f2ec
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue