保存1020
This commit is contained in:
parent
cdc45140f8
commit
b5d4c218b5
4
app.json
4
app.json
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"pages": [
|
"pages": [
|
||||||
"pages/list/list",
|
"pages/list/list",
|
||||||
"pages/item/item",
|
|
||||||
"pages/start/start",
|
"pages/start/start",
|
||||||
"pages/index/index"
|
|
||||||
|
|
||||||
|
"pages/item/item",
|
||||||
|
"pages/index/index"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,13 +30,13 @@ Page({
|
||||||
page: a,
|
page: a,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// changeNext:function () {
|
changeNext:function () {
|
||||||
// setTimeout(() => {
|
setTimeout(() => {
|
||||||
// wx.redirectTo({
|
wx.redirectTo({
|
||||||
// url:'/pages/item/item'
|
url:'/pages/item/item'
|
||||||
// })
|
})
|
||||||
// }, 2000);
|
}, 2000);
|
||||||
// },
|
},
|
||||||
onLoad: function (options) { // options 为 board页传来的参数
|
onLoad: function (options) { // options 为 board页传来的参数
|
||||||
const _this = this;
|
const _this = this;
|
||||||
// 拼接请求url
|
// 拼接请求url
|
||||||
|
|
|
@ -23,21 +23,14 @@
|
||||||
<block wx:if="{{type === 'us_box'}}">
|
<block wx:if="{{type === 'us_box'}}">
|
||||||
<navigator url='../item/item?id={{item.id}}'>
|
<navigator url='../item/item?id={{item.id}}'>
|
||||||
<view class='item'>
|
<view class='item'>
|
||||||
<!-- <image class='poster' src='{{item.subject.images.small}}'></image> -->
|
|
||||||
<view class='meta'>
|
<view class='meta'>
|
||||||
<view class='titContent'>
|
<view class='titContent'>
|
||||||
<text class='title'>{{item.title}}</text>
|
<text class='title'>{{item.title}}</text>
|
||||||
<text class='titleButton' bindtap="changeNext">详情</text>
|
<text class='titleButton' bindtap="changeNext">详情</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- <text class='sub-title'>{{item.original_title}}({{item.year}})</text> -->
|
|
||||||
<text class='sub-title'>{{item.year}}</text><text>{{item.content}}</text>
|
<text class='sub-title'>{{item.year}}</text><text>{{item.content}}</text>
|
||||||
<!-- <view class='artists'>
|
|
||||||
<text>详情</text>
|
|
||||||
<text wx:for="{{item.directors}}" wx:key="id">{{item.name}}</text>
|
|
||||||
</view> -->
|
|
||||||
<!-- <view class='rating'>
|
|
||||||
<text>{{item.subject.rating.average}}</text>
|
|
||||||
</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</navigator>
|
</navigator>
|
||||||
|
@ -46,7 +39,7 @@
|
||||||
<block wx:else>
|
<block wx:else>
|
||||||
<navigator url='../item/item?id={{ item.id }}'>
|
<navigator url='../item/item?id={{ item.id }}'>
|
||||||
<view class='item'>
|
<view class='item'>
|
||||||
<!-- <image class='poster' src='{{item.images.small}}'></image> -->
|
|
||||||
<view class='meta'>
|
<view class='meta'>
|
||||||
<view class='titContent'>
|
<view class='titContent'>
|
||||||
<text class='title'>{{item.title}}</text>
|
<text class='title'>{{item.title}}</text>
|
||||||
|
@ -56,14 +49,6 @@
|
||||||
<text class='sub-year'>{{item.year}}</text><text class='sub-title'>{{item.content}}</text>
|
<text class='sub-year'>{{item.year}}</text><text class='sub-title'>{{item.content}}</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<!-- <view class='artists'>
|
|
||||||
<text>详情:</text>
|
|
||||||
<text wx:for="{{item.directors}}" wx:key="id">{{item.name}}</text>
|
|
||||||
</view> -->
|
|
||||||
<!-- <view class='rating'>
|
|
||||||
<text>{{item.rating.average}}</text>
|
|
||||||
</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</navigator>
|
</navigator>
|
||||||
|
|
Loading…
Reference in New Issue