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
c88fa1e8
Commit
c88fa1e8
authored
Aug 22, 2019
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9bea1933
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
158 additions
and
70 deletions
+158
-70
index.wxss
business/pages/circleindex/index.wxss
+2
-2
classdetail.js
business/pages/classservice/classdetail.js
+1
-1
classdetail.wxss
business/pages/classservice/classdetail.wxss
+3
-3
index.wxss
business/pages/nocomment/index.wxss
+2
-4
studentdetail.js
business/pages/studentcenter/studentdetail.js
+14
-4
studentdetail.wxml
business/pages/studentcenter/studentdetail.wxml
+12
-6
studentdetail.wxss
business/pages/studentcenter/studentdetail.wxss
+14
-2
index.js
components/emptypage/index.js
+31
-0
index.json
components/emptypage/index.json
+4
-0
index.wxml
components/emptypage/index.wxml
+6
-0
index.wxss
components/emptypage/index.wxss
+31
-0
empty_b.png
images/common/empty/empty_b.png
+0
-0
empty_b_search.png
images/common/empty/empty_b_search.png
+0
-0
empty_c_rest.png
images/common/empty/empty_c_rest.png
+0
-0
empty_c_sraech.png
images/common/empty/empty_c_sraech.png
+0
-0
empty_no.png
images/common/empty/empty_no.png
+0
-0
coursemgt.js
service/customer/coursemgt.js
+3
-3
index.js
src/pages/myclassrecord/index.js
+2
-10
index.wxml
src/pages/myclassrecord/index.wxml
+1
-1
index.wxss
src/pages/myclassrecord/index.wxss
+4
-1
index.js
src/pages/mycourses/index.js
+2
-10
index.wxml
src/pages/mycourses/index.wxml
+1
-2
index.js
src/pages/myschedule/index.js
+2
-10
bindmobile.wxss
src/pages/setting/bindmobile.wxss
+13
-2
index.js
src/pages/setting/index.js
+9
-9
userlist.wxss
style/userlist.wxss
+1
-0
No files found.
business/pages/circleindex/index.wxss
View file @
c88fa1e8
...
...
@@ -37,7 +37,7 @@ page{
}
.header-box .coursename{
font-size: 24rpx;
color: rgba(0,0,0,.
7
);
color: rgba(0,0,0,.
5
);
padding-top: 42rpx;
}
.header-box .circlename{
...
...
@@ -142,7 +142,7 @@ page{
position: relative;
}
.shiftitem .shiftname {
color: rgba(0,0,0,.
7
);
color: rgba(0,0,0,.
5
);
font-size: 26rpx;
}
.shiftitem .shiftline {
...
...
business/pages/classservice/classdetail.js
View file @
c88fa1e8
...
...
@@ -1201,7 +1201,7 @@ Page({
},
goindex
()
{
wx
.
reLaunch
({
url
:
`/business/pages/classservice/
b
index?sid=
${
this
.
data
.
sid
}
`
,
url
:
`/business/pages/classservice/
t
index?sid=
${
this
.
data
.
sid
}
`
,
})
},
// 防止悬浮窗滚动页面滚动,无特殊意义
...
...
business/pages/classservice/classdetail.wxss
View file @
c88fa1e8
...
...
@@ -37,7 +37,7 @@ page{
}
.header-box .coursename{
font-size: 24rpx;
color: rgba(0,0,0,.
7
);
color: rgba(0,0,0,.
5
);
padding-top: 42rpx;
}
.header-box .circlename{
...
...
@@ -142,7 +142,7 @@ page{
position: relative;
}
.shiftitem .shiftname {
color: rgba(0,0,0,.
7
);
color: rgba(0,0,0,.
5
);
font-size: 26rpx;
}
.shiftitem .shiftline {
...
...
@@ -268,7 +268,7 @@ page{
position: absolute;
right: 24rpx;
top: 107rpx;
width: 180px;
width: 180
r
px;
background:#fff;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);
border-radius: 10rpx;
...
...
business/pages/nocomment/index.wxss
View file @
c88fa1e8
...
...
@@ -5,16 +5,14 @@ page{
.container{}
.nocomment-listbox {
margin-top: 24rpx;
border-top: 1px solid rgba(207,208,221,
1
);
border-bottom: 1px solid rgba(207,208,221,
1
);
border-top: 1px solid rgba(207,208,221,
.3
);
border-bottom: 1px solid rgba(207,208,221,
.3
);
background:#fff;
}
.nocomment-list{
height:158rpx;
background:rgba(255,255,255,1);
/* border-top:2rpx solid rgba(207,208,221,1);
border-bottom:2rpx solid rgba(207,208,221,1); */
display: flex;
padding: 0 24rpx 0 24rpx;
align-items: center;
...
...
business/pages/studentcenter/studentdetail.js
View file @
c88fa1e8
...
...
@@ -156,6 +156,16 @@ Page({
if
(
_actBigTabsIndex
===
index
)
{
return
}
if
(
index
==
3
){
this
.
setData
({
page
:
1
,
emptyClockPage
:
false
,
clockhasmore
:
true
,
clockListLoading
:
false
},()
=>
{
this
.
clockListGet
(
'init'
);
})
}
if
(
index
!=
3
)
{
this
.
setData
({
circleSelecting
:
false
...
...
@@ -311,10 +321,10 @@ Page({
if
(
code
==
200
)
{
this
.
setData
({
studentClass
:
data
.
list
,
actStudentClass
:
data
.
list
[
0
]
,
// actStudentClass: data.list[0] || ''
,
},()
=>
{
console
.
log
(
this
.
data
.
actStudentClass
)
this
.
clockListGet
(
'init'
);
//
this.clockListGet('init');
})
}
}).
catch
(()
=>
{
...
...
@@ -374,7 +384,7 @@ Page({
page
:
this
.
data
.
page
,
perPage
:
this
.
data
.
perPage
,
school_id
:
this
.
data
.
sid
,
class_id
:
this
.
data
.
actStudentClass
.
id
,
class_id
:
this
.
data
.
actStudentClass
?
this
.
data
.
actStudentClass
.
id
:
''
,
// now_consumer_id: visitor && visitor.id
}).
then
((
res
)
=>
{
const
{
...
...
@@ -524,7 +534,7 @@ Page({
circle
}
=
e
.
currentTarget
.
dataset
;
this
.
setData
({
actStudentClass
:
circle
,
actStudentClass
:
circle
||
''
,
circleSelecting
:
false
,
page
:
1
,
clockhasmore
:
true
,
...
...
business/pages/studentcenter/studentdetail.wxml
View file @
c88fa1e8
...
...
@@ -185,18 +185,24 @@
</view>
</view>
<view class="growthrecord-info" wx:if="{{actBigTabsIndex==3}}">
<view class="class-tab
">
<view class="class-tab" wx:if="{{studentClass.length==0}}" style="padding: 0 24rpx;
">
<view class="title">
<view class="text">{{actStudentClass.title}}</view>
<view class="change-btn" bindtap="changClassShow">切换班级 <image class="icon {{circleSelecting?'':'down-icon'}}" src="{{imageRoot}}2b/studentdetail/blue-down.png"/> </view>
<view class="text">全部班级</view>
</view>
</view>
<view class="class-tab" wx:if="{{studentClass.length>0}}">
<view class="title">
<view class="text">{{actStudentClass?actStudentClass.title:'全部班级'}}</view>
<view class="change-btn" bindtap="changClassShow" wx:if="{{studentClass.length>1}}">切换班级 <image class="icon {{circleSelecting?'':'down-icon'}}" src="{{imageRoot}}2b/studentdetail/blue-down.png"/> </view>
</view>
<view class="circle-list-box" hidden="{{!circleSelecting}}">
<view class="circle-list-item" wx:for="{{studentClass}}" wx:key="index" data-circle="{{item}}" bindtap="circleClick">{{item.title}}</view>
<view class="circle-list-item {{actStudentClass.id?'':'active'}}" data-circle="" bindtap="circleClick" style="font-weight: bold;">全部班级</view>
<view class="circle-list-item {{item.id==actStudentClass.id?'active':''}}" wx:for="{{studentClass}}" wx:key="index" data-circle="{{item}}" bindtap="circleClick">{{item.title}}</view>
</view>
</view>
<view class="content">
<view class="" wx:if="{{!emptyClockPage}}">
<view class="" wx:for="{{clockList}}" wx:key="index">
<view class="
clock-list
" wx:if="{{!emptyClockPage}}">
<view class="
clock-item
" wx:for="{{clockList}}" wx:key="index">
<clock-item clock="{{item}}" bind:clocksplacetop="clocksplacetop" bind:delClock="delClock" bind:expandAccessment="expandAccessment" bind:fingureUp="fingureUp" cindex="{{index}}" tid="{{tid}}" cid="{{id}}" bind:expandLikes="expandLikes" bind:expandContent="expandContent" bind:delComments="delComments" bind:playvoice="playvoice" bind:pausevoice="pausevoice" bind:voiceslide="voiceslide" audioStorage="{{audioStorage}}" bind:slidestart="slidestart" bind:slideend="slideend" bind:playvideo="playvideo" bind:showcommenteditor="showcommenteditor"></clock-item>
</view>
<list-loading loading="{{clockListLoading}}"></list-loading>
...
...
business/pages/studentcenter/studentdetail.wxss
View file @
c88fa1e8
...
...
@@ -95,7 +95,7 @@
position: relative;
}
.shiftitem .shiftname {
color: rgba(0,0,0,.
7
);
color: rgba(0,0,0,.
5
);
font-size: 26rpx;
}
.shiftitem .shiftline {
...
...
@@ -155,7 +155,7 @@
font-size:26rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(0,0,0,.
7
);
color:rgba(0,0,0,.
5
);
line-height:1;
padding: 0 40rpx 0 24rpx;
}
...
...
@@ -414,4 +414,16 @@
position: absolute;
left: 0;
top: 0;
}
.circle-list-box .circle-list-item.active{
color: rgba(101,184,244,1)
}
.clock-list{}
.clock-list .clock-item{
position: relative;
border-bottom: 15rpx solid #F7F7F9;
}
.clock-list .clock-item:last-of-type{
border-bottom: none;
}
\ No newline at end of file
components/emptypage/index.js
0 → 100644
View file @
c88fa1e8
// component/emptyScene/index.js
var
app
=
getApp
();
Component
({
/**
* 组件的属性列表
*/
properties
:
{
emptytext
:
{
type
:
Array
,
value
:
[
'暂无数据'
]
},
emptyimg
:
{
type
:
String
,
value
:
`
${
app
.
globalData
.
localImageRoot
}
/images/common/empty/empty_no.png`
}
},
/**
* 组件的初始数据
*/
data
:
{
},
/**
* 组件的方法列表
*/
methods
:
{
}
})
components/emptypage/index.json
0 → 100644
View file @
c88fa1e8
{
"component"
:
true
,
"usingComponents"
:
{}
}
\ No newline at end of file
components/emptypage/index.wxml
0 → 100644
View file @
c88fa1e8
<view class="empty-wrap">
<image class="empty-img" src="{{emptyimg}}"></image>
<view class="empty-textbox">
<text class="empty-text" wx:for="{{emptytext}}" wx:key="{{index}}">{{item}}</text>
</view>
</view>
\ No newline at end of file
components/emptypage/index.wxss
0 → 100644
View file @
c88fa1e8
.empty-wrap{
width: 100%;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-sizing: border-box;
}
.empty-wrap .empty-img{
width: 50rpx;
height: 50rpx;
}
.empty-wrap .empty-textbox{
display: flex;
flex-direction: column;
justify-content: center;
font-size: 24rpx;
align-items: center;
color: #A7A7A7;
padding-top: 50rpx;
}
.empty-wrap .empty-textbox .empty-text{
padding-bottom: 20rpx;
}
.empty-wrap .empty-textbox .empty-text:last-of-type{
padding-bottom: 0;
}
images/common/empty/empty_b.png
0 → 100644
View file @
c88fa1e8
9.04 KB
images/common/empty/empty_b_search.png
0 → 100644
View file @
c88fa1e8
26.5 KB
images/common/empty/empty_c_rest.png
0 → 100644
View file @
c88fa1e8
13.5 KB
images/common/empty/empty_c_sraech.png
0 → 100644
View file @
c88fa1e8
19.4 KB
images/common/empty/empty_no.png
0 → 100644
View file @
c88fa1e8
14.5 KB
service/customer/coursemgt.js
View file @
c88fa1e8
...
...
@@ -7,7 +7,7 @@ function myclassrecord (data) {//上课记录
url
:
apis
.
customer
.
courseMgt
.
courserecord
,
data
,
method
:
'GET'
,
errorresolve
:
1
,
errorresolve
:
2
,
})
}
function
myschedule
(
data
){
//我的课表
...
...
@@ -15,7 +15,7 @@ function myschedule(data){//我的课表
url
:
apis
.
customer
.
courseMgt
.
myschedule
,
data
,
method
:
'GET'
,
errorresolve
:
1
,
errorresolve
:
2
,
})
}
function
mycourses
(
data
){
//我的课程
...
...
@@ -23,7 +23,7 @@ function mycourses(data){//我的课程
url
:
apis
.
customer
.
courseMgt
.
mycourses
,
data
,
method
:
'GET'
,
errorresolve
:
1
,
errorresolve
:
2
,
})
}
...
...
src/pages/myclassrecord/index.js
View file @
c88fa1e8
...
...
@@ -89,16 +89,8 @@ Page({
listLoading
:
false
})
if
(
code
==
40000
){
wx
.
showModal
({
title
:
'提示'
,
content
:
'没有查到该学员信息'
,
showCancel
:
false
,
confirmColor
:
'#FFD146'
,
success
(){
wx
.
navigateBack
({
delta
:
1
})
}
this
.
setData
({
emptyPage
:
true
})
return
}
...
...
src/pages/myclassrecord/index.wxml
View file @
c88fa1e8
<wxs src="./../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="commonlist-bigwrap" wx:if="{{courseList}}">
<view class="commonlist-bigwrap" wx:if="{{courseList
.length>0
}}">
<block class="commonlist-partwrap" wx:for="{{courseList}}" wx:key="">
<view class="commonlist-header">{{item.month}}</view>
<view class="commonlist-box">
...
...
src/pages/myclassrecord/index.wxss
View file @
c88fa1e8
@import "../../../style/commonlist.wxss";
.empty-content {
padding: 84rpx 0 43rpx;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
text-align:center;
line-height: 45rpx;
}
...
...
src/pages/mycourses/index.js
View file @
c88fa1e8
...
...
@@ -101,16 +101,8 @@ Page({
listLoading
:
false
})
if
(
code
==
40000
){
wx
.
showModal
({
title
:
'提示'
,
content
:
'没有查到该学员信息'
,
showCancel
:
false
,
confirmColor
:
'#FFD146'
,
success
(){
wx
.
navigateBack
({
delta
:
1
})
}
this
.
setData
({
emptyPage
:
true
})
return
}
...
...
src/pages/mycourses/index.wxml
View file @
c88fa1e8
...
...
@@ -32,9 +32,8 @@
<list-loading loading="{{listLoading}}"></list-loading>
</view>
<view class="empty-content" wx:if="{{emptyPage}}">
<image class='empty-img' src='{{imageRoot}}2
c/rankinglist/empty
.png?{{imageVersion}}'></image>
<image class='empty-img' src='{{imageRoot}}2
b/potentialcustomer/emptyimg
.png?{{imageVersion}}'></image>
<view class="empty-text">暂无数据~</view>
</view>
<view class="has-nomore" wx:if="{{!emptyPage && !hasmore}}">没有更多了</view>
...
...
src/pages/myschedule/index.js
View file @
c88fa1e8
...
...
@@ -82,16 +82,8 @@ Page({
listLoading
:
false
})
if
(
code
==
40000
){
wx
.
showModal
({
title
:
'提示'
,
content
:
'没有查到该学员信息'
,
showCancel
:
false
,
confirmColor
:
'#FFD146'
,
success
(){
wx
.
navigateBack
({
delta
:
1
})
}
this
.
setData
({
emptyPage
:
true
})
return
}
...
...
src/pages/setting/bindmobile.wxss
View file @
c88fa1e8
...
...
@@ -10,7 +10,16 @@ page::after{
right: 0;
transform: scaleY(.5);
}
.form-box .form-item:last-of-type::after{
content: '';
width: 100%;
height: 1px;
background: rgba(0,0,0,.05);
position: absolute;
bottom: 0;
right: 0;
transform: scaleY(.5);
}
.btn-getcode,button.btn-getcode[disabled]{
font-size: 24rpx;
line-height: 50rpx;
...
...
@@ -19,7 +28,9 @@ page::after{
padding: 0;
margin: 0;
}
.form-item input{
width: 550rpx;
}
.formBtn{
font-size: 30rpx;
font-weight: 500;
...
...
src/pages/setting/index.js
View file @
c88fa1e8
...
...
@@ -66,15 +66,15 @@ Page({
},
tobindmobile
(){
// 已经绑定
if
(
this
.
data
.
hasBindErp
){
wx
.
showModal
({
title
:
'提示'
,
content
:
'暂不支持修改手机号'
,
showCancel
:
false
,
confirmColor
:
'#FFD146'
})
return
}
//
if(this.data.hasBindErp){
//
wx.showModal({
//
title: '提示',
//
content: '暂不支持修改手机号',
//
showCancel: false,
//
confirmColor: '#FFD146'
//
})
//
return
//
}
// 没有绑定,但非erp学员,需先erp添加
// if(!this.data.hasBindErp && !this.data.mobile){
// wx.showModal({
...
...
style/userlist.wxss
View file @
c88fa1e8
...
...
@@ -48,6 +48,7 @@
color: #777;
display: flex;
align-items: center;
padding-top: 10rpx;
}
.userlist-box .list-item .item-content .info-box .info-label{
font-size: 24rpx;
...
...
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