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
af5a41f0
Commit
af5a41f0
authored
Feb 26, 2020
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
04871e0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
constants.js
constants/constants.js
+4
-4
index.js
src/pages/morethemeindex/index.js
+14
-2
No files found.
constants/constants.js
View file @
af5a41f0
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
:
'5.0'
,
imageVersion
:
'20200117'
,
//
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/morethemeindex/index.js
View file @
af5a41f0
...
...
@@ -2567,7 +2567,15 @@ Page({
this
.
generateNewPoster
(
1
);
},
1500
)
}
this
.
chooseSub
(
choose
);
if
(
this
.
data
.
pagefrom
!=
'clockeditor'
){
const
unclockSubject
=
data
.
list
.
find
((
ele
)
=>
{
return
ele
.
my_unlock_count
>
0
&&
ele
.
my_clock_count
<=
0
})
const
chooseData
=
unclockSubject
||
data
.
list
[
0
];
this
.
chooseSub
(
chooseData
);
}
else
{
this
.
chooseSub
(
choose
);
}
if
(
refresh
!=
1
&&
choose
.
sort
==
this
.
data
.
moreTheme
.
subject_count
&&
this
.
data
.
pagefrom
==
"clockeditor"
){
this
.
setData
({
allentrydialog
:
true
...
...
@@ -2602,7 +2610,7 @@ Page({
})
},
// 解锁主题
modeUnlock
(
id
)
{
modeUnlock
(
id
,
autoChoose
)
{
const
_moreTheme
=
this
.
data
.
moreTheme
;
if
(
_moreTheme
.
unlock_limit
-
_moreTheme
.
my_today_unlock_count
<=
0
)
{
this
.
showSEdialog
()
...
...
@@ -2653,6 +2661,10 @@ Page({
moreTheme
:
_moreTheme
,
themeSelect
:
_themeSelect
,
})
if
(
this
.
data
.
pagefrom
!=
"clockeditor"
){
const
choose
=
_subjectsList
.
find
((
ele
)
=>
ele
.
id
==
id
)
this
.
chooseSub
(
choose
);
}
this
.
showSEdialog
()
}
}
...
...
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