微信小程序1:豆瓣评分(超详细版) | 您所在的位置:网站首页 › 目标豆瓣评分 › 微信小程序1:豆瓣评分(超详细版) |
项目展示: 记小本本哦: (1)自定义组件:searchbar https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/ (2)图片转换为base64:tool.chinaz.com/tools/imgtobase
{ "pages": [ "pages/index/index", "pages/search/search", "pages/logs/logs" ], "window": { "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#41be57", "navigationBarTitleText": "豆瓣评分", "navigationBarTextStyle": "white" }, "style": "v2", "sitemapLocation": "sitemap.json" }
/**app.wxss**/ .container { height: 100%;display: flex;flex-direction: column;align-items: center;justify-content: space-between; padding: 200rpx 0;box-sizing: border-box; }
然后,在各目录下编写代码 1.searchbar目录 在.json写下: { "component": true, "usingComponents": {} }
|
CopyRight 2018-2019 实验室设备网 版权所有 |