|
@@ -10,12 +10,12 @@
|
|
<view class="scroll-view-item_H" v-if="alltouList.length !=0">
|
|
<view class="scroll-view-item_H" v-if="alltouList.length !=0">
|
|
<image v-if="alltouList[0].data !=0" class="chuanda" :src="alltouList[0].data.makeAppointmentCollocation.image"></image>
|
|
<image v-if="alltouList[0].data !=0" class="chuanda" :src="alltouList[0].data.makeAppointmentCollocation.image"></image>
|
|
<view v-else class="chuanda">
|
|
<view v-else class="chuanda">
|
|
- <view class="text-white text-size-lg">{{tianqiList.city}}市</view>
|
|
|
|
- <view class="text-size-lg mt-15 text-weight-b" style="color: #FFCC00;">{{tianqiList.temp}}°C</view>
|
|
|
|
- <view class="text-white text-size-lg mt-15">{{tianqiList.weather}}</view>
|
|
|
|
- <view class="text-gray text-size-lg mt-10">最低{{tianqiList.templow}}°c 最高{{tianqiList.temphigh}}°c</view>
|
|
|
|
|
|
+ <view v-if="tianqiList" class="text-white text-size-lg">{{tianqiList.city}}市</view>
|
|
|
|
+ <view v-if="tianqiList" class="text-size-lg mt-15 text-weight-b" style="color: #FFCC00;">{{tianqiList.temp}}°C</view>
|
|
|
|
+ <view v-if="tianqiList" class="text-white text-size-lg mt-15">{{tianqiList.weather}}</view>
|
|
|
|
+ <view v-if="tianqiList" class="text-gray text-size-lg mt-10">最低{{tianqiList.templow}}°c 最高{{tianqiList.temphigh}}°c</view>
|
|
</view>
|
|
</view>
|
|
- <view class="mt-20 text-align-center">
|
|
|
|
|
|
+ <view class="mt-20 text-align-center" v-if="tianqiList">
|
|
<image class="taiyang" src="/static/img/106.png" mode="widthFix"></image>
|
|
<image class="taiyang" src="/static/img/106.png" mode="widthFix"></image>
|
|
<text class="text-size-s ml-15">{{tianqiList.templow}}°c~{{tianqiList.temphigh}}°c</text>
|
|
<text class="text-size-s ml-15">{{tianqiList.templow}}°c~{{tianqiList.temphigh}}°c</text>
|
|
<text class="text-size-s ml-15">{{tianqiList.week}}</text>
|
|
<text class="text-size-s ml-15">{{tianqiList.week}}</text>
|
|
@@ -25,12 +25,12 @@
|
|
<view class="scroll-view-item_H" v-if="alltouList.length !=0">
|
|
<view class="scroll-view-item_H" v-if="alltouList.length !=0">
|
|
<image v-if="alltouList[1].data !=0" class="chuanda" :src="alltouList[1].data.makeAppointmentCollocation.image"></image>
|
|
<image v-if="alltouList[1].data !=0" class="chuanda" :src="alltouList[1].data.makeAppointmentCollocation.image"></image>
|
|
<view v-else class="chuanda">
|
|
<view v-else class="chuanda">
|
|
- <view class="text-white text-size-lg">{{tianqiList.city}}市</view>
|
|
|
|
- <view class="text-size-lg mt-15 text-weight-b" style="color: #FFCC00;">{{tianqiList.daily[1].day.temphigh}}°C</view>
|
|
|
|
- <view class="text-white text-size-lg mt-15">{{tianqiList.daily[1].day.weather}}</view>
|
|
|
|
- <view class="text-gray text-size-lg mt-10">{{tianqiList.daily[1].day.winddirect}} {{tianqiList.daily[1].day.windpower}}°c</view>
|
|
|
|
|
|
+ <view v-if="tianqiList" class="text-white text-size-lg">{{tianqiList.city}}市</view>
|
|
|
|
+ <view v-if="tianqiList" class="text-size-lg mt-15 text-weight-b" style="color: #FFCC00;">{{tianqiList.daily[1].day.temphigh}}°C</view>
|
|
|
|
+ <view v-if="tianqiList" class="text-white text-size-lg mt-15">{{tianqiList.daily[1].day.weather}}</view>
|
|
|
|
+ <view v-if="tianqiList" class="text-gray text-size-lg mt-10">{{tianqiList.daily[1].day.winddirect}} {{tianqiList.daily[1].day.windpower}}°c</view>
|
|
</view>
|
|
</view>
|
|
- <view class="mt-20 text-align-center">
|
|
|
|
|
|
+ <view class="mt-20 text-align-center" v-if="tianqiList">
|
|
<image class="taiyang" src="/static/img/106.png" mode="widthFix"></image>
|
|
<image class="taiyang" src="/static/img/106.png" mode="widthFix"></image>
|
|
<text class="text-size-s ml-15">最高温度{{tianqiList.daily[1].day.temphigh}}°C</text>
|
|
<text class="text-size-s ml-15">最高温度{{tianqiList.daily[1].day.temphigh}}°C</text>
|
|
<text class="text-size-s ml-15">{{tianqiList.daily[1].week}}</text>
|
|
<text class="text-size-s ml-15">{{tianqiList.daily[1].week}}</text>
|