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
b7ac71bb
Commit
b7ac71bb
authored
May 20, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddd
parent
1d9c3044
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
6 deletions
+23
-6
index.js
src/pages/clockeditor/index.js
+12
-2
index.js
src/pages/themeindex/index.js
+11
-4
No files found.
src/pages/clockeditor/index.js
View file @
b7ac71bb
...
...
@@ -12,7 +12,8 @@ import {
import
{
cOssAccess
,
cMediaOssAccess
,
formIdCreate
formIdCreate
,
activityLog
}
from
'../../../service/common.js'
;
import
{
setInfo
,
...
...
@@ -35,7 +36,6 @@ import {
audioorigin
,
LocalStorage
}
from
'../../../utilities/index.js'
;
var
app
=
getApp
();
Page
({
data
:
{
...
...
@@ -129,6 +129,7 @@ Page({
},
currentDate
:
''
,
activitySid
:
constants
.
activity
.
sid
,
activityTid
:
constants
.
activity
.
tid
,
},
onLoad
:
function
(
options
)
{
// Do some initialize when page load.
this
.
innerAudioContext
=
wx
.
createInnerAudioContext
();
...
...
@@ -599,6 +600,15 @@ Page({
submiting
:
false
})
})
if
(
this
.
data
.
tid
==
this
.
data
.
activityTid
){
const
visitor
=
LocalStorage
.
getItem
(
'visitor'
);
activityLog
({
type
:
17
,
open_id
:
visitor
&&
visitor
.
openid
,
school_id
:
this
.
data
.
activitySid
,
remark
:
''
})
}
},
joinClass
()
{
return
joinClass
({
...
...
src/pages/themeindex/index.js
View file @
b7ac71bb
...
...
@@ -13,9 +13,6 @@ import {
newLikeIndex
,
newCommentIndex
,
}
from
'../../../service/customer/circleindex.js'
;
import
{
rankrecord
}
from
'../../../service/common.js'
;
import
{
userShow
,
themeDetail
,
...
...
@@ -30,7 +27,8 @@ import {
formIdCreate
,
generateCustomerQrcode
,
posterLog
,
activityLog
activityLog
,
rankrecord
}
from
'../../../service/common.js'
;
import
{
getSchoolDetail
...
...
@@ -826,6 +824,7 @@ Page({
},
goClock
(
e
)
{
const
visitor
=
LocalStorage
.
getItem
(
'visitor'
);
const
{
formId
}
=
e
.
detail
;
...
...
@@ -861,6 +860,14 @@ Page({
}
}
}
if
(
this
.
data
.
tid
==
this
.
data
.
activityTid
){
activityLog
({
type
:
16
,
open_id
:
visitor
&&
visitor
.
openid
,
school_id
:
this
.
data
.
activitySid
,
remark
:
''
})
}
},
// 强制阅读
readtheme
(
e
)
{
...
...
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