- view浮动以后像素会有偏差?
wxml如下[代码]<[代码][代码]view[代码][代码]>[代码] [代码] [代码][代码]<[代码][代码]view[代码] [代码]id[代码][代码]=[代码][代码]"mytest1"[代码][代码]>6</[代码][代码]view[代码][代码]>[代码] [代码] [代码][代码]<[代码][代码]view[代码] [代码]id[代码][代码]=[代码][代码]"mytest2"[代码][代码]>6</[代码][代码]view[代码][代码]>[代码] [代码] [代码][代码]<[代码][代码]view[代码] [代码]id[代码][代码]=[代码][代码]"mytest3"[代码][代码]>6</[代码][代码]view[代码][代码]>[代码] [代码]</[代码][代码]view[代码][代码]>[代码] wxss如下 [代码]#mytest[代码][代码]1[代码][代码]{[代码] [代码] [代码][代码][代码][代码]background[代码][代码]: [代码][代码]red[代码][代码];[代码] [代码] [代码][代码][代码][代码]width[代码][代码]: [代码][代码]750[代码][代码]rpx;[代码] [代码]}[代码] [代码]#mytest[代码][代码]2[代码][代码]{[代码] [代码] [代码][代码][代码][代码]background[代码][代码]: [代码][代码]red[代码][代码];[代码] [代码] [代码][代码][代码][代码]width[代码][代码]: [代码][代码]50[代码][代码]rpx;[代码] [代码] [代码][代码][代码][代码]float[代码][代码]: [代码][代码]left[代码][代码];[代码] [代码]}[代码] [代码]#mytest[代码][代码]3[代码][代码]{[代码] [代码] [代码][代码][代码][代码]background[代码][代码]: [代码][代码]red[代码][代码];[代码] [代码] [代码][代码][代码][代码]width[代码][代码]: [代码][代码]700[代码][代码]rpx;[代码] [代码] [代码][代码][代码][代码]float[代码][代码]: [代码][代码]left[代码][代码];[代码] [代码]}[代码] [图片] 如图,上面是直接750rpx,下面是浮动50rpx + 700rpx。放大看为什么下面就不足750rpx了呢?
2019-11-08 - 怎么自定义活动模板?
vs,pycharm等ide或代码编辑器都是活动模板功能,也就是输入几个字母就能生成原先定义好的代码段。 小程序开发者功能有这个功能吗?怎么添加活动模板? [图片]
2019-07-22