mirror of
https://github.com/weilanwl/coloruicss.git
synced 2026-06-08 15:14:46 +08:00
2019-3-3 22:51:13
This commit is contained in:
@@ -15,4 +15,7 @@ Page({
|
||||
bordersize: e.detail.value
|
||||
})
|
||||
},
|
||||
input(){
|
||||
console.log();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="padding flex flex-wrap justify-between align-center bg-white">
|
||||
<button class='cu-btn'>默认</button>
|
||||
<button class='cu-btn' bindtap='input'>默认</button>
|
||||
<button class='cu-btn round'>圆角</button>
|
||||
<button class='cu-btn icon'>
|
||||
<text class='icon-emojifill'></text>
|
||||
|
||||
@@ -63,19 +63,6 @@ Component({
|
||||
],
|
||||
},
|
||||
methods: {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user