李书文 2 éve
szülő
commit
682a17e292
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      smart-ui-app/pages/index/index2.vue

+ 2 - 2
smart-ui-app/pages/index/index2.vue

@@ -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;