Your description here.
1.建立tarbar"tabBar": { "color": "#333", "selectedColor": "#74dbef", "list": [ { "text": "首页", "pagePath": "pages/index/index", "iconPath": "static/images/home.png", "selectedIconPath": "static/images/home-h.png" }, { "text": "我的", &q
1.微信开发者工具中,存在中文路径,容易报错,最好使用英文路径 2.view标签里面不能用\n换行符,但text的标签可以 3.vh是百分比单位,如15vh,就可以是占15% 4.justify-content: space-between;/* 均匀排列每个元素首个元素放置于起点,末尾元素放置于终点 */ 5.padding: 0 30rpx //第一个参数是上下边距,第二个参数是左右边距 6.当样式中,子级样式中里面有共同的样式,可以放在父级样式中,进行编辑 7. 用computed来进行复杂运算并获取计算值如const lineWidthcomputed(()=>currentIndex.value/(listData.value.length-1)*100) 8.scss加入局部属性scoped,css样式就只作用于本页面 9。align-items: center; //垂直中心 justify-content: center; //水平中心 10.css的1双选择器,该1标签class
ikrins