UI:小猪优选IOS立即更新隐藏及收藏购物车顶部样式优化
| | |
| | | updesc = res.data.android.desc |
| | | } |
| | | if (downUrl && updateFlag) { |
| | | uni.showModal({ |
| | | showCancel: false, |
| | | confirmText: '立即更新', |
| | | title: '温馨提示!', |
| | | content: updesc || '有最新版本,请更新APP!', |
| | | success: res => { |
| | | if (res.confirm) { |
| | | plus.runtime.openURL(downUrl) |
| | | } |
| | | } |
| | | }) |
| | | // uni.showModal({ |
| | | // showCancel: false, |
| | | // confirmText: '立即更新', |
| | | // title: '温馨提示!', |
| | | // content: updesc || '有最新版本,请更新APP!', |
| | | // success: res => { |
| | | // if (res.confirm) { |
| | | // plus.runtime.openURL(downUrl) |
| | | // } |
| | | // } |
| | | // }) |
| | | } |
| | | }) |
| | | // #endif |
| | |
| | | .c-title{ |
| | | position: fixed; |
| | | left: 0; |
| | | top: 44px; |
| | | /* top: var(--status-bar-height); */ |
| | | top: var(--status-bar-height); |
| | | z-index: 99; |
| | | width: 100%; |
| | | background-color: #ebebeb; |
| | |
| | | .collect-title{ |
| | | position: fixed; |
| | | left: 0; |
| | | top: 44px; |
| | | top: 0; |
| | | z-index: 99; |
| | | width: 100%; |
| | | background-color: #ebebeb; |