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
e1f13869
Commit
e1f13869
authored
Apr 02, 2020
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'小程序流程改版上线'
parent
75874ec8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
9 deletions
+32
-9
index.js
business/pages/themeeditor/index.js
+8
-9
landpage.js
src/pages/calendarthemeindex/landpage.js
+24
-0
No files found.
business/pages/themeeditor/index.js
View file @
e1f13869
...
...
@@ -851,15 +851,14 @@ Page({
})
return
;
}
// if(this.compareSmallTime(_params.clock_start_time,_params.clock_end_time)){
// wx.showModal({
// title: '提示',
// content: '限制打卡时间段结束时间要大于开始时间',
// confirm: true,
// showCancel: false
// })
// return;
// }
if
(
this
.
data
.
calendarThemeAdInfo
.
id
==
0
)
{
wx
.
showToast
({
title
:
'请选择打卡营销页'
,
duration
:
1500
,
icon
:
'none'
,
})
return
;
}
if
(
this
.
data
.
submiting
)
{
return
}
...
...
src/pages/calendarthemeindex/landpage.js
View file @
e1f13869
...
...
@@ -961,6 +961,14 @@ Page({
title
:
"获取手机号失败"
,
icon
:
"none"
});
wx
.
login
({
success
(
res
)
{
const
sessionCode
=
res
.
code
;
that
.
setData
({
sessionCode
:
sessionCode
});
}
});
}
else
{
//允许授权执行跳转
that
.
setData
({
...
...
@@ -1028,9 +1036,25 @@ Page({
url
:
`/src/pages/calendarthemeindex/index?tid=
${
this
.
data
.
themeSelect
.
id
}
&sid=
${
this
.
data
.
sid
}
`
});
}
else
{
wx
.
login
({
success
(
res
)
{
const
sessionCode
=
res
.
code
;
that
.
setData
({
sessionCode
:
sessionCode
});
}
});
}
})
.
catch
(
err
=>
{
wx
.
login
({
success
(
res
)
{
const
sessionCode
=
res
.
code
;
that
.
setData
({
sessionCode
:
sessionCode
});
}
});
console
.
log
(
err
);
});
}
...
...
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