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
bfa8e316
Commit
bfa8e316
authored
Oct 29, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'最新代码提价'
parent
e896dbff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
9 deletions
+32
-9
.project
.project
+28
-0
constants.js
constants/constants.js
+4
-4
index.js
src/pages/mycalendart/index.js
+0
-5
No files found.
.project
0 → 100644
View file @
bfa8e316
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>
wechatapp.shangjiadao.com
</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>
com.aptana.ide.core.unifiedBuilder
</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>
com.aptana.projects.webnature
</nature>
</natures>
<filteredResources>
<filter>
<id>
1572251891427
</id>
<name></name>
<type>
26
</type>
<matcher>
<id>
org.eclipse.ui.ide.multiFilter
</id>
<arguments>
1.0-name-matches-false-false-node_modules
</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
constants/constants.js
View file @
bfa8e316
export
default
{
imageRoot
:
'https://cdn.img.shangjiadao.cn/qingxiao/daka/images/'
,
host
:
'https://qxapi.qingxiao.online/daka'
,
host2
:
'https://wx.m.shangjiadao.cn'
,
//
host: 'https://qxapi.qingxiao.online/daka',
//
host2: 'https://wx.m.shangjiadao.cn',
storageVersion
:
'4.0'
,
imageVersion
:
'20191022'
,
//
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'
...
...
src/pages/mycalendart/index.js
View file @
bfa8e316
...
...
@@ -558,7 +558,6 @@ Page({
calendar_date
:
nowDay
}).
then
((
res
)
=>
{
console
.
log
(
res
);
const
{
code
,
data
...
...
@@ -1468,7 +1467,6 @@ Page({
if
(
today
.
getTime
()
>
new
Date
(
_activeDay
.
date
).
getTime
())
{
_activeDay
.
isAfter
=
true
;
}
console
.
log
(
_activeDay
,
'activeDayactiveDay'
)
this
.
setData
({
weeksArr
:
_weeksArr
,
activeDay
:
_activeDay
...
...
@@ -1579,7 +1577,6 @@ Page({
// 处理日历打卡周期间的日期
getBetweenDateStr
(
start
,
end
,
restDates
,
clockDates
)
{
const
_mycalendar
=
this
.
data
.
mycalendar
;
console
.
log
(
_mycalendar
,
'_mycalendar'
)
const
today
=
new
Date
(
new
Date
().
getFullYear
()
+
'/'
+
(
new
Date
().
getMonth
()
+
1
)
+
'/'
+
new
Date
().
getDate
());
if
(
start
==
end
)
{
result
.
push
({
...
...
@@ -1647,7 +1644,6 @@ Page({
const
resultitem
=
result
[
i
].
year
+
'-'
+
result
[
i
].
month
+
'-'
+
result
[
i
].
day
;
const
resultitem1
=
result
[
i
].
year
+
'-'
+
(
result
[
i
].
month
<
10
?
'0'
+
result
[
i
].
month
:
result
[
i
].
month
)
+
'-'
+
(
result
[
i
].
day
<
10
?
'0'
+
result
[
i
].
day
:
result
[
i
].
day
);
for
(
let
j
=
0
,
l
=
restDates
.
length
;
j
<
l
;
j
++
)
{
// console.log(resultitem,restDates[j])
if
(
resultitem
==
restDates
[
j
])
{
result
[
i
].
todoText
.
isrest
=
true
break
;
...
...
@@ -1671,7 +1667,6 @@ Page({
}
}
}
console
.
log
(
result
,
'resultresult'
)
setTimeout
(()
=>
{
setTodoLabels
({
days
:
result
...
...
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