Commit e009e53e authored by wangxuelai's avatar wangxuelai

Merge remote-tracking branch 'origin/lvtz_clock' into wxl-user-optimize

parents d62d8623 8e83e696
......@@ -536,7 +536,8 @@
"root": "business/pages/todotasks",
"name": "businesstodotasks",
"pages": [
"index"
"index",
"globaldeal"
]
},
{
......
This diff is collapsed.
{
"navigationBarBackgroundColor": "#FFD146",
"navigationBarTextStyle": "white",
"navigationStyle": "custom",
"backgroundColor": "#fff",
"backgroundTextStyle": "dark",
"usingComponents": {
"btabbar": "../../../components/btabbar",
"expiredTip": "../../components/expiredTip"
......
This diff is collapsed.
This diff is collapsed.
var app = getApp();
Page({
data: {
localImageRoot: "../../../images/",
imageRoot: app.globalData.imageRoot,
imageVersion: app.globalData.imageVersion,
sid: 0,
waitJobList: [
{
type: 1,
title: "创建一个班级",
count: 0,
},
{
type: 2,
title: "创建一个作业打卡活动",
count: 0,
},
{
type: 3,
title: "添加老师至学校",
count: 0,
},
{
type: 4,
title: "配置一个精美的微官网",
count: 0,
},
{
type: 5,
title: "给学生一次课堂点评",
count: 0,
},
{
type: 6,
title: "给学生配置积分奖励",
count: 0,
},
],
},
onLoad: function (options) {
const { sid } = options;
this.setData({
sid,
});
},
jumpTodo(e) {
const { type } = e.currentTarget.dataset;
let url = "";
switch (type) {
case 1:
url = `/business/pages/circleeditor/index?sid=${this.data.sid}&id=0`;
break;
case 2:
url = `/business/pages/deskcenter/clocklist?sid=${this.data.sid}`;
break;
case 3:
url = `/business/pages/teachermgt/edit?sid=${this.data.sid}&id=0`;
break;
case 4:
url = `/business/pages/websiteindex/index?sid=${this.data.sid}`;
break;
case 5:
url = `/business/pages/classservice/classreviewindex?sid=${this.data.sid}`;
break;
case 6:
url = `/business/pages/scorerulesetting/index?sid=${this.data.sid}`;
break;
default:
url = "";
break;
}
if (url) {
wx.navigateTo({
url: url,
});
}
},
});
{
"navigationBarTitleText": "待处理",
"usingComponents": {
"expiredTip": "../../components/expiredTip"
}
}
\ No newline at end of file
<view class="container">
<view class="waitdeal-box">
<view class="item" wx:for="{{waitJobList}}" wx:key="index" data-type="{{item.type}}" bindtap="jumpTodo">
<view class="l">
<image class="item-icon" src="{{imageRoot}}2b/deskcenternew/waitdeal/icon_0{{item.type}}.png?{{imageVersion}}"/>
<view class="item-title">{{item.title}}</view>
</view>
<view class="r">
<view class="dot"></view>
<image class="icon-arr" src="{{imageRoot}}2b/organizationalmgt/right.png?{{imageVersion}}"/>
</view>
</view>
</view>
</view>
\ No newline at end of file
page{
background: #F9F9F9;
}
.waitdeal-box{
padding: 0 24rpx;
background: #fff;
}
.waitdeal-box .item{
height: 100rpx;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.waitdeal-box .item:not(:last-of-type)::after{
content: '';
width: 100%;
height: 1px;
background: #EEEEEE;
position: absolute;
left: 0;
bottom: 0;
transform: scaleY(.5);
}
.waitdeal-box .item .l{
display: flex;
align-items: center;
}
.waitdeal-box .item .l .item-icon{
width: 40rpx;
height: 40rpx;
}
.waitdeal-box .item .l .item-title{
font-size: 26rpx;
color: #222;
padding-left: 12rpx;
}
.waitdeal-box .item .r{
display: flex;
align-items: center;
}
.waitdeal-box .item .r .dot{
width: 14rpx;
height: 14rpx;
border: 50%;
background: #FF3520;
}
.waitdeal-box .item .r .icon-arr{
width: 12rpx;
height: 20rpx;
margin-left: 14rpx;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment