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
d95112b9
Commit
d95112b9
authored
Apr 01, 2020
by
lvtz
Browse files
Options
Browse Files
Download
Plain Diff
fix
parents
ff3cddb7
404949b9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
10 deletions
+19
-10
index.js
business/pages/clockdetail/index.js
+11
-5
index.wxml
business/pages/clockdetail/index.wxml
+1
-1
clocklist.wxml
business/pages/deskcenter/clocklist.wxml
+2
-2
index.js
business/pages/morethemeindex/index.js
+5
-2
No files found.
business/pages/clockdetail/index.js
View file @
d95112b9
...
...
@@ -131,13 +131,19 @@ Page({
from
,
target
}
=
option
;
if
(
target
.
dataset
.
type
==
'share_clock'
)
{
this
.
newShare
.
onShareAppMessage
()
return
if
(
option
.
from
==
'button'
)
{
if
(
target
.
dataset
.
type
==
'share_clock'
)
{
const
obj
=
this
.
newShare
.
onShareAppMessage
()
return
obj
;
}
}
console
.
log
(
{
title
:
`
${
this
.
data
.
clock
.
school_student
.
nickname
}
的打卡详情`
,
path
:
`/src/pages/clockdetail/newindex?tid=
${
this
.
data
.
tid
}
&cid=
${
this
.
data
.
clock
.
id
}
&w=0`
});
return
{
title
:
`
${
this
.
data
.
clock
.
school_student
.
nickname
}
的打卡详情`
,
path
:
`/src/pages/clockdetail/newindex?tid=
${
this
.
data
.
tid
}
&cid=
${
this
.
data
.
clock
.
id
}
`
path
:
`/src/pages/clockdetail/newindex?tid=
${
this
.
data
.
tid
}
&cid=
${
this
.
data
.
clock
.
id
}
&w=0
`
}
},
clockDetail
()
{
...
...
@@ -195,7 +201,7 @@ Page({
content_100
:
data
.
content
.
length
>
100
?
data
.
content
.
substr
(
0
,
100
)
+
'...'
:
data
.
content
,
contentexpand
:
false
}),
id
:
data
.
class_id
,
//
id: data.class_id,
sid
:
data
.
school_id
})
this
.
newCommentIndex
(
data
.
id
,
function
(
commentRes
)
{
...
...
business/pages/clockdetail/index.wxml
View file @
d95112b9
...
...
@@ -2,7 +2,7 @@
<view class="container">
<btn-drag bind:btnDragEvent='goindex' tobottomDis='88' width='60' height="60" catchtouchmove="ture">
<view class="gohome gohome-b" bindtap="goindex" slot="dragcontent">
<view class="home-text"
>班级
</view>
<view class="home-text"
>工作台
</view>
</view>
</btn-drag>
<view class="clock-detail-container clearfix">
...
...
business/pages/deskcenter/clocklist.wxml
View file @
d95112b9
...
...
@@ -53,14 +53,14 @@
<view class="title">{{item.title}}</view>
</view>
<view class="static-box">
<text class="" selectable="false" space="false" decode="false">共{{item.
student_total
}}学员</text>
<text class="" selectable="false" space="false" decode="false">共{{item.
clock_student_count
}}学员</text>
</view>
<block wx:if="{{item.subject_status == 2}}">
<view class="clockstatus wait" wx:if="{{item.no_review > 0}}">
<image class="dianpinicon" wx:if="{{item.subject_status != 1}}" src="{{imageRoot}}2b/circleindex/dianpin.png?{{imageVersion}}"></image>
<text class="clockstatic" wx:if="{{item.subject_status != 1}}" selectable="false" space="false" decode="false">待点评{{item.no_review}}</text>
</view>
<view class="clockstatus success" wx:if="{{item.no_review == 0}}">
<view class="clockstatus success" wx:if="{{item.no_review == 0
&& clock_record_count > 0
}}">
<image class="dianpinicon" wx:if="{{item.subject_status != 1}}" src="{{imageRoot}}2b/circleindex/right.png?{{imageVersion}}"></image>
<text class="clockstatic" wx:if="{{item.subject_status != 1}}" selectable="false" space="false" decode="false">已全部点评</text>
</view>
...
...
business/pages/morethemeindex/index.js
View file @
d95112b9
...
...
@@ -201,7 +201,6 @@ Page({
target
}
=
option
;
let
shareObj
=
{
}
if
(
from
==
'menu'
)
{
shareObj
=
{
...
...
@@ -209,6 +208,10 @@ Page({
path
:
`/src/pages/sharemoretheme/index?tid=
${
this
.
data
.
mid
}
&sid=
${
this
.
data
.
sid
}
`
}
}
else
if
(
from
==
'button'
)
{
if
(
target
.
dataset
&&
target
.
dataset
.
type
==
'share_clock'
)
{
shareObj
=
this
.
newShare
.
onShareAppMessage
();
return
shareObj
;
}
if
(
!
target
.
dataset
.
info
)
{
shareObj
=
{
title
:
this
.
data
.
params
.
title
,
...
...
@@ -222,7 +225,6 @@ Page({
}
}
}
=
option
;
shareObj
=
{
title
:
`
${
info
.
school_student
.
nickname
}
的打卡详情`
,
path
:
`/src/pages/clockdetail/newindex?tid=
${
info
.
subject_id
}
&cid=
${
info
.
id
}
`
...
...
@@ -241,6 +243,7 @@ Page({
}
}
}
console
.
log
(
shareObj
,
'shareObjshareObj'
);
return
{
title
:
shareObj
.
title
,
path
:
shareObj
.
path
,
...
...
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