微信小程序笔记(不定期更新)
转发小程序,图尺寸:600x600
修改默认:
* button{border-radius:0}
button:after{border: none;border-radius:0;}
* 设置navigator标签没有背景色:hover-class="none"
针对iphoneX的样式写法:
<view class="detail-bottom {{isIpx?'fix-iphonex-button':''}}">
<style>
.fix-iphonex-button {bottom:0!important;padding-bottom:40rpx;}
.fix-iphonex-button::after {content: ' ';position: fixed;bottom: 0!important;height: auto!important;width: 100%;background: #fff;}
</style>