Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
wechatapp.shangjiadao.com
Commits
78cdf3bd
Commit
78cdf3bd
authored
Aug 08, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/square' into wxl-develop
parents
b2fed311
e2f3720f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
9 deletions
+14
-9
index.js
src/pages/papersquare/index.js
+2
-7
index.json
src/pages/papersquare/index.json
+1
-0
index.wxml
src/pages/papersquare/index.wxml
+1
-1
index.wxss
src/pages/papersquare/index.wxss
+10
-1
No files found.
src/pages/papersquare/index.js
View file @
78cdf3bd
...
...
@@ -366,6 +366,7 @@ Page({
*/
onPullDownRefresh
:
function
()
{
if
(
this
.
data
.
bigtab
==
2
){
wx
.
stopPullDownRefresh
();
return
}
this
.
setData
({
...
...
@@ -401,13 +402,6 @@ Page({
wx
.
showLoading
({
title
:
'数据加载中'
})
// let sort_type = 3;
// let clocktype = Number(this.data.clocktype);
// if(clocktype==1){
// sort_type = 3
// }else if(clocktype == 2){
// sort_type = 4
// }
clockList
({
page
:
that
.
data
.
clockPage
,
perPage
:
that
.
data
.
perPage
,
...
...
@@ -470,6 +464,7 @@ Page({
clockList
:
data
.
list
||
[],
clockRecordIds
},
()
=>
{
wx
.
stopPullDownRefresh
();
if
(
that
.
data
.
clockTotal
>
that
.
data
.
clockList
.
length
)
{
let
clockPage
=
that
.
data
.
clockPage
+
1
;
that
.
setData
({
...
...
src/pages/papersquare/index.json
View file @
78cdf3bd
{
"navigationBarTitleText"
:
"习作广场"
,
"enablePullDownRefresh"
:
true
,
"usingComponents"
:
{
"go-top"
:
"../../../components/goTop"
,
"list-loading"
:
"../../../components/listloading"
,
...
...
src/pages/papersquare/index.wxml
View file @
78cdf3bd
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container" style="background: {{bigtab == 2?'#F7F7F9': '#fff'}}">
<view class="header-tab
" style="background: {{bigtab==2?'#FFD146':'
'}}">
<view class="header-tab
{{bigtab==2?'header-tab2':'header-tab1
'}}">
<view class="tab-item {{bigtab == 1? 'active': ''}}" data-type="1" bindtap="bigTapEvent">今日打卡</view>
<view class="tab-item {{bigtab == 2? 'active active2': ''}}" data-type="2" bindtap="bigTapEvent">学员表彰墙</view>
</view>
...
...
src/pages/papersquare/index.wxss
View file @
78cdf3bd
.container{
font-size: 28rpx;
min-height: 100vh;
padding
-bottom:
120rpx;
padding
: 90rpx 0
120rpx;
}
.header-tab{
width: 100%;
height: 90rpx;
display: flex;
position: fixed;
top: 0;
z-index: 9;
}
.header-tab2{
background: #FFD146;
}
.header-tab1{
background: #fff;
box-shadow: 0 2px 16rpx 0 rgba(0, 0, 0, 0.1);
}
.header-tab .tab-item{
...
...
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