我还了解了一下api,这个是方便开发者获取一些功能所建的,比如获得微信扫一扫功能:wx.scanCode({ success: (res) => { console.log(res) } })
这个写出了界面
{
"pages": [
"pages/index/index",
"pages/item/item"
],
"window": {
"backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "记账本",
"navigationBarTextStyle": "yellow",
"backgroundColor": "gray"
},
"debug": true
}
加上之前写的wxss写一下布局。基础的页面就有了。
浙公网安备 33010602011771号