From 7a049d3e48b219d5f27523b6eed1bf9e132ca202 Mon Sep 17 00:00:00 2001 From: Weilanwl <1273753708@qq.com> Date: Mon, 14 Jan 2019 00:13:11 +0800 Subject: [PATCH] v2.0.5 --- demo/colorui.wxss | 1 + demo/pages/basics/home/home.js | 13 ------------- template/colorui.wxss | 1 + 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/demo/colorui.wxss b/demo/colorui.wxss index ebba16b..a82ef92 100644 --- a/demo/colorui.wxss +++ b/demo/colorui.wxss @@ -1459,6 +1459,7 @@ button.icon.lg { .cu-list.menu { display: block; + overflow: hidden; } .cu-list+.cu-list { diff --git a/demo/pages/basics/home/home.js b/demo/pages/basics/home/home.js index fdf3a4e..a6b7037 100644 --- a/demo/pages/basics/home/home.js +++ b/demo/pages/basics/home/home.js @@ -13,19 +13,6 @@ Page({ { title: '加载', name: 'loading', color: 'green', icon: 'loading2' }, ], }, - onLoad() { - let that = this; - // 获取用户信息 - wx.getSetting({ - success: res => { - if (!res.authSetting['scope.userInfo']) { - wx.redirectTo({ - url: '/pages/auth/auth' - }) - } - } - }) - }, showModal(e) { this.setData({ modalName: e.currentTarget.dataset.target diff --git a/template/colorui.wxss b/template/colorui.wxss index ebba16b..a82ef92 100644 --- a/template/colorui.wxss +++ b/template/colorui.wxss @@ -1459,6 +1459,7 @@ button.icon.lg { .cu-list.menu { display: block; + overflow: hidden; } .cu-list+.cu-list {