|
@@ -59,7 +59,7 @@
|
|
|
<view class="row" v-for="(item, index) in hot_list" :key="index" @click="detail(item)">
|
|
|
<view class="out">
|
|
|
<view class="int">
|
|
|
- <image :src="ip + item.showPictures" mode="scaleToFill"></image>
|
|
|
+ <image :src="ip + item.showPictures" mode="aspectFill"></image>
|
|
|
<view class="title omit">{{ item.title }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -113,7 +113,7 @@ export default {
|
|
|
},
|
|
|
onLoad(e) {
|
|
|
this.getData();
|
|
|
- //this.getWeather();
|
|
|
+ this.getWeather();
|
|
|
uni.getSystemInfo({
|
|
|
success: res => {
|
|
|
this.top = parseInt(res.safeArea.top) + 5;
|