细节优化

master
gongfuxiang 2024-09-28 22:25:13 +08:00
parent 36984a5a69
commit c75f07e400
1 changed files with 1 additions and 1 deletions

View File

@ -1305,7 +1305,7 @@
//
page_style_handle() {
var value = (this.propCartNavBottomValue > 0) ? (parseInt(this.propCartNavBottomValue*2)+20) : 0;
var value = (this.propCartNavBottomValue > 0) ? (parseInt(this.propCartNavBottomValue*2)+20) : 20;
this.setData({
cart_buy_nav_style: 'bottom:'+value+'rpx;'
});