Commit e810410d by 汪睦雄

提交修改

parent a28f3d12

319 KB | W: | H:

195 KB | W: | H:

images/background-vip.png
images/background-vip.png
images/background-vip.png
images/background-vip.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -10,7 +10,7 @@
<text slot="footer" class='text-gray text-small' catchtap='gotoMoreProjects' data-type='1' data-name='最新活动'>更多</text>
</i-cell>
<i-row i-class="col-wrapper">
<i-col span="8" i-class="col-class" wx:for="{{news}}" wx:for-index="idx" wx:for-item="n" wx:key="n.id" wx:if="{{idx < 3}}">
<i-col span="8" i-class="col-class" wx:for="{{news}}" wx:for-index="idx" wx:for-item="n" wx:key="n.id" wx:if="{{idx < 6}}">
<view class='col-item' catchtap='handleProjectDetail' data-id='{{n.id}}'>
<image class='image' src="{{n.poster}}" mode='aspectFill'></image>
<view class='title'>{{n.title}}</view>
......@@ -28,7 +28,7 @@
<text slot="footer" class='text-gray text-small' catchtap='gotoMoreProjects' data-type='2' data-name='爆款专区'>更多</text>
</i-cell>
<i-row i-class="col-wrapper">
<i-col span="8" i-class="col-class" wx:for="{{heats}}" wx:for-index="idx" wx:for-item="n" wx:key="n.id" wx:if="{{idx < 3}}">
<i-col span="8" i-class="col-class" wx:for="{{heats}}" wx:for-index="idx" wx:for-item="n" wx:key="n.id" wx:if="{{idx < 6}}">
<view class='col-item' catchtap='handleProjectDetail' data-id='{{n.id}}'>
<image class='image' src="{{n.poster}}" mode='aspectFill'></image>
<view class='title'>{{n.title}}</view>
......
......@@ -2,9 +2,6 @@
import api from '../../../utils/Api.js'
import Wx from '../../../utils/Wx.js'
import Schedule from '../../../utils/Schedule.js'
const {
$Toast
} = require('../../../iview/base/index');
Page({
/**
......@@ -40,10 +37,6 @@ Page({
loading: false,
currentPage: 2
})
$Toast({
content: res.msg,
type: 'error'
})
} else {
let _projects = this.data.projects
this.setData({
......
......@@ -3,7 +3,6 @@
"enablePullDownRefresh": true,
"usingComponents": {
"project-item": "/components/project-item/index",
"more": "/components/more/index",
"i-toast": "/iview/toast/index"
"more": "/components/more/index"
}
}
\ No newline at end of file
......@@ -4,6 +4,5 @@
<view class="projects-wrapper">
<project-item wx:for="{{projects}}" wx:for-index="idx" wx:for-item="item" wx:key="n.id" project-item="{{item}}" />
</view>
<i-toast id="toast" />
</view>
<more hasMore="{{hasMore}}" loading="{{loading}}" page="{{currentPage}}" />
\ No newline at end of file
......@@ -3,7 +3,7 @@
<view class='card-box'>
<image src="/images/background-{{user.is_vip==1?'':'no'}}vip.png"></image>
<text> {{user.is_vip==1?user.vip_endtime:''}}</text>
<text> {{user.is_vip==1?'过期时间:' + user.vip_endtime:''}}</text>
</view>
<view class='calculation-box'>
......@@ -17,7 +17,7 @@
</view>
<view class='vip_intro'>
会员卡说明:用户购买一次会员卡后,增加一年的会员时限,多次购买则在先有的基础上延长时间,单以1年为标准。
会员卡说明:用户购买一次会员卡后,增加一年的会员时限,多次购买则在先有的基础上延长时间,单以1年为标准。
</view>
<i-row class='height'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment