You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.3 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!--pages/components/recommend/recommend.wxml-->
<import src="../movie-grid/movie-grid.wxml"/>
<template name= "recommend">
<view class='cont'>
<view class='session-page'>
<view class='session-header'>
<text class='header-title'>推荐好书</text>
<text class='header-more' bindtap='bindToMore' data-type-id='inThearters'>更多></text>
</view>
<view class='session-content'>
<scroll-view scroll-x="ture" class='movie-scroll'>
<block wx:for="{{inThearters}}" wx:key="{{inThearters}}">
<template is="movie-grid" data="{{...item}}"></template>
<!-- 此处的item就是指inTheater因为遍历每一项 -->
</block>
</scroll-view>
</view>
</view>
<view class='session-page'>
<view class='session-header'>
<text class='header-title'>推荐好物</text>
<text class='header-more' bindtap='bindToMore' data-type-id='comingSoon'>更多></text>
</view>
<view class='session-content'>
<scroll-view scroll-x="ture" class='movie-scroll'>
<block wx:for="{{comingSoon}}" wx:key="{{comingSoon}}">
<template is="movie-grid2" data="{{...item}}"></template>
<!-- 此处的item就是指inTheater因为遍历每一项 -->
</block>
</scroll-view>
</view>
</view>
</view>
</template>