index.wxml 5.5 KB

1
  1. <view class="{{[$root.g0.tmVuetify.black?'black':' ']}}" style="{{'min-height:'+(sys.windowHeight+'px')+';'}}"><tm-menubars vue-id="a932cbd8-1" title shadow="{{0}}" showback="{{false}}" bind:__l="__l"></tm-menubars><view class="C1b1b1b pb-40"><view class="sousuo"><tm-pickers-city class="dingwei fl" vue-id="a932cbd8-2" level="city" btn-color="bg-gradient-blue-accent" default-value="{{addr}}" data-event-opts="{{[['^confirm',[['okCity']]]]}}" bind:confirm="__e" bind:__l="__l" vue-slots="{{['default']}}"><view><text class="text-size-n">{{addr[1]}}</text><tm-icons vue-id="{{('a932cbd8-3')+','+('a932cbd8-2')}}" size="{{24}}" color="white" name="icon-angle-down" bind:__l="__l"></tm-icons></view></tm-pickers-city><tm-search class="fr shuruk" vue-id="a932cbd8-4" disabled="true" color="white" confirm-text value="{{soso}}" data-event-opts="{{[['^click',[['sosoFun']]],['^input',[['__set_model',['','soso','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></tm-search></view><view style="clear:both;"></view></view><view class="lunbo"><tm-swiper vue-id="a932cbd8-5" previmage="{{false}}" list="{{list}}" height="{{400}}" current="{{current}}" data-event-opts="{{[['^change',[['lunboFun']]]]}}" bind:change="__e" bind:__l="__l"></tm-swiper><tm-translate class="anniu1 fl vue-ref" vue-id="a932cbd8-6" auto="{{true}}" duration="{{80}}" animation-name="zoomIn" data-ref="a_1" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{current!=0}}"><image class="qiehuan" src="/static/img/68.png" mode="widthFix" data-event-opts="{{[['tap',[['xia']]]]}}" bindtap="__e"></image></block></tm-translate><tm-translate class="anniu2 fr vue-ref" vue-id="a932cbd8-7" auto="{{true}}" duration="{{80}}" animation-name="zoomIn" data-ref="a_5" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{current<list.length-1}}"><image class="qiehuan" src="/static/img/67.png" mode="widthFix" data-event-opts="{{[['tap',[['shang']]]]}}" bindtap="__e"></image></block></tm-translate></view><view class="zhuti"><tm-sheet class="jiaoxi" vue-id="a932cbd8-8" shadow="{{24}}" bind:__l="__l" vue-slots="{{['default']}}"><tm-grid class="mt-20 mb-20" vue-id="{{('a932cbd8-9')+','+('a932cbd8-8')}}" grid="{{5}}" list="{{list3}}" icon-size="{{120}}" font-color="white" data-event-opts="{{[['^change',[['zhonglei']]]]}}" bind:change="__e" bind:__l="__l"></tm-grid></tm-sheet><tm-sheet class="jiaoxi xiao" vue-id="a932cbd8-10" shadow="{{24}}" bind:__l="__l" vue-slots="{{['default']}}"><tm-tabs class="qiehuan1" vue-id="{{('a932cbd8-11')+','+('a932cbd8-10')}}" align="center" list="{{list2}}" range-key="title" value="{{activeIndex}}" data-event-opts="{{[['^change',[['changeTab',['$0'],['activeIndex']]]],['^input',[['__set_model',['','activeIndex','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l"></tm-tabs></tm-sheet><tm-sheet class="jiaoxi xiao" style="height:160px;" vue-id="a932cbd8-12" shadow="{{24}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{list1.length!=0}}"><tm-drag-grid generic:scoped-slots-default="index-tm-drag-grid-default" data-vue-generic="scoped" class="mt-40 mb-40 remen" vue-id="{{('a932cbd8-13')+','+('a932cbd8-12')}}" list="{{list1}}" col="{{3}}" disabled="false" icon-size="{{160}}" bind:__l="__l" vue-slots="{{['default']}}"></tm-drag-grid></block></tm-sheet></view><view data-event-opts="{{[['tap',[['xiangqing',['$event']]]]]}}" class="guanggao" bindtap="__e"><image style="width:100%;" src="/static/img/82.png" mode="widthFix"></image><view class="wenzi"><view class="mt-10">额外打九折</view><view>高达75%的折扣!</view></view></view><view class="mt-40 jiage pt-40" style="height:160px;"><block wx:if="{{list4.length!=0}}"><tm-drag-grid generic:scoped-slots-default="index-tm-drag-grid-default1" data-vue-generic="scoped" class="remen" vue-id="a932cbd8-15" list="{{list4}}" col="{{3}}" disabled="false" icon-size="{{160}}" bind:__l="__l" vue-slots="{{['default']}}"></tm-drag-grid></block></view><tm-sheet class="jiaoxi xiao" vue-id="a932cbd8-17" shadow="{{24}}" bind:__l="__l" vue-slots="{{['default']}}"><tm-tabs bind:input="__e" class="qiehuan1" vue-id="{{('a932cbd8-18')+','+('a932cbd8-17')}}" align="center" list="{{list5}}" range-key="title" value="{{activeIndex}}" data-event-opts="{{[['^input',[['__set_model',['','activeIndex','$event',[]]]]]]}}" bind:__l="__l"></tm-tabs></tm-sheet><view class="zhuti shangpin"><tm-sheet class="jiaoxi xiao" vue-id="a932cbd8-19" padding="{{[0,0]}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{test}}" wx:for-item="item" wx:for-index="__i0__"><tm-cart-cell-list-food vue-id="{{('a932cbd8-20-'+__i0__)+','+('a932cbd8-19')}}" typeclick="{{typeclick}}" mdata="{{item}}" cart-num="{{item.buy}}" data-event-opts="{{[['^jiaruFun',[['jiarufuFun']]],['^goXiangQing',[['goXiangQing',['$0'],[[['test','',__i0__]]]]]],['^updateCartNum',[['__set_sync',['$0','buy','$event'],[[['test','',__i0__,'']]]]]],['^updateCartNum',[['__set_sync',['$0','buy','$event'],[[['test','',__i0__,'']]]]]]]}}" bind:jiaruFun="__e" bind:goXiangQing="__e" bind:updateCartNum="__e" bind:__l="__l"></tm-cart-cell-list-food></block></tm-sheet></view><block wx:if="{{gouwuche.length!=0}}"><view data-event-opts="{{[['tap',[['qugowuche',['$event']]]]]}}" class="fudong" bindtap="__e"><image src="../../static/img/87.png" mode="widthFix"></image><view class="shuzigwc">{{gouwuche.length}}</view></view></block><block wx:if="{{isBottom}}"><view style="width:100%;display:flex;justify-content:center;align-items:center;">没有更多了~</view></block><view style="width:100%;height:60px;"></view><tm-message class="vue-ref" vue-id="a932cbd8-21" data-ref="toast" bind:__l="__l"></tm-message></view>