index.wxml 2.8 KB
<view><view class="topBox"><view class="topTitle"><u-navbar vue-id="8dd740cc-1" title=" " safeAreaInsetTop="{{true}}" fixed="{{true}}" placeholder="{{true}}" bgColor="transparent" bind:__l="__l" vue-slots="{{['left']}}"><view class="u-nav-slot" style="z-index:999;color:rgba(255,255,255,1);font-size:40rpx;font-weight:700;" slot="left">大戏看北京</view></u-navbar><image class="bg" src="/static/home.png" mode></image></view></view><view class="bgphoto"><image src="/static/home2.png" alt class="_img"></image></view><view class="search"><view class="searchBox"><view class="searchImg"><image src="/static/iconSearch.png" alt class="_img"></image></view><view class="searchText">搜索演出、剧场关键词</view></view></view><view class="mainBox"><view class="swiper"><u-swiper vue-id="8dd740cc-2" list="{{list5}}" autoplay="{{true}}" data-event-opts="{{[['^change',[['e0']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['indicator']}}"><view class="indicator" slot="indicator"><block wx:for="{{list5}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['indicator__dot',index===current&&'indicator__dot--active']}}"></view></block></view></u-swiper></view><view class="category"><block wx:for="{{categoriesList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="categoryImg"><image src="{{item.image}}" alt class="_img"></image><view>{{item.title}}</view></view></block><view class="categoryImg2"><image src="/static/ic-more.png" alt class="_img"></image><view>更多</view></view></view><view class="today"><view class="left">今日演出</view><view class="right"><view data-event-opts="{{[['tap',[['tobig',['$event']]]]]}}" bindtap="__e">更多</view><image src="/static/ic-arrow-more.png" alt class="_img"></image></view></view><view class="scrollBox"><scroll-view class="scrollBox1" scroll-x="true" scroll-left="120"><block wx:for="{{dayPromanceList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="scrollBox2"><image src="/static/rectangle.png" alt class="_img"></image><view class="text1">{{item.title}}</view><view class="text2">{{item.date}}</view></view></block></scroll-view></view><view class="today"><view class="left">更多演出</view><view class="right"><view>更多</view><image src="/static/ic-arrow-more2.png" alt class="_img"></image></view></view><view><block wx:for="{{morePromance}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="todProgram"><view class="drama">{{item.tag}}</view><view class="left"><image src="/static/rectangle.png" alt class="_img"></image></view><view class="right"><view class="nameText">{{item.tiitle}}</view><view class="timeText">{{item.date}}</view><view class="addressText">{{item.address}}</view><view class="priceText"><text>¥</text><text class="symbol">{{''+item.price}}</text><text class="gray">起</text></view></view></view></block></view></view></view>