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
68326a62
Commit
68326a62
authored
Nov 27, 2020
by
石盼盼
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'shipanpan' into 'master'
Shipanpan See merge request
!42
parents
dc8316a1
372b6a0e
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 @
68326a62
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<block wx:for="{{list}}" wx:key='index'>
<block wx:for="{{list}}" wx:key='index'>
<view class="item flex-h flex-vc flex-hb">
<view class="item flex-h flex-vc flex-hb">
<view class="flex-h flex-vc">
<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>
<view class="name">{{item.child.nick_name != null ? item.child.nick_name: ''}}</view>
<view class="name">{{item.child.nick_name != null ? item.child.nick_name: ''}}</view>
<view class="big_name">大名:{{item.child.child_name}}</view>
<view class="big_name">大名:{{item.child.child_name}}</view>
...
...
pages/index/classManagement/classManagement.wxss
View file @
68326a62
...
@@ -28,6 +28,9 @@ page {
...
@@ -28,6 +28,9 @@ page {
line-height: 64rpx;
line-height: 64rpx;
text-align: center;
text-align: center;
}
}
.instant image{
margin-left: 12rpx;
}
.top image{
.top image{
width: 41rpx;
width: 41rpx;
height: 32rpx;
height: 32rpx;
...
...
pages/my/parents/parents.wxml
View file @
68326a62
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<view class="item" wx:for="{{list}}" wx:key="index">
<view class="item" wx:for="{{list}}" wx:key="index">
<view class="top flex-h flex-vc flex-hb">
<view class="top flex-h flex-vc flex-hb">
<view class="row">
<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 class="name">{{item.child.wx_user.nickname}}</view>
</view>
</view>
<view class="date">
<view class="date">
...
...
pages/tabbar/class/class.js
View file @
68326a62
...
@@ -111,7 +111,7 @@ Page({
...
@@ -111,7 +111,7 @@ Page({
this
.
setData
({
this
.
setData
({
locked
:
true
locked
:
true
})
})
this
.
onLoad
Fun
();
this
.
onLoad
();
}
}
wx
.
stopPullDownRefresh
()
wx
.
stopPullDownRefresh
()
},
},
...
...
pages/tabbar/class/class.json
View file @
68326a62
{
{
"enablePullDownRefresh"
:
true
,
"usingComponents"
:
{
"usingComponents"
:
{
"van-empty"
:
"/components/vant/empty/index"
"van-empty"
:
"/components/vant/empty/index"
},
},
...
...
pages/tabbar/index/index.js
View file @
68326a62
...
@@ -90,6 +90,7 @@ Page({
...
@@ -90,6 +90,7 @@ Page({
afterCalendarRender
(
e
)
{
afterCalendarRender
(
e
)
{
const
calendar
=
this
.
selectComponent
(
'
#calendar
'
).
calendar
;
const
calendar
=
this
.
selectComponent
(
'
#calendar
'
).
calendar
;
calendar
.
cancelSelectedDates
()
const
toSet
=
[
const
toSet
=
[
{
{
year
:
this
.
data
.
curDate
.
split
(
'
-
'
)[
0
],
year
:
this
.
data
.
curDate
.
split
(
'
-
'
)[
0
],
...
@@ -204,4 +205,21 @@ Page({
...
@@ -204,4 +205,21 @@ Page({
url
:
'
/pages/index/classDetail/classDetail?class_id=
'
+
item
.
class_id
+
'
&lesson_id=
'
+
item
.
id
,
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 @
68326a62
{
{
"enablePullDownRefresh"
:
true
,
"usingComponents"
:
{
"usingComponents"
:
{
"van-count-down"
:
"/components/vant/count-down/index"
,
"van-count-down"
:
"/components/vant/count-down/index"
,
"van-empty"
:
"/components/vant/empty/index"
,
"van-empty"
:
"/components/vant/empty/index"
,
...
...
pages/tabbar/personal/personal.json
View file @
68326a62
{
{
"usingComponents"
:
{},
"usingComponents"
:
{},
"navigationBarTitleText"
:
"我的"
,
"navigationBarTitleText"
:
"我的"
,
"enablePullDownRefresh"
:
true
,
"navigationBarBackgroundColor"
:
"#FFC600"
"navigationBarBackgroundColor"
:
"#FFC600"
}
}
\ No newline at end of file
pages/team/teamDetail/teamDetail.wxml
View file @
68326a62
...
@@ -19,9 +19,9 @@
...
@@ -19,9 +19,9 @@
<text>本班学员</text>
<text>本班学员</text>
<view class="stu flex-h flex-hw">
<view class="stu flex-h flex-hw">
<view class="stus column" wx:for="{{studentList}}" wx:key="index" wx:for-item="item">
<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="/images/default_head.png" wx:if="{{item.child.thumb == null}}"
mode="aspectFill"
></image>
<image src="{{item.child.thumb}}"
wx:else
></image>
<image src="{{item.child.thumb}}"
mode="aspectFill" wx:else
></image>
<view class="name">{{item.child.
child
_name}}</view>
<view class="name">{{item.child.
nick
_name}}</view>
</view>
</view>
</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