Compare commits
2 Commits
66d74d87cb
...
15f610e9ee
| Author | SHA1 | Date |
|---|---|---|
|
|
15f610e9ee | |
|
|
b5d4c218b5 |
5
app.json
5
app.json
|
|
@ -1,10 +1,13 @@
|
||||||
{
|
{
|
||||||
"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,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>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,11 @@ Page({
|
||||||
* 生命周期函数--监听页面加载
|
* 生命周期函数--监听页面加载
|
||||||
*/
|
*/
|
||||||
onLoad: function (options) {
|
onLoad: function (options) {
|
||||||
|
setTimeout(() => {
|
||||||
|
wx.redirectTo({
|
||||||
|
url:'/pages/map/map'
|
||||||
|
})
|
||||||
|
}, 2000);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue