Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wxapp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
亲子游项目
wxapp
Commits
e810410d
Commit
e810410d
authored
Oct 11, 2018
by
汪睦雄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交修改
parent
a28f3d12
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
15 deletions
+6
-15
images/background-vip.png
+0
-0
images/personal_center/avatar.jpg
+0
-0
pages/index/index.wxml
+2
-2
pages/me/collection/index.js
+0
-7
pages/me/collection/index.json
+2
-2
pages/me/collection/index.wxml
+0
-2
pages/me/vip/index.wxml
+2
-2
No files found.
images/background-vip.png
View file @
e810410d
319 KB
|
W:
|
H:
195 KB
|
W:
|
H:
2-up
Swipe
Onion skin
images/personal_center/avatar.jpg
deleted
100644 → 0
View file @
a28f3d12
51.4 KB
pages/index/index.wxml
View file @
e810410d
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<text slot="footer" class='text-gray text-small' catchtap='gotoMoreProjects' data-type='1' data-name='最新活动'>更多</text>
<text slot="footer" class='text-gray text-small' catchtap='gotoMoreProjects' data-type='1' data-name='最新活动'>更多</text>
</i-cell>
</i-cell>
<i-row i-class="col-wrapper">
<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}}'>
<view class='col-item' catchtap='handleProjectDetail' data-id='{{n.id}}'>
<image class='image' src="{{n.poster}}" mode='aspectFill'></image>
<image class='image' src="{{n.poster}}" mode='aspectFill'></image>
<view class='title'>{{n.title}}</view>
<view class='title'>{{n.title}}</view>
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<text slot="footer" class='text-gray text-small' catchtap='gotoMoreProjects' data-type='2' data-name='爆款专区'>更多</text>
<text slot="footer" class='text-gray text-small' catchtap='gotoMoreProjects' data-type='2' data-name='爆款专区'>更多</text>
</i-cell>
</i-cell>
<i-row i-class="col-wrapper">
<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}}'>
<view class='col-item' catchtap='handleProjectDetail' data-id='{{n.id}}'>
<image class='image' src="{{n.poster}}" mode='aspectFill'></image>
<image class='image' src="{{n.poster}}" mode='aspectFill'></image>
<view class='title'>{{n.title}}</view>
<view class='title'>{{n.title}}</view>
...
...
pages/me/collection/index.js
View file @
e810410d
...
@@ -2,9 +2,6 @@
...
@@ -2,9 +2,6 @@
import
api
from
'../../../utils/Api.js'
import
api
from
'../../../utils/Api.js'
import
Wx
from
'../../../utils/Wx.js'
import
Wx
from
'../../../utils/Wx.js'
import
Schedule
from
'../../../utils/Schedule.js'
import
Schedule
from
'../../../utils/Schedule.js'
const
{
$Toast
}
=
require
(
'../../../iview/base/index'
);
Page
({
Page
({
/**
/**
...
@@ -40,10 +37,6 @@ Page({
...
@@ -40,10 +37,6 @@ Page({
loading
:
false
,
loading
:
false
,
currentPage
:
2
currentPage
:
2
})
})
$Toast
({
content
:
res
.
msg
,
type
:
'error'
})
}
else
{
}
else
{
let
_projects
=
this
.
data
.
projects
let
_projects
=
this
.
data
.
projects
this
.
setData
({
this
.
setData
({
...
...
pages/me/collection/index.json
View file @
e810410d
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
"enablePullDownRefresh"
:
true
,
"enablePullDownRefresh"
:
true
,
"usingComponents"
:
{
"usingComponents"
:
{
"project-item"
:
"/components/project-item/index"
,
"project-item"
:
"/components/project-item/index"
,
"more"
:
"/components/more/index"
,
"more"
:
"/components/more/index"
"i-toast"
:
"/iview/toast/index"
}
}
}
}
\ No newline at end of file
pages/me/collection/index.wxml
View file @
e810410d
...
@@ -4,6 +4,5 @@
...
@@ -4,6 +4,5 @@
<view class="projects-wrapper">
<view class="projects-wrapper">
<project-item wx:for="{{projects}}" wx:for-index="idx" wx:for-item="item" wx:key="n.id" project-item="{{item}}" />
<project-item wx:for="{{projects}}" wx:for-index="idx" wx:for-item="item" wx:key="n.id" project-item="{{item}}" />
</view>
</view>
<i-toast id="toast" />
</view>
</view>
<more hasMore="{{hasMore}}" loading="{{loading}}" page="{{currentPage}}" />
<more hasMore="{{hasMore}}" loading="{{loading}}" page="{{currentPage}}" />
\ No newline at end of file
pages/me/vip/index.wxml
View file @
e810410d
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<view class='card-box'>
<view class='card-box'>
<image src="/images/background-{{user.is_vip==1?'':'no'}}vip.png"></image>
<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>
<view class='calculation-box'>
<view class='calculation-box'>
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</view>
</view>
<view class='vip_intro'>
<view class='vip_intro'>
会员卡说明:用户购买一次会员卡后,增加一年的会员时限,多次购买则在先有的基础上延长时间,单
词
以1年为标准。
会员卡说明:用户购买一次会员卡后,增加一年的会员时限,多次购买则在先有的基础上延长时间,单
次
以1年为标准。
</view>
</view>
<i-row class='height'>
<i-row class='height'>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment