Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wandouchengzhang_coach
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
石盼盼
wandouchengzhang_coach
Commits
dbdd7eb3
Commit
dbdd7eb3
authored
Nov 27, 2020
by
石盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
891a24ab
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
29 additions
and
7 deletions
+29
-7
classManagement.wxml
pages/index/classManagement/classManagement.wxml
+1
-1
classManagement.wxss
pages/index/classManagement/classManagement.wxss
+3
-0
parents.wxml
pages/my/parents/parents.wxml
+1
-1
class.js
pages/tabbar/class/class.js
+1
-1
class.json
pages/tabbar/class/class.json
+1
-0
index.js
pages/tabbar/index/index.js
+18
-0
index.json
pages/tabbar/index/index.json
+1
-0
personal.json
pages/tabbar/personal/personal.json
+0
-1
teamDetail.wxml
pages/team/teamDetail/teamDetail.wxml
+3
-3
No files found.
pages/index/classManagement/classManagement.wxml
View file @
dbdd7eb3
...
...
@@ -14,7 +14,7 @@
<block wx:for="{{list}}" wx:key='index'>
<view class="item flex-h flex-vc flex-hb">
<view class="flex-h flex-vc">
<image src="{{item.child.thumb !=null ? item.child.thumb: '/images/default_head.png'}}"></image>
<image src="{{item.child.thumb !=null ? item.child.thumb: '/images/default_head.png'}}"
mode="aspectFill"
></image>
<view>
<view class="name">{{item.child.nick_name != null ? item.child.nick_name: ''}}</view>
<view class="big_name">大名:{{item.child.child_name}}</view>
...
...
pages/index/classManagement/classManagement.wxss
View file @
dbdd7eb3
...
...
@@ -28,6 +28,9 @@ page {
line-height: 64rpx;
text-align: center;
}
.instant image{
margin-left: 12rpx;
}
.top image{
width: 41rpx;
height: 32rpx;
...
...
pages/my/parents/parents.wxml
View file @
dbdd7eb3
...
...
@@ -3,7 +3,7 @@
<view class="item" wx:for="{{list}}" wx:key="index">
<view class="top flex-h flex-vc flex-hb">
<view class="row">
<image src="{{item.child.wx_user.avatarurl}}"></image>
<image src="{{item.child.wx_user.avatarurl}}"
mode="aspectFill"
></image>
<view class="name">{{item.child.wx_user.nickname}}</view>
</view>
<view class="date">
...
...
pages/tabbar/class/class.js
View file @
dbdd7eb3
...
...
@@ -111,7 +111,7 @@ Page({
this
.
setData
({
locked
:
true
})
this
.
onLoad
Fun
();
this
.
onLoad
();
}
wx
.
stopPullDownRefresh
()
},
...
...
pages/tabbar/class/class.json
View file @
dbdd7eb3
{
"enablePullDownRefresh"
:
true
,
"usingComponents"
:
{
"van-empty"
:
"/components/vant/empty/index"
},
...
...
pages/tabbar/index/index.js
View file @
dbdd7eb3
...
...
@@ -90,6 +90,7 @@ Page({
afterCalendarRender
(
e
)
{
const
calendar
=
this
.
selectComponent
(
'
#calendar
'
).
calendar
;
calendar
.
cancelSelectedDates
()
const
toSet
=
[
{
year
:
this
.
data
.
curDate
.
split
(
'
-
'
)[
0
],
...
...
@@ -204,4 +205,21 @@ Page({
url
:
'
/pages/index/classDetail/classDetail?class_id=
'
+
item
.
class_id
+
'
&lesson_id=
'
+
item
.
id
,
})
},
initData
:
function
(){
this
.
setData
({
allList
:
[],
list
:
[],
locked
:
false
})
},
onPullDownRefresh
:
function
()
{
this
.
initData
()
if
(
!
this
.
data
.
locked
)
{
this
.
setData
({
locked
:
true
})
this
.
onLoad
()
}
wx
.
stopPullDownRefresh
()
}
})
\ No newline at end of file
pages/tabbar/index/index.json
View file @
dbdd7eb3
{
"enablePullDownRefresh"
:
true
,
"usingComponents"
:
{
"van-count-down"
:
"/components/vant/count-down/index"
,
"van-empty"
:
"/components/vant/empty/index"
,
...
...
pages/tabbar/personal/personal.json
View file @
dbdd7eb3
{
"usingComponents"
:
{},
"navigationBarTitleText"
:
"我的"
,
"enablePullDownRefresh"
:
true
,
"navigationBarBackgroundColor"
:
"#FFC600"
}
\ No newline at end of file
pages/team/teamDetail/teamDetail.wxml
View file @
dbdd7eb3
...
...
@@ -19,9 +19,9 @@
<text>本班学员</text>
<view class="stu flex-h flex-hw">
<view class="stus column" wx:for="{{studentList}}" wx:key="index" wx:for-item="item">
<image src="/images/default_head.png" wx:if="{{item.child.thumb == null}}"></image>
<image src="{{item.child.thumb}}"
wx:else
></image>
<view class="name">{{item.child.
child
_name}}</view>
<image src="/images/default_head.png" wx:if="{{item.child.thumb == null}}"
mode="aspectFill"
></image>
<image src="{{item.child.thumb}}"
mode="aspectFill" wx:else
></image>
<view class="name">{{item.child.
nick
_name}}</view>
</view>
</view>
</view>
...
...
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