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
7c3ca1ba
Commit
7c3ca1ba
authored
Feb 25, 2020
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
21dca1a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
constants.js
constants/constants.js
+4
-4
index.js
src/pages/morethemeindex/index.js
+2
-1
index.js
src/pages/sharemoretheme/index.js
+3
-3
No files found.
constants/constants.js
View file @
7c3ca1ba
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 @
7c3ca1ba
...
...
@@ -284,10 +284,11 @@ Page({
},
onShow
:
function
(
options
)
{
// Do something when page show.
let
pages
=
getCurrentPages
();
console
.
log
(
pages
,
'pages'
)
this
.
setData
({
hasmore
:
true
,
advertisementshow
:
true
,
hasBack
:
pages
.
length
>
2
?
true
:
false
hasBack
:
pages
.
length
>
1
?
true
:
false
})
this
.
data
.
clockPage
=
1
;
if
(
this
.
data
.
integral
!==
undefined
&&
Number
(
this
.
data
.
integral
)
>
0
)
{
...
...
src/pages/sharemoretheme/index.js
View file @
7c3ca1ba
...
...
@@ -199,7 +199,7 @@ Page({
})
return
false
}
wx
.
redirect
To
({
wx
.
navigate
To
({
url
:
`/src/pages/morethemeindex/index?id=
${
this
.
data
.
moreTheme
.
class_id
}
&tid=
${
this
.
data
.
tid
}
`
});
},
...
...
@@ -223,7 +223,7 @@ Page({
icon
:
'none'
,
duration
:
2000
})
wx
.
redirect
To
({
wx
.
navigate
To
({
url
:
`/src/pages/morethemeindex/index?id=
${
this
.
data
.
moreTheme
.
class_id
}
&tid=
${
this
.
data
.
tid
}
`
});
}
else
{
...
...
@@ -522,7 +522,7 @@ Page({
})
return
false
}
wx
.
redirect
To
({
wx
.
navigate
To
({
url
:
`/src/pages/morethemeindex/index?id=
${
this
.
data
.
moreTheme
.
class_id
}
&tid=
${
this
.
data
.
tid
}
`
});
}
...
...
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