Compare commits
No commits in common. "15f610e9ee55efaefc2f53015e15c1b14d669121" and "66d74d87cbacff2c9d50d9ce98804182e361f21a" have entirely different histories.
15f610e9ee
...
66d74d87cb
5
app.json
5
app.json
|
|
@ -1,13 +1,10 @@
|
||||||
{
|
{
|
||||||
"pages": [
|
"pages": [
|
||||||
"pages/start/start",
|
|
||||||
"pages/map/map",
|
"pages/map/map",
|
||||||
"pages/list/list",
|
"pages/list/list",
|
||||||
"pages/item/item",
|
"pages/item/item",
|
||||||
|
"pages/start/start",
|
||||||
"pages/index/index"
|
"pages/index/index"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
],
|
],
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"routePlan": {
|
"routePlan": {
|
||||||
|
|
|
||||||
|
|
@ -23,14 +23,21 @@
|
||||||
<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>
|
||||||
|
|
@ -39,7 +46,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>
|
||||||
|
|
@ -49,6 +56,14 @@
|
||||||
<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>
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,7 @@ Page({
|
||||||
* 生命周期函数--监听页面加载
|
* 生命周期函数--监听页面加载
|
||||||
*/
|
*/
|
||||||
onLoad: function (options) {
|
onLoad: function (options) {
|
||||||
setTimeout(() => {
|
|
||||||
wx.redirectTo({
|
|
||||||
url:'/pages/map/map'
|
|
||||||
})
|
|
||||||
}, 2000);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue