适配app
parent
165858ca92
commit
725897e9e4
2
App.vue
2
App.vue
|
|
@ -1416,7 +1416,7 @@
|
|||
value = 'h5';
|
||||
// #endif
|
||||
// #ifdef APP
|
||||
value = this.set_system_info.platform;
|
||||
value = this.get_system_info('platform', null, true);
|
||||
// #endif
|
||||
return value;
|
||||
},
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
// #ifdef MP
|
||||
this.nav_style += 'height:'+(this.propHeight+this.statusbar_height)+'px;';
|
||||
// #endif
|
||||
// #ifdef H5
|
||||
// #ifdef H5 || APP
|
||||
this.nav_style += 'height:44px;';
|
||||
// #endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@
|
|||
{
|
||||
"path": "pages/goods-detail/goods-detail",
|
||||
"style": {
|
||||
// #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-KUAISHOU
|
||||
// #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-KUAISHOU || H5 || APP
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"enablePullDownRefresh": true,
|
||||
|
|
|
|||
|
|
@ -64,9 +64,6 @@
|
|||
padding-bottom: 2rpx;
|
||||
border-style: solid;
|
||||
border-width: 0 0 2px 0;
|
||||
/* #ifdef H5 || APP */
|
||||
font-size: 16px;
|
||||
/* #endif */
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -694,11 +694,11 @@
|
|||
// 滚动监听值
|
||||
scroll_value: 0,
|
||||
// 顶部导航信息
|
||||
// #ifdef MP
|
||||
// #ifdef MP || APP
|
||||
top_nav_icon_top_value: bar_height + 8,
|
||||
top_nav_more_top_value: bar_height + 48,
|
||||
// #endif
|
||||
// #ifdef H5 || APP
|
||||
// #ifdef H5
|
||||
top_nav_icon_top_value: 6,
|
||||
top_nav_more_top_value: 50,
|
||||
top_nav_right_icon_left_value: win_width <= 800 ? win_width - 40 : win_width - (win_width - 800) / 2 - 40,
|
||||
|
|
|
|||
Loading…
Reference in New Issue