index.wxml 4.8 KB

1
  1. <view class="{{[$root.g0.tmVuetify.black?'black':' ']}}" style="{{'min-height:'+(sys.windowHeight+'px')+';'}}"><tm-menubars vue-id="37d93056-1" title="搭配" shadow="{{0}}" showback="{{false}}" bind:__l="__l"></tm-menubars><view class="C1b1b1b pb-20"><tm-tabs bind:input="__e" class="qiehuan1" vue-id="37d93056-2" align="left" list="{{list}}" range-key="title" value="{{activeIndex}}" data-event-opts="{{[['^input',[['__set_model',['','activeIndex','$event',[]]]]]]}}" bind:__l="__l"></tm-tabs></view><scroll-view class="scroll-view_H" scroll-x="true"><block wx:if="{{alltouList.length!=0}}"><view class="scroll-view-item_H"><block wx:if="{{alltouList[0].data!=0}}"><image class="chuanda" src="{{alltouList[0].data.makeAppointmentCollocation.image}}"></image></block><block wx:else><view class="chuanda"><block wx:if="{{tianqiList}}"><view class="text-white text-size-lg">{{tianqiList.city+"市"}}</view></block><block wx:if="{{tianqiList}}"><view class="text-size-lg mt-15 text-weight-b" style="color:#FFCC00;">{{tianqiList.temp+"°C"}}</view></block><block wx:if="{{tianqiList}}"><view class="text-white text-size-lg mt-15">{{tianqiList.weather}}</view></block><block wx:if="{{tianqiList}}"><view class="text-gray text-size-lg mt-10">{{"最低"+tianqiList.templow+"°c 最高"+tianqiList.temphigh+"°c"}}</view></block></view></block><block wx:if="{{tianqiList}}"><view class="mt-20 text-align-center"><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.week}}</text></view></block><block wx:if="{{alltouList[0]}}"><view data-event-opts="{{[['tap',[['bianji',[1,'$0'],['alltouList.__$n0.data']]]]]}}" class="bianji" bindtap="__e">{{alltouList[0].data!=0?'更换穿搭':'添加穿搭'}}</view></block></view></block><block wx:if="{{alltouList.length!=0}}"><view class="scroll-view-item_H"><block wx:if="{{alltouList[1].data!=0}}"><image class="chuanda" src="{{alltouList[1].data.makeAppointmentCollocation.image}}"></image></block><block wx:else><view class="chuanda"><block wx:if="{{tianqiList}}"><view class="text-white text-size-lg">{{tianqiList.city+"市"}}</view></block><block wx:if="{{tianqiList}}"><view class="text-size-lg mt-15 text-weight-b" style="color:#FFCC00;">{{tianqiList.daily[1].day.temphigh+"°C"}}</view></block><block wx:if="{{tianqiList}}"><view class="text-white text-size-lg mt-15">{{tianqiList.daily[1].day.weather}}</view></block><block wx:if="{{tianqiList}}"><view class="text-gray text-size-lg mt-10">{{tianqiList.daily[1].day.winddirect+" "+tianqiList.daily[1].day.windpower+"°c"}}</view></block></view></block><block wx:if="{{tianqiList}}"><view class="mt-20 text-align-center"><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].week}}</text></view></block><block wx:if="{{alltouList[1]}}"><view data-event-opts="{{[['tap',[['bianji',[2,'$0'],['alltouList.__$n1.data']]]]]}}" class="bianji" bindtap="__e">{{alltouList[1].data!=0?'更换穿搭':'添加穿搭'}}</view></block></view></block></scroll-view><view class="zhuti _div"><tm-sheet class="yichu" style="margin-bottom:40px !important;" vue-id="37d93056-3" bind:__l="__l" vue-slots="{{['default']}}"><tm-tabs class="C1b1b1b qiehuan" vue-id="{{('37d93056-4')+','+('37d93056-3')}}" color="white" align="left" list="{{listfl}}" range-key="title" value="{{activeIndex1}}" data-event-opts="{{[['^change',[['fenlei']]],['^input',[['__set_model',['','activeIndex1','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></tm-tabs><block wx:for="{{quanbuList}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['zidingyibianji',['$0'],[[['quanbuList','',index]]]]]]]}}" class="yiguicla black pa-6 ma-4 fl" bindtap="__e"><image src="{{item.image}}" mode="widthFix"></image><view class="text-size-m mt-20 mb-20 ml-10">{{item.title}}</view></view></block><view style="clear:both;"></view><block wx:if="{{quanbuList.length==0}}"><tm-empty vue-id="{{('37d93056-5')+','+('37d93056-3')}}" label="暂无数据" color="white" icon="icon-paperplane-fill" bind:__l="__l"></tm-empty></block><block wx:if="{{total>quanbuList.length}}"><view data-event-opts="{{[['tap',[['gengmore']]]]}}" class="more ma-40 pt-40" style="clear:both;" bindtap="__e"><image src="/static/img/30.png" mode="widthFix"></image><text class="text-size-s">下拉加载更多~</text></view></block></tm-sheet><tm-button class="sao" vue-id="37d93056-6" round="{{24}}" block="{{true}}" data-event-opts="{{[['^click',[['zidingyi']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">自定义搭配</tm-button></view><tm-message class="vue-ref" vue-id="37d93056-7" data-ref="toast" bind:__l="__l"></tm-message></view>