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
fd7cbbf9
Commit
fd7cbbf9
authored
Mar 30, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Plain Diff
fix
parents
a5973130
cf843675
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
10 deletions
+17
-10
index.js
business/components/commentClockItemShare/index.js
+1
-2
index.wxml
business/pages/calendarthemeindex/index.wxml
+1
-1
index.json
business/pages/morethemeindex/index.json
+1
-1
subjecteditor.js
business/pages/themeeditor/subjecteditor.js
+3
-0
index.js
business/pages/themeindex/index.js
+11
-6
No files found.
business/components/commentClockItemShare/index.js
View file @
fd7cbbf9
...
...
@@ -53,7 +53,7 @@ Component({
}
let
shareObj
=
{
title
:
`
${
info
.
school_student
.
nickname
}
的打卡详情`
,
path
:
`/src/pages/clockdetail/newindex?
id=
${
info
.
class_id
}
&
tid=
${
tid
}
&cid=
${
info
.
id
}
&w=
${
app
.
globalData
.
currentSchoolStudentId
}
`
path
:
`/src/pages/clockdetail/newindex?tid=
${
tid
}
&cid=
${
info
.
id
}
&w=
${
app
.
globalData
.
currentSchoolStudentId
}
`
}
app
.
setSharerLog
({
...
...
@@ -64,7 +64,6 @@ Component({
query
:
`id=
${
info
.
class_id
}
&tid=
${
tid
}
&cid=
${
info
.
id
}
&w=
${
app
.
globalData
.
currentSchoolStudentId
}
`
})
});
console
.
log
(
shareObj
)
return
{
title
:
shareObj
.
title
,
path
:
shareObj
.
path
,
...
...
business/pages/calendarthemeindex/index.wxml
View file @
fd7cbbf9
...
...
@@ -248,7 +248,7 @@
</view>
<view class="setting-item" bindtap="toEdit">
<view class="left">
<view class="item-label">
作业
打卡设置</view>
<view class="item-label">
日历
打卡设置</view>
<view class="item-desc">作业内容、作业要求、参与打卡方式等设置</view>
</view>
<view class="right">
...
...
business/pages/morethemeindex/index.json
View file @
fd7cbbf9
{
"navigationBarTitleText"
:
"
作业
打卡"
,
"navigationBarTitleText"
:
"
闯关
打卡"
,
"enablePullDownRefresh"
:
true
,
"usingComponents"
:
{
"sjd-media-show"
:
"../../../components/sjdmediashow"
,
...
...
business/pages/themeeditor/subjecteditor.js
View file @
fd7cbbf9
...
...
@@ -100,6 +100,9 @@ Page({
// params: JSON.parse(decodeURIComponent(detail)),
})
if
(
this
.
data
.
id
>
0
)
{
wx
.
setNavigationBarTitle
({
title
:
'编辑关卡内容'
})
this
.
unlockSubjectDetail
();
}
},
...
...
business/pages/themeindex/index.js
View file @
fd7cbbf9
...
...
@@ -196,16 +196,21 @@ Page({
from
,
target
}
=
option
;
console
.
log
({
from
,
target
});
let
shareObj
=
{
}
if
(
target
.
dataset
.
type
==
'share_clock'
)
{
this
.
newShare
.
onShareAppMessage
()
return
}
if
(
from
==
'menu'
)
{
shareObj
=
this
.
data
.
shareObj
;
}
else
if
(
from
==
'button'
)
{
if
(
target
.
dataset
&&
target
.
dataset
.
type
==
'share_clock'
)
{
this
.
newShare
.
onShareAppMessage
()
return
}
if
(
!
target
.
dataset
.
info
)
{
shareObj
=
{
title
:
`邀请您提交「
${
this
.
data
.
params
.
title
}
」作业`
,
...
...
@@ -284,11 +289,11 @@ Page({
hadClockTotal
:
Number
(
data
.
record_count
||
0
),
initShareObj
:
{
title
:
`邀请您提交「
${
data
.
title
}
」作业`
,
path
:
`/src/pages/themeindex/landpage?tid=
${
this
.
data
.
tid
}
`
path
:
`/src/pages/themeindex/landpage?tid=
${
this
.
data
.
tid
}
&sid=
${
this
.
data
.
sid
}
`
},
shareObj
:
{
title
:
`邀请您提交「
${
data
.
title
}
」作业`
,
path
:
`/src/pages/themeindex/landpage?tid=
${
this
.
data
.
tid
}
`
path
:
`/src/pages/themeindex/landpage?tid=
${
this
.
data
.
tid
}
&sid=
${
this
.
data
.
sid
}
`
}
})
this
.
setData
({
...
...
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