摘要: export function loadScript (url: string[]) { // 如果是数组 const promiseList: Array<Promise<any>> = [] url.forEach((item) => { const p = new Promise((resol 阅读全文
posted @ 2020-04-28 19:14 biage 阅读(2768) 评论(0) 推荐(0) 编辑
摘要: /** * 下载、打开App * @param type doctor:医生端 patient:患者端 * @param meetData 跳转app页面携带参数 */ export const downLoadApp = (type?: string, meetData?: any) => { l 阅读全文
posted @ 2020-04-28 19:02 biage 阅读(3313) 评论(0) 推荐(0) 编辑
摘要: // 适配iphonex及以后的底部. // $name可选'margin-bottom','bottom','padding-bottom' 等等 @mixin iphonex($name) { @supports (bottom: constant(safe-area-inset-bottom) 阅读全文
posted @ 2020-04-28 18:52 biage 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 吸底布局尽量不要使用fixed布局,客户端里的表现可能跟微信里不一样。 目前页面在需要考虑如下情况适配: 微信IOS 微信安卓 医生端安卓 医生端IOS 用户端安卓 用户端IOS iphone普通屏 iphone x及以后的长屏 <template> <div class="container"> 阅读全文
posted @ 2020-04-28 11:19 biage 阅读(1281) 评论(0) 推荐(0) 编辑