[bugfix] Switch: loading icon position (#847)

This commit is contained in:
neverland 2018-11-01 20:27:53 +08:00 committed by GitHub
parent ede23675fe
commit e56f0ab126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -9,7 +9,7 @@ Page({
onShow() { onShow() {
wx.request({ wx.request({
url: 'https://cashier.youzan.com/pay/wsctrade/order/buy/getAllRegion.json', url: 'https://cashier.youzan.com/wsctrade/uic/address/getAllRegion.json',
success: response => { success: response => {
this.setData({ this.setData({
loading: false, loading: false,

View File

@ -27,9 +27,7 @@
&__loading { &__loading {
top: 25%; top: 25%;
left: 25%; left: 25%;
width: 50%; position: absolute !important;
height: 50%;
position:absolute;
} }
&--on { &--on {