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
683a0b92
Commit
683a0b92
authored
Dec 23, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
036ba1ba
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
2060 additions
and
18 deletions
+2060
-18
app.json
app.json
+3
-1
classranklist.js
business/pages/classservice/classranklist.js
+517
-0
classranklist.json
business/pages/classservice/classranklist.json
+4
-0
classranklist.wxml
business/pages/classservice/classranklist.wxml
+78
-0
classranklist.wxss
business/pages/classservice/classranklist.wxss
+204
-0
teacherindex.js
business/pages/classservice/teacherindex.js
+227
-0
teacherindex.json
business/pages/classservice/teacherindex.json
+11
-0
teacherindex.wxml
business/pages/classservice/teacherindex.wxml
+352
-0
teacherindex.wxss
business/pages/classservice/teacherindex.wxss
+606
-0
tindex.wxml
business/pages/classservice/tindex.wxml
+0
-1
index.wxml
business/pages/deskcenter/index.wxml
+2
-2
index.js
business/pages/exchangebusiness/index.js
+1
-1
index.js
business/pages/organizationalmgt/index.js
+23
-9
index.wxml
business/pages/organizationalmgt/index.wxml
+9
-0
index.wxss
business/pages/organizationalmgt/index.wxss
+19
-0
index.js
components/btabbar/index.js
+1
-1
index.wxml
components/btabbar/index.wxml
+3
-3
homewor-comments.png
images/2b/classervice/homewor-comments.png
+0
-0
message-icon.png
images/2b/classervice/message-icon.png
+0
-0
myclass-icon.png
images/2b/classervice/myclass-icon.png
+0
-0
recently-clock.png
images/2b/classervice/recently-clock.png
+0
-0
school-timetable.png
images/2b/classervice/school-timetable.png
+0
-0
No files found.
app.json
View file @
683a0b92
...
...
@@ -57,7 +57,9 @@
"reviewclass"
,
"selectstudentlist"
,
"reviewdetail"
,
"classreviewindex"
"classreviewindex"
,
"teacherindex"
,
"classranklist"
]
},
{
...
...
business/pages/classservice/classranklist.js
0 → 100644
View file @
683a0b92
This diff is collapsed.
Click to expand it.
business/pages/classservice/classranklist.json
0 → 100644
View file @
683a0b92
{
"navigationBarTitleText"
:
"排行榜"
,
"usingComponents"
:
{}
}
\ No newline at end of file
business/pages/classservice/classranklist.wxml
0 → 100644
View file @
683a0b92
<!--business/pages/classservice/classranklist.wxml-->
<wxs src="../../../filter/index.wxs" module="filter" />
<view class="container">
<view class="content-topbox">
<view class="tab-box">
<view class="tab-item {{item.rankingType == rankingType?'active':''}}" data-rankingtype="{{item.rankingType}}" wx:for="{{rankingTab}}" bindtap="rankingStatusShift" wx:key="">
<view class="tab-itemname">{{item.tabname}}</view>
</view>
</view>
<view class="timeselect-box" bindtap="toSelectTimeType">
<view class="timeselect-type">{{tabnName}}</view>
<image class="icon-arr {{timeSelectShow ? 'up' : ''}}" src="{{imageRoot}}2b/common/real_triangle.png?{{imageVersion}}"></image>
</view>
<view class="timetype-box" hidden="{{!timeSelectShow}}">
<view class="type-item {{item.tabname == tabnName? 'active': ''}}" data-timeselect="{{item}}" wx:for="{{timeTab}}" wx:key="index" bindtap="sureSelectTimeType">{{item.tabname}}</view>
</view>
</view>
<view class="ranking-box" wx:if="{{rankingType == 1 && clockRankingTotal>0}}">
<view class="ranking-item" wx:for="{{clockRankingList}}" wx:key="{{index}}">
<view class="item-indexbox">
<image class="item-index icon" wx:if="{{index==0}}" src="{{imageRoot}}2b/common/ranking/num1.png?{{imageVersion}}"></image>
<image class="item-index icon" wx:if="{{index==1}}" src="{{imageRoot}}2b/common/ranking/num2.png?{{imageVersion}}"></image>
<image class="item-index icon" wx:if="{{index==2}}" src="{{imageRoot}}2b/common/ranking/num3.png?{{imageVersion}}"></image>
<view class="item-index" wx:if="{{index>2}}">{{index + 1}}</view>
</view>
<image class="item-avator" src="{{filter.imagify(item.avatar, 'image/resize,w_160/format,jpg')}}"></image>
<view class="item-contentbox">
<view class="item-name">{{item.nickname}}</view>
</view>
<view class="item-staticbox">
<view class="item-num">{{item.days}}</view>
<view class="item-unit">次</view>
</view>
</view>
</view>
<view class="ranking-box" wx:if="{{rankingType == 2 && likeRankingTotal>0}}">
<view class="ranking-item" wx:for="{{likeRankingList}}" wx:key="{{index}}">
<view class="item-indexbox">
<image class="item-index icon" wx:if="{{index==0}}" src="{{imageRoot}}2b/common/ranking/num1.png?{{imageVersion}}"></image>
<image class="item-index icon" wx:if="{{index==1}}" src="{{imageRoot}}2b/common/ranking/num2.png?{{imageVersion}}"></image>
<image class="item-index icon" wx:if="{{index==2}}" src="{{imageRoot}}2b/common/ranking/num3.png?{{imageVersion}}"></image>
<view class="item-index" wx:if="{{index>2}}">{{index + 1}}</view>
</view>
<image class="item-avator" src="{{filter.imagify(item.avatar, 'image/resize,w_160/format,jpg')}}"></image>
<view class="item-contentbox">
<view class="item-name">{{item.nickname}}</view>
</view>
<view class="item-staticbox">
<view class="item-num">{{item.like_count}}</view>
<view class="item-unit">赞</view>
</view>
</view>
</view>
<view class="ranking-box" wx:if="{{rankingType == 3 && pointsRankingTotal>0}}">
<view class="ranking-item" wx:for="{{pointsRankingList}}" wx:key="{{index}}">
<view class="item-indexbox">
<image class="item-index icon" wx:if="{{index==0}}" src="{{imageRoot}}2b/common/ranking/num1.png?{{imageVersion}}"></image>
<image class="item-index icon" wx:if="{{index==1}}" src="{{imageRoot}}2b/common/ranking/num2.png?{{imageVersion}}"></image>
<image class="item-index icon" wx:if="{{index==2}}" src="{{imageRoot}}2b/common/ranking/num3.png?{{imageVersion}}"></image>
<view class="item-index" wx:if="{{index>2}}">{{index + 1}}</view>
</view>
<image class="item-avator" src="{{filter.imagify(item.avatar, 'image/resize,w_160/format,jpg')}}"></image>
<view class="item-contentbox">
<view class="item-name">{{item.nickname}}</view>
</view>
<view class="item-staticbox">
<view class="item-num">{{item.sum_balance}}</view>
<view class="item-unit">分</view>
</view>
</view>
</view>
<view class="empty-content" wx:if="{{emptyPage}}">
<image class='empty-img' src='{{imageRoot}}2b/potentialcustomer/emptyimg.png?{{imageVersion}}'></image>
<view class="empty-text">暂无数据~</view>
</view>
<list-loading loading="{{listLoading}}"></list-loading>
<view class="has-nomore" wx:if="{{!hasmore && page>1}}">没有更多了</view>
</view>
business/pages/classservice/classranklist.wxss
0 → 100644
View file @
683a0b92
.content-topbox{
height: 120rpx;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 24rpx;
position: relative;
box-shadow:0px 2rpx 16rpx 0px rgba(0, 0, 0, 0.1);
}
/* tab操作按钮 */
.tab-box{
display: flex;
}
.tab-box .tab-item{
font-size:26px;
font-family:PingFang SC;
font-weight:400;
color:rgba(0,0,0,1);
line-height:48px;
opacity:0.7;
margin-right: 50rpx;
}
.tab-box .tab-item.active{
font-size: 36rpx;
opacity: 1;
font-weight: bold;
/* background: #65B8F4; */
}
.tab-box .tab-item:last-of-type{
border-right: 0
}
.tab-box .tab-item .tab-itemname{
font-size: 26rpx;
}
.tab-box .tab-item.active .tab-itemname{
font-size: 36rpx;
}
.timeselect-box{
position: absolute;
right: 24rpx;
top: 50%;
transform: translateY(-50%);
display: flex;
align-items: center;
}
.timeselect-box .timeselect-type{
font-size: 28rpx;
color: #65B8F4;
padding-right: 10rpx;
}
.timeselect-box .icon-arr{
width: 11rpx;
height: 6rpx;
transition: all .2s;
}
.timeselect-box .icon-arr.up{
transform: rotate(180deg)
}
.timetype-box{
position: absolute;
right: 24rpx;
top: 107rpx;
width: 180rpx;
background:#fff;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);
border-radius: 10rpx;
z-index: 99;
}
.timetype-box .type-item{
width: 100%;
height: 66rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 26rpx;
color: rgba(0,0,0,.8);
position: relative;
}
.timetype-box .type-item::after{
content: '';
width: 100%;
height: 1px;
background: rgba(32,32,32,.05);
position: absolute;
bottom: 0;
left: 0;
}
.timetype-box .type-item:last-of-type::after{
display: none;
}
.timetype-box .type-item.active{
color: #65B8F4;
}
.ranking-box{
width: 100%;
position: relative;
padding-top: 16rpx;
}
.ranking-box::before{
content: '';
width: 100%;
height: 1px;
background: rgba(0,0,0,.05);
position: absolute;
left: 0;
top: 0;
transform: scaleY(.5);
}
.ranking-box .ranking-item{
display: flex;
align-items: center;
padding: 16rpx 24rpx;
position: relative;
}
.ranking-box .ranking-item::after{
content: '';
width: 100%;
height: 1px;
background: rgba(0,0,0,.05);
position: absolute;
left: 0;
bottom: 0;
transform: scaleY(.5);
}
.ranking-box .ranking-item{
}
.item-indexbox{
display: block;
width: 67rpx;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.item-index{
font-size: 26rpx;
color: #959595;
font-weight: bold;
}
.item-index.icon{
width: 48rpx;
height: 56rpx;
}
.item-avator{
width: 66rpx;
height: 66rpx;
border-radius: 50%;
margin: 0 30rpx 0 40rpx;
}
.item-contentbox{
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
/* align-items: center; */
}
.item-contentbox .item-name{
width: 226rpx;
font-size: 24rpx;
color: #000;
}
.item-staticbox{
display: flex;
align-items: center;
color: #959595;
}
.item-staticbox .item-num{
font-size: 26rpx;
}
.item-staticbox .item-unit{
font-size: 22rpx;
padding-left: 15rpx;
}
.empty-content {
position: relative;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
line-height: 45rpx;
padding: 100rpx 0 40rpx;
}
.empty-content .empty-img {
width: 263rpx;
height: 219rpx;
}
.empty-content .empty-text {
font-size: 24rpx;
color: rgba(0, 0, 0, 0.4);
}
.empty-content .empty-text1{
font-size: 26rpx;
color: rgba(0, 0, 0, 0.6);
}
.has-nomore{
font-size: 26rpx;
color: #9C9C9D;
padding: 75rpx 0;
text-align: center;
}
\ No newline at end of file
business/pages/classservice/teacherindex.js
0 → 100644
View file @
683a0b92
// business/pages/deskcenter/index.js
import
{
LocalStorage
}
from
'../../../utilities/index.js'
;
import
{
getMemberMe
,
formIdCreate
}
from
'../../../service/common.js'
;
import
apis
from
'../../../constants/api.js'
;
import
{
todocallGet
,
statisticalGet
}
from
'../../../service/business/classservice.js'
var
app
=
getApp
();
Page
({
data
:
{
titleBarHeight
:
app
.
globalData
.
titleBarHeight
,
statusBarHeight
:
app
.
globalData
.
statusBarHeight
,
localImageRoot
:
'../../../images/'
,
imageRoot
:
app
.
globalData
.
imageRoot
,
imageVersion
:
app
.
globalData
.
imageVersion
,
schoolTotal
:
0
,
selectSchoolData
:{},
sid
:
0
,
my
:
1
,
memberChange
:
false
,
accountExpired
:
false
,
tabAct
:
1
,
allcount
:
100
,
windowWidth
:
app
.
globalData
.
windowWidth
,
windowHeight
:
app
.
globalData
.
windowHeight
,
total
:
0
,
todocallTotal
:
0
,
modalshow
:
false
,
modelHideClass
:
false
,
guideDailogShow
:
false
,
guideIndex
:
1
,
statisticalData
:
''
},
onLoad
:
function
(
options
)
{
const
{
sid
,
from
}
=
options
;
this
.
setData
({
sid
:
sid
||
0
,
from
,
guideDailogShow
:
from
&&
from
==
'onekeydeployment'
?
true
:
false
,
})
},
onShow
:
function
()
{
this
.
getMemberMeInfo
();
app
.
watch
(
this
.
watchBack
,
this
)
this
.
todocallGet
();
this
.
statisticalGet
();
if
(
this
.
data
.
modalshow
){
this
.
setData
({
modelHideClass
:
true
})
setTimeout
(()
=>
{
this
.
setData
({
modalshow
:
false
,
modelHideClass
:
false
})
},
200
)
}
},
onReady
(){
},
onPageScroll
(
e
){
},
getMemberMeInfo
(){
let
that
=
this
;
getMemberMe
({
school_id
:
that
.
data
.
sid
,
show_assign_class_status
:
1
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
LocalStorage
.
setItem
(
'memberMeHasClass'
,
res
.
data
.
assign_class_status
);
that
.
setData
({
memberChange
:
res
.
data
.
assign_class_status
})
}
})
},
statisticalGet
(){
statisticalGet
({
school_id
:
this
.
data
.
sid
,
my
:
this
.
data
.
my
}).
then
((
res
)
=>
{
const
{
code
,
data
}
=
res
;
if
(
code
==
200
){
this
.
setData
({
statisticalData
:
data
})
}
}).
catch
(()
=>
{})
},
todocallGet
(){
todocallGet
({
school_id
:
this
.
data
.
sid
,
my
:
this
.
data
.
my
}).
then
((
res
)
=>
{
const
{
code
,
data
}
=
res
;
if
(
code
==
200
){
this
.
setData
({
todocallTotal
:
data
.
total
})
}
}).
catch
(()
=>
{})
},
// 预警处理
gotodolist
(){
wx
.
navigateTo
({
url
:
`/business/pages/classservice/todolist?sid=
${
this
.
data
.
sid
}
`
})
},
// 发布 弹窗
bindAdd
(){
this
.
setData
({
modalshow
:
true
})
},
hidemodal
()
{
this
.
setData
({
modelHideClass
:
true
})
setTimeout
(()
=>
{
this
.
setData
({
modalshow
:
false
,
modelHideClass
:
false
})
},
200
)
},
// 打卡
goClocklist
(){
wx
.
navigateTo
({
url
:
`/business/pages/deskcenter/clocklist?sid=
${
this
.
data
.
sid
}
`
})
},
goPointsMgt
(){
wx
.
navigateTo
({
url
:
`/business/pages/scoremgt/index?sid=
${
this
.
data
.
sid
}
`
})
},
// 作业点评
goNoComment
()
{
wx
.
navigateTo
({
url
:
`/business/pages/nocomment/index?sid=
${
this
.
data
.
sid
}
`
})
},
goclasslist
(){
wx
.
navigateTo
({
url
:
`/business/pages/classservice/classlist?sid=
${
this
.
data
.
sid
}
&my=
${
this
.
data
.
my
}
`
,
})
},
goClassreviewindex
(){
wx
.
navigateTo
({
url
:
`/business/pages/classservice/classreviewindex?sid=
${
this
.
data
.
sid
}
`
})
},
// 发布打卡
addTheme
(
e
){
const
{
createtype
}
=
e
.
currentTarget
.
dataset
;
let
url
=
''
;
switch
(
Number
(
createtype
)){
case
1
:
url
=
`/business/pages/themeeditor/index?id=0&tid=0&sid=
${
this
.
data
.
sid
}
`
;
break
;
case
2
:
url
=
`/business/pages/calendarthemeeditor/index?id=0&tid=0&sid=
${
this
.
data
.
sid
}
`
;
break
;
case
3
:
url
=
`/business/pages/themeeditorlock/index?id=0&tid=0&sid=
${
this
.
data
.
sid
}
`
;
break
;
default
:
break
;
}
wx
.
navigateTo
({
url
:
`
${
url
}
`
})
},
gotodotasks
(){
wx
.
navigateTo
({
url
:
`/business/pages/todotasks/index?sid=
${
this
.
data
.
sid
}
`
})
},
goClassreviewindex
(){
wx
.
navigateTo
({
url
:
`/business/pages/classservice/classreviewindex?sid=
${
this
.
data
.
sid
}
`
})
},
// 发布课堂瞬间
toReleaseMoment
(){
wx
.
navigateTo
({
url
:
`/business/pages/websiteindex/highlightsedit?sid=
${
this
.
data
.
sid
}
`
})
},
// 发布机构新鲜事
toReleaseRefresh
()
{
wx
.
navigateTo
({
url
:
`/business/pages/websiteindex/newsedit?sid=
${
this
.
data
.
sid
}
`
})
},
formIdCreate
(
e
)
{
const
{
formId
}
=
e
.
detail
;
formIdCreate
({
formId
})
},
watchBack
(
name
,
that
){
that
.
setData
({
accountExpired
:
name
})
},
nextGuide
(
e
){
const
{
index
}
=
e
.
currentTarget
.
dataset
;
if
(
index
==
5
){
this
.
setData
({
guideDailogShow
:
false
})
return
}
this
.
setData
({
guideIndex
:
index
+
1
})
}
})
\ No newline at end of file
business/pages/classservice/teacherindex.json
0 → 100644
View file @
683a0b92
{
"navigationBarBackgroundColor"
:
"#FFD146"
,
"navigationBarTextStyle"
:
"white"
,
"navigationStyle"
:
"custom"
,
"backgroundColor"
:
"#fff"
,
"backgroundTextStyle"
:
"dark"
,
"usingComponents"
:
{
"btabbar"
:
"../../../components/btabbar"
,
"expiredTip"
:
"../../components/expiredTip"
}
}
\ No newline at end of file
business/pages/classservice/teacherindex.wxml
0 → 100644
View file @
683a0b92
This diff is collapsed.
Click to expand it.
business/pages/classservice/teacherindex.wxss
0 → 100644
View file @
683a0b92
This diff is collapsed.
Click to expand it.
business/pages/classservice/tindex.wxml
View file @
683a0b92
...
...
@@ -43,7 +43,6 @@
</form>
</view>
</view>
<view class="nav-box">
<view class="nav-item" bindtap="goclasslist">
<form report-submit="true" bindsubmit="formIdCreate" class="createidform">
...
...
business/pages/deskcenter/index.wxml
View file @
683a0b92
<!--business/pages/deskcenter/index.wxml-->
<view class="nav-header" style="padding-top: {{statusBarHeight}}px;">
<view class="nav-custombox" style="height: {{titleBarHeight}}px;">
<view class="message" bindtap="gotodotasks">
<
!-- <
view class="message" bindtap="gotodotasks">
<image class="icon" src="{{imageRoot}}2b/deskcenter2/icon_msg.png?{{imageRoot}}"/>
<view class="red-dot" wx:if="{{waitJob>0}}">{{waitJob>99?'···':waitJob}}</view>
</view>
</view>
-->
<view class="menu-box">
<view class="title">{{selectSchoolData.title}}</view>
</view>
...
...
business/pages/exchangebusiness/index.js
View file @
683a0b92
...
...
@@ -89,7 +89,7 @@ Page({
return
}
wx
.
navigateTo
({
url
:
`/business/pages/classservice/tindex?sid=
${
item
.
id
}
`
,
url
:
`/business/pages/classservice/t
eacher
index?sid=
${
item
.
id
}
`
,
})
}
...
...
business/pages/organizationalmgt/index.js
View file @
683a0b92
...
...
@@ -38,6 +38,7 @@ Page({
//意见反馈参数
feedbackAppId
:
'wx8abaf00ee8c3202e'
,
allSubject
:[],
waitJob
:
0
,
extraData
:
{
id
:
"65621"
,
customData
:
{
...
...
@@ -51,14 +52,10 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
if
(
options
.
sid
)
{
this
.
setData
({
sid
:
options
.
sid
});
}
if
(
wx
.
hideHomeButton
){
wx
.
hideHomeButton
();
}
const
{
sid
,
}
=
options
this
.
setData
({
sid
,
});
},
/**
...
...
@@ -77,6 +74,7 @@ Page({
dakarole
:
dakarole
,
})
this
.
nicknameGet
();
this
.
getCommonwaitJob
();
if
(
this
.
data
.
sid
){
this
.
getCategory
();
}
...
...
@@ -135,6 +133,17 @@ Page({
}
})
},
getCommonwaitJob
()
{
commonwaitjobGet
({
school_id
:
this
.
data
.
sid
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
setData
({
waitJob
:
(
res
.
data
.
apply_number
||
0
)
+
(
res
.
data
.
customer_number
||
0
)
+
(
res
.
data
.
noReviews
||
0
)
})
}
})
},
getCategory
()
{
getCategory
().
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
// 成功的操作
...
...
@@ -185,5 +194,10 @@ Page({
wx
.
navigateTo
({
url
:
`/business/pages/organizationalmgt/pcwebsiteintroduction`
})
}
},
gotodotasks
(){
wx
.
navigateTo
({
url
:
`/business/pages/todotasks/index?sid=
${
this
.
data
.
sid
}
`
})
},
})
\ No newline at end of file
business/pages/organizationalmgt/index.wxml
View file @
683a0b92
...
...
@@ -25,6 +25,15 @@
</view>
</view>
<view class="line-box">
<view class="line" bindtap="gotodotasks">
<view class="left">
<image class="icon message-icon" src="{{localImageRoot}}2b/classervice/message-icon.png?{{imageVersion}}"/>消息
</view>
<view class="right">
<view class="red-dot" wx:if="{{waitJob>0}}">{{waitJob}}</view>
<image class="right-icon" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"></image>
</view>
</view>
<view class="line" bindtap="goPcwebsite">
<view class="left">
<image class="icon" src="{{imageRoot}}2b/organizationalmgt/pc-icon.png?{{imageVersion}}"/>登录PC管理
...
...
business/pages/organizationalmgt/index.wxss
View file @
683a0b92
...
...
@@ -117,6 +117,25 @@ page{
height: 40rpx;
margin-right: 22rpx;
}
.line-box .line .left .message-icon{
width: 31rpx;
height: 29rpx;
}
.line-box .line .right{
display: flex;
align-items: center;
}
.line-box .line .right .red-dot{
padding: 10rpx 7rpx;
font-size:20rpx;
font-family:PingFang SC;
font-weight:400;
color:rgba(255,255,255,1);
line-height:1;
background:rgba(255,48,48,1);
border-radius:50%;
margin-right: 27rpx;
}
.line-box .line .right-icon{
width:11rpx;
height:20rpx;
...
...
components/btabbar/index.js
View file @
683a0b92
...
...
@@ -90,7 +90,7 @@ Component({
break
case
'class'
:
// 跳转课务
if
(
this
.
data
.
dakarole
==
2
){
url
=
`/business/pages/classservice/tindex?sid=
${
this
.
data
.
sid
}
`
;
url
=
`/business/pages/classservice/t
eacher
index?sid=
${
this
.
data
.
sid
}
`
;
}
else
{
url
=
`/business/pages/classservice/bindex?sid=
${
this
.
data
.
sid
}
`
;
}
...
...
components/btabbar/index.wxml
View file @
683a0b92
...
...
@@ -37,9 +37,9 @@
</block>
<block wx:if="{{dakarole==2}}">
<view class="btabbaritem {{current == 'class' ? 'active' : ''}}" bindtap="chooseTab" data-type="class">
<image class="icon
class" wx:if="{{current != 'class'}}" src="/images/btabbar/home
.png" ></image>
<image class="icon
class" wx:if="{{current == 'class'}}" src="/images/btabbar/home
active.png" ></image>
<text class="btabbaritemname">
首页
</text>
<image class="icon
workbench" wx:if="{{current != 'class'}}" src="/images/btabbar/workbench
.png" ></image>
<image class="icon
workbench" wx:if="{{current == 'class'}}" src="/images/btabbar/workbench
active.png" ></image>
<text class="btabbaritemname">
工作台
</text>
</view>
</block>
<view class="btabbaritem {{current == 'ucenter' ? 'active' : ''}}" bindtap="chooseTab" data-type="ucenter">
...
...
images/2b/classervice/homewor-comments.png
0 → 100644
View file @
683a0b92
2.64 KB
images/2b/classervice/message-icon.png
0 → 100644
View file @
683a0b92
416 Bytes
images/2b/classervice/myclass-icon.png
0 → 100644
View file @
683a0b92
2.94 KB
images/2b/classervice/recently-clock.png
0 → 100644
View file @
683a0b92
977 Bytes
images/2b/classervice/school-timetable.png
0 → 100644
View file @
683a0b92
2.98 KB
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