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
ef184927
Commit
ef184927
authored
Apr 08, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 工作台改版
parent
7d894fcd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1658 additions
and
1073 deletions
+1658
-1073
app.json
app.json
+2
-1
index.js
business/pages/deskcenter/index.js
+486
-288
index.json
business/pages/deskcenter/index.json
+0
-4
index.wxml
business/pages/deskcenter/index.wxml
+99
-48
index.wxss
business/pages/deskcenter/index.wxss
+915
-727
globaldeal.js
business/pages/todotasks/globaldeal.js
+79
-0
globaldeal.json
business/pages/todotasks/globaldeal.json
+6
-0
globaldeal.wxml
business/pages/todotasks/globaldeal.wxml
+14
-0
globaldeal.wxss
business/pages/todotasks/globaldeal.wxss
+52
-0
constants.js
constants/constants.js
+5
-5
No files found.
app.json
View file @
ef184927
...
...
@@ -536,7 +536,8 @@
"root"
:
"business/pages/todotasks"
,
"name"
:
"businesstodotasks"
,
"pages"
:
[
"index"
"index"
,
"globaldeal"
]
},
{
...
...
business/pages/deskcenter/index.js
View file @
ef184927
This diff is collapsed.
Click to expand it.
business/pages/deskcenter/index.json
View file @
ef184927
{
"navigationBarBackgroundColor"
:
"#FFD146"
,
"navigationBarTextStyle"
:
"white"
,
"navigationStyle"
:
"custom"
,
"backgroundColor"
:
"#fff"
,
"backgroundTextStyle"
:
"dark"
,
"usingComponents"
:
{
"btabbar"
:
"../../../components/btabbar"
,
"expiredTip"
:
"../../components/expiredTip"
...
...
business/pages/deskcenter/index.wxml
View file @
ef184927
This diff is collapsed.
Click to expand it.
business/pages/deskcenter/index.wxss
View file @
ef184927
This diff is collapsed.
Click to expand it.
business/pages/todotasks/globaldeal.js
0 → 100644
View file @
ef184927
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
,
});
}
},
});
business/pages/todotasks/globaldeal.json
0 → 100644
View file @
ef184927
{
"navigationBarTitleText"
:
"待处理"
,
"usingComponents"
:
{
"expiredTip"
:
"../../components/expiredTip"
}
}
\ No newline at end of file
business/pages/todotasks/globaldeal.wxml
0 → 100644
View file @
ef184927
<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
business/pages/todotasks/globaldeal.wxss
0 → 100644
View file @
ef184927
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
constants/constants.js
View file @
ef184927
export
default
{
imageRoot
:
'https://cdn.img.shangjiadao.cn/qingxiao/daka/images/'
,
host
:
'https://qxapi.qingxiao.online/daka'
,
host2
:
'https://wx.m.shangjiadao.cn'
,
imageRoot
:
'https://cdn.img.shangjiadao.cn/qingxiao/daka
v2
/images/'
,
//
host: 'https://qxapi.qingxiao.online/daka',
//
host2: 'https://wx.m.shangjiadao.cn',
storageVersion
:
'5.0'
,
imageVersion
:
'20200326'
,
//
host: 'https://clock.wp53.cn',
//
host2: 'https://test.wp53.cn',
host
:
'https://clock.wp53.cn'
,
host2
:
'https://test.wp53.cn'
,
appId
:
'wxc1246ea029394785'
,
miniProgram
:
{
clock
:
'wxdeee20e52a1fd7ee'
...
...
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