彻底解决不同分辨率下的绝对定位问题/大小问题
原理就是 font-szie + rem <!doctype html> <html style="font-size: calc((100vw/375)*10)"> <head> <meta charset="utf-8"></meta> <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0;"name="viewport"></meta> <title>Disney Spring Web!</title> <style> html,body{ margin:0; padding:0; } .container { max-width:1000px; margin:0 ...
wx.miniProgram.navigateTo不起效果
官方文档地址: https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html <span class="token comment">// javascript</span> wx<span class="token punctuation">.</span>miniProgram<span class="token punctuation">.</span><span class="token function">navigateTo</span><span class="token punctuation">(</span><span class="token punctuation&quo...