实训DAY02
app.json 全局頁面配置 ?pages 頁面路徑 ?可以為空 一定要花括號
app.wxss 全局樣式
app.js 獲取權限(地址 登陸等)先運行
utils.js 工具
每個頁面的文件 可以覆蓋全局文件的配置
同個頁面文件名一樣?? ?
tabBar list數組 iconPath圖標路徑 selectedIconPath 選中時的圖片路徑 color #666 字體顏色
selectedColor #5fd1c9?
?
骰子布局:
display:flex;
align-items(橫切分3行):1:不用寫 2:center 3:flex-end;
align-content:space-between;
align-self
justify-content(豎直分3列): 1:不用寫 2:center 3:flex-end;
4:space-between;(兩兩之間有空格,倆個則會分向倆邊);
flex-direction(排列反向):column 豎直方向;
flex-bass:100% 范圍
flex-wrap: wrap; 可換行
總結