小程序
前端方程
这个作者很懒,什么都没留下…
展开
-
小程序uni-app 登录 配置导航
------------登录-------------<button @click="getUser" type="default">登录</button> getUser() { uni.getUserProfile({ desc: "weixin", success: res => { console.log("登录", res) uni.setStorageSync('userInfo', res) //用户原创 2022-04-22 09:42:11 · 378 阅读 · 0 评论 -
微信小程序,配置tabBar
{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/index", "style": { "navigationBarTitleText": "香喷喷" } }, { "path": "pages/like/like", "style": { "navigationBarTitleText": "原创 2021-05-17 11:06:19 · 168 阅读 · 0 评论