Skip to content

Commit

Permalink
feat: 搜索片单支持查看详情列表
Browse files Browse the repository at this point in the history
  • Loading branch information
Honye committed Sep 8, 2024
1 parent bb300ad commit 03688ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions miniprogram/pages/search/search.wxml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<!--pages/search/search.wxml-->
<import src='/templates/movie/movieRow' />

<view class='container page-search'>
Expand Down Expand Up @@ -44,13 +43,13 @@
<block wx:for='{{result}}' wx:key='id'>
<view class="doulist" wx:if="{{item.target_type === 'doulist_cards'}}">
<block wx:for="{{item.target.doulists}}" wx:key="id" wx:for-item="doulist">
<view class="doulist-item">
<navigator class="doulist-item" url="/packages/douban/pages/collection/collection?type={{doulist.id}}">
<view class="doulist-item__img">
<image class="img" src="{{doulist.cover_url}}" mode="aspectFill" />
<view class="label">{{doulist.image_label}}</view>
</view>
<view class="doulist-item__title">{{doulist.title}}</view>
</view>
</navigator>
</block>
</view>
<navigator wx:elif="{{item.target_type === 'movie' || item.target_type === 'tv'}}"
Expand Down

0 comments on commit 03688ba

Please sign in to comment.