|
|
|
@ -68,6 +68,7 @@ |
|
|
|
page_size: 100 |
|
|
|
}, |
|
|
|
Swiper_H: 826, |
|
|
|
Swiper_Hb: 0, |
|
|
|
open_img: [], |
|
|
|
indicatorDots: true, |
|
|
|
autoplay: true, |
|
|
|
@ -203,10 +204,19 @@ |
|
|
|
onLoad() { |
|
|
|
let that = this; |
|
|
|
let s = 0; |
|
|
|
// if (res.networkType == 'none') { |
|
|
|
// that.typee = 1; |
|
|
|
// uni.showToast({ |
|
|
|
// title: 'Please connect to the network', |
|
|
|
// icon: 'exception', |
|
|
|
// duration: 850 |
|
|
|
// }); |
|
|
|
// } |
|
|
|
let time = setInterval(() => { |
|
|
|
uni.getNetworkType({ |
|
|
|
success: (res) => { |
|
|
|
console.log(res.networkType, s); |
|
|
|
|
|
|
|
if (res.networkType !== 'none') { |
|
|
|
that.typee = 2; |
|
|
|
clearInterval(time); |
|
|
|
@ -229,7 +239,6 @@ |
|
|
|
// color: "#999", |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
@ -619,7 +628,8 @@ |
|
|
|
let url |
|
|
|
if (res.error == 0) { |
|
|
|
if (res.data.page_code == 'HOMESALEICON') { |
|
|
|
let src = 'https://www.dopeplus.com/images/mapp_customized/202211/1667961215280331818.png' |
|
|
|
let src = |
|
|
|
'https://www.dopeplus.com/images/mapp_customized/202211/1667961215280331818.png' |
|
|
|
if (src == res.data.zones[0].blocks[0].block_pic) { |
|
|
|
this.tarbar[2].src = '../../static/img/min.png' |
|
|
|
} else { |
|
|
|
@ -1951,6 +1961,7 @@ |
|
|
|
// color: #484848; |
|
|
|
color: #fff; |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
// display: flex; |
|
|
|
// height: 100rpx; |
|
|
|
// ::-webkit-scrollbar { |
|
|
|
@ -2024,6 +2035,7 @@ |
|
|
|
} |
|
|
|
|
|
|
|
.grid_swiper { |
|
|
|
|
|
|
|
// height: 380rpx; |
|
|
|
// margin: 0 10rpx 0 10rpx; |
|
|
|
.grid_content { |
|
|
|
@ -2345,6 +2357,7 @@ |
|
|
|
flex-direction: row; |
|
|
|
align-items: center; |
|
|
|
margin: 0 10rpx 0 10rpx; |
|
|
|
|
|
|
|
// width: 80vw; |
|
|
|
// height:400rpx ; |
|
|
|
.best_one { |
|
|
|
@ -2380,6 +2393,7 @@ |
|
|
|
font-size: 26rpx; |
|
|
|
background-color: #000; |
|
|
|
color: white; |
|
|
|
|
|
|
|
// padding-bottom: 50rpx; |
|
|
|
.uni-view {} |
|
|
|
|
|
|
|
|