mirror of
https://github.com/weilanwl/coloruicss.git
synced 2026-03-11 01:44:01 +08:00
1.修复行距带来的垂直不居中问题 2.优化操作条组件,新增多种样式 3.优化背景颜色(某些组件的默认背景调整,移除一些important) 4.更新动画扩展5.优化按钮,标签,头像的大小
17 lines
379 B
JavaScript
17 lines
379 B
JavaScript
const app = getApp();
|
|
Page({
|
|
data: {
|
|
StatusBar: app.globalData.StatusBar,
|
|
CustomBar: app.globalData.CustomBar,
|
|
ColorList: app.globalData.ColorList,
|
|
},
|
|
onGetUserInfo: function (e) {
|
|
if (!this.logged && e.detail.userInfo) {
|
|
app.globalData.userInfo = e.detail.userInfo;
|
|
wx.switchTab({
|
|
url: '/pages/basics/home/home',
|
|
})
|
|
}
|
|
}
|
|
});
|