Skip to content

Commit 03688ba

Browse files
committed
feat: 搜索片单支持查看详情列表
1 parent bb300ad commit 03688ba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

miniprogram/pages/search/search.wxml

100644100755
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<!--pages/search/search.wxml-->
21
<import src='/templates/movie/movieRow' />
32

43
<view class='container page-search'>
@@ -44,13 +43,13 @@
4443
<block wx:for='{{result}}' wx:key='id'>
4544
<view class="doulist" wx:if="{{item.target_type === 'doulist_cards'}}">
4645
<block wx:for="{{item.target.doulists}}" wx:key="id" wx:for-item="doulist">
47-
<view class="doulist-item">
46+
<navigator class="doulist-item" url="/packages/douban/pages/collection/collection?type={{doulist.id}}">
4847
<view class="doulist-item__img">
4948
<image class="img" src="{{doulist.cover_url}}" mode="aspectFill" />
5049
<view class="label">{{doulist.image_label}}</view>
5150
</view>
5251
<view class="doulist-item__title">{{doulist.title}}</view>
53-
</view>
52+
</navigator>
5453
</block>
5554
</view>
5655
<navigator wx:elif="{{item.target_type === 'movie' || item.target_type === 'tv'}}"

0 commit comments

Comments
 (0)