Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
Overview
Overview
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
fengzhaoyu
schedule
Commits
a27d4f8e
Commit
a27d4f8e
authored
Apr 20, 2020
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建完会议回到当前日期
parent
b4e6b0da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
package-lock.json
package-lock.json
+4
-4
index.acss
pages/index/index.acss
+3
-3
index.js
pages/index/index.js
+6
-4
No files found.
package-lock.json
View file @
a27d4f8e
...
...
@@ -9,8 +9,8 @@
},
"dingtalk-jsapi"
:
{
"version"
:
"2.10.3"
,
"resolved"
:
"https://registry.npm
js.org/dingtalk-jsapi/-
/dingtalk-jsapi-2.10.3.tgz"
,
"integrity"
:
"sha
512-ozfuwWzOKx4qgfs+ijdN2XgylB8xZ4zxetDp4ND272YDD5C9GJLo5GKhsFR6kQ/lnU0WIzBo2rYjEwZKtMrJxw=
="
,
"resolved"
:
"https://registry.npm
.taobao.org/dingtalk-jsapi/download
/dingtalk-jsapi-2.10.3.tgz"
,
"integrity"
:
"sha
1-reXC+Fj0rEEUPSlK4XKzTvrrleI
="
,
"requires"
:
{
"promise-polyfill"
:
"^7.1.0"
}
...
...
@@ -23,8 +23,8 @@
},
"promise-polyfill"
:
{
"version"
:
"7.1.2"
,
"resolved"
:
"https://registry.npm
js.org/promise-polyfill/-
/promise-polyfill-7.1.2.tgz"
,
"integrity"
:
"sha
512-FuEc12/eKqqoRYIGBrUptCBRhobL19PS2U31vMNTfyck1FxPyMfgsXyW4Mav85y/ZN1hop3hOwRlUDok23oYfQ=
="
"resolved"
:
"https://registry.npm
.taobao.org/promise-polyfill/download
/promise-polyfill-7.1.2.tgz"
,
"integrity"
:
"sha
1-qwUwHYwoU2MBYi1pInYyJppwyjs
="
},
"rrule"
:
{
"version"
:
"2.6.4"
,
...
...
pages/index/index.acss
View file @
a27d4f8e
...
...
@@ -388,9 +388,9 @@
.iconicon_days {
position: absolute;
left:
7
rpx;
top: 1
0
rpx;
font-size: 2
7
rpx;
left:
9
rpx;
top: 1
2
rpx;
font-size: 2
4
rpx;
}
.tabBarView .iconicon_days {
...
...
pages/index/index.js
View file @
a27d4f8e
...
...
@@ -432,7 +432,7 @@ create.Page({
}
// 取出DateMap的value值平铺到DateList
const
DateList
=
[];
DateMap
.
forEach
(
function
(
value
,
key
)
{
DateMap
.
forEach
(
function
(
value
,
key
)
{
const
keyDate
=
new
Date
(
key
);
const
year
=
keyDate
.
getFullYear
();
const
month
=
keyDate
.
getMonth
();
...
...
@@ -465,13 +465,13 @@ create.Page({
value
:
`第
${
getWeekNumber
(
year
,
month
,
date
)}
周,
${
month
+
1
}
月
${
date
}
日 -
${
rangeMonth2
==
month
?
""
:
rangeMonth2
+
1
+
"月"
}${
rangeDay2
}
日`
,
}${
rangeDay2
}
日`
,
dateStr
:
`
${
year
}
/
${
month
+
1
}
/
${
date
}
-week`
});
}
// 有日程长度
if
(
value
.
length
!==
0
)
{
value
.
sort
(
function
(
a
,
b
)
{
value
.
sort
(
function
(
a
,
b
)
{
return
a
.
startTime
.
getTime
()
-
b
.
startTime
.
getTime
();
});
value
.
forEach
((
item
,
index
)
=>
{
...
...
@@ -515,6 +515,8 @@ create.Page({
),
loading
:
false
});
//定位到当前日期
this
.
backToToday
(
"first"
);
},
//日程上拉加载
lower
()
{
...
...
@@ -697,7 +699,7 @@ create.Page({
createMeeting
()
{
dd
.
navigateTo
({
url
:
"./../createMeeting/createMeeting"
});
},
nextDetail
:
throttle
(
function
(
e
)
{
nextDetail
:
throttle
(
function
(
e
)
{
dd
.
navigateTo
({
url
:
`./../meetingDetail/meetingDetail?scheduleItem=
${
encodeURIComponent
(
JSON
.
stringify
(
e
.
target
.
dataset
.
item
)
...
...
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