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
fc01c6bf
Commit
fc01c6bf
authored
Nov 12, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
''
parent
4a615296
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
189 additions
and
46 deletions
+189
-46
index.wxs
filter/index.wxs
+38
-1
definePage.js
js/definePage.js
+0
-1
index.js
src/pages/myinfluence/index.js
+3
-2
index.wxml
src/pages/myinfluence/index.wxml
+3
-3
influencelist.js
src/pages/myinfluence/influencelist.js
+115
-14
influencelist.wxml
src/pages/myinfluence/influencelist.wxml
+30
-25
No files found.
filter/index.wxs
View file @
fc01c6bf
...
...
@@ -30,6 +30,41 @@ function formatDateRemoveYearb (date) {
var minute = mi < 10 ? '0' + mi : mi;
return month + '-' + day + ' ' + hour + ':' + minute;
}
function formatDateToHourMinute (date) {
if (!date) {
return ''
};
var regexp = getRegExp('-', 'g');
var time = getDate(date.replace(regexp, '/'));
var y = time.getFullYear();
var m = time.getMonth() + 1;
var month = m < 10 ? '0' + m : m;
var d = time.getDate();
var day = d < 10 ? '0' + d : d;
var h = time.getHours();
var hour = h < 10 ? '0' + h : h;
var mi = time.getMinutes();
var minute = mi < 10 ? '0' + mi : mi;
return hour + ':' + minute;
}
function formatDate2(date) {
if (!date) {
return ''
};
var regexp = getRegExp('-', 'g');
var time = getDate(date.replace(regexp, '/'));
var y = time.getFullYear();
var m = time.getMonth() + 1;
var month = m < 10 ? '0' + m : m;
var d = time.getDate();
var day = d < 10 ? '0' + d : d;
var h = time.getHours();
var hour = h < 10 ? '0' + h : h;
var mi = time.getMinutes();
var minute = mi < 10 ? '0' + mi : mi;
return y + '-' + month + '-' + day + ' ' + hour + ':' + minute;
}
function formatDateRemoveYear (date) {
var time = getDate(date * 1000);
var y = time.getFullYear();
...
...
@@ -508,5 +543,7 @@ module.exports = {
formatGender: formatGender,
formatDateRemoveYearb: formatDateRemoveYearb,
reviewClassImgShow: reviewClassImgShow,
checkStudentSelect: checkStudentSelect
checkStudentSelect: checkStudentSelect,
formatDateToHourMinute: formatDateToHourMinute,
formatDate2: formatDate2
}
\ No newline at end of file
js/definePage.js
View file @
fc01c6bf
...
...
@@ -38,7 +38,6 @@ const definePage = function () {
})
}
function
getForQueryStudentId
(
path
,
query
)
{
console
.
log
(
query
,
'query'
);
let
returnObj
=
{};
const
pageObj
=
parameter
.
find
(
ele
=>
ele
.
root
==
path
)
||
null
;
let
queryParams
=
{};
...
...
src/pages/myinfluence/index.js
View file @
fc01c6bf
...
...
@@ -99,9 +99,10 @@ Page({
},
goInfluenceDetail
()
{
goInfluenceDetail
(
e
)
{
const
{
tab
}
=
e
.
currentTarget
.
dataset
;
wx
.
navigateTo
({
url
:
`/src/pages/myinfluence/influencelist?sid=
${
this
.
data
.
sid
}
`
,
url
:
`/src/pages/myinfluence/influencelist?sid=
${
this
.
data
.
sid
}
&tab=
${
tab
||
0
}
`
,
})
},
getdashboard
()
{
...
...
src/pages/myinfluence/index.wxml
View file @
fc01c6bf
...
...
@@ -40,7 +40,7 @@
<view class="questionicon">?</view>
</view>
<view class="innerbox">
<view class="innerboxitem border-right border-bottom">
<view class="innerboxitem border-right border-bottom"
data-tab="0" bindtap="goInfluenceDetail"
>
<view class="itemtitle">好友查看</view>
<view class="staticline">
<text class="static">{{view.now}}</text>
...
...
@@ -52,7 +52,7 @@
<text class="trendlinestatic">{{rate.getRate(view.now, view.last)}}%</text>
</view>
</view>
<view class="innerboxitem border-bottom">
<view class="innerboxitem border-bottom"
data-tab="2" bindtap="goInfluenceDetail"
>
<view class="itemtitle">留下线索</view>
<view class="staticline">
<text class="static">{{clue.now}}</text>
...
...
@@ -64,7 +64,7 @@
<text class="trendlinestatic">{{rate.getRate(clue.now, clue.last)}}%</text>
</view>
</view>
<view class="innerboxitem border-right">
<view class="innerboxitem border-right"
data-tab="1" bindtap="goInfluenceDetail"
>
<view class="itemtitle">好友转发</view>
<view class="staticline">
<text class="static">{{share.now}}</text>
...
...
src/pages/myinfluence/influencelist.js
View file @
fc01c6bf
...
...
@@ -52,9 +52,28 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
const
{
sid
}
=
options
;
const
{
sid
,
tab
}
=
options
;
this
.
setData
({
sid
,
acIndex
:
Number
(
tab
)
||
0
,
})
app
.
getCurrentSchoolStudentId
({
source_id
:
this
.
data
.
sid
,
source_type
:
10
,
}).
then
((
res
)
=>
{
switch
(
this
.
data
.
acIndex
)
{
case
0
:
this
.
getViewThumbnail
(
'init'
);
break
;
case
1
:
this
.
getShareThumbnail
(
'init'
);
break
;
case
2
:
this
.
getClueList
(
'init'
);
break
;
default
:
break
;
}
})
wx
.
setNavigationBarColor
({
frontColor
:
'#ffffff'
,
...
...
@@ -69,19 +88,7 @@ Page({
fail
:
()
=>
{},
complete
:
()
=>
{}
});
switch
(
this
.
data
.
acIndex
)
{
case
0
:
this
.
getViewThumbnail
(
'init'
);
break
;
case
1
:
this
.
getShareThumbnail
(
'init'
);
break
;
case
2
:
this
.
getClueList
(
'init'
);
break
;
default
:
break
;
}
},
/**
...
...
@@ -767,5 +774,99 @@ Page({
clueLoading
:
false
})
})
},
goViewOrigin
(
e
)
{
// 点击跳转
const
{
viewpeople
}
=
e
.
currentTarget
.
dataset
;
const
{
source_type
}
=
viewpeople
.
behavior
;
switch
(
Number
(
source_type
))
{
case
1
:
// 成长记录
wx
.
navigateTo
({
url
:
`/src/pages/growthrecord/index?consumerId=
${
viewpeople
.
behavior
.
morph_source_student
.
id
}
&sid=
${
viewpeople
.
behavior
.
morph_source_student
.
school_id
}
`
,
})
break
;
case
3
:
// 打卡详情
wx
.
navigateTo
({
url
:
`/src/pages/clockdetail/newindex?tid=
${
viewpeople
.
behavior
.
morph_source_record
.
subject_id
}
&cid=
${
viewpeople
.
behavior
.
morph_source_record
.
id
}
`
,
})
break
;
case
8
:
// 课堂点评
wx
.
navigateTo
({
url
:
`/src/pages/papersquare/reviewdetail?sid=
${
viewpeople
.
behavior
.
morph_source_class_room_review
.
school_id
}
&id=
${
viewpeople
.
behavior
.
morph_source_class_room_review
.
class_id
}
&rid=
${
viewpeople
.
behavior
.
morph_source_class_room_review
.
id
}
&type=
${
viewpeople
.
behavior
.
morph_source_class_room_review
.
review_type
}
`
})
break
;
default
:
break
;
}
},
gosharerOrigin
(
e
)
{
const
{
sharepeople
}
=
e
.
currentTarget
.
dataset
;
const
{
source_type
}
=
sharepeople
;
switch
(
Number
(
source_type
))
{
case
1
:
// 成长记录
wx
.
navigateTo
({
url
:
`/src/pages/growthrecord/index?consumerId=
${
sharepeople
.
morph_source_student
.
id
}
&sid=
${
sharepeople
.
morph_source_student
.
school_id
}
`
,
})
break
;
case
3
:
// 打卡详情
wx
.
navigateTo
({
url
:
`/src/pages/clockdetail/newindex?tid=
${
sharepeople
.
morph_source_record
.
subject_id
}
&cid=
${
sharepeople
.
morph_source_record
.
id
}
`
,
})
break
;
case
8
:
// 课堂点评
wx
.
navigateTo
({
url
:
`/src/pages/papersquare/reviewdetail?sid=
${
sharepeople
.
morph_source_class_room_review
.
school_id
}
&id=
${
sharepeople
.
morph_source_class_room_review
.
class_id
}
&rid=
${
sharepeople
.
morph_source_class_room_review
.
id
}
&type=
${
sharepeople
.
morph_source_class_room_review
.
review_type
}
`
})
break
;
default
:
break
;
}
},
goClueOrigin
(
e
)
{
const
{
clueitem
}
=
e
.
currentTarget
.
dataset
;
const
{
source_type
}
=
clueitem
.
last_behavior
;
switch
(
Number
(
source_type
))
{
case
1
:
// 成长记录
wx
.
navigateTo
({
url
:
`/src/pages/growthrecord/index?consumerId=
${
clueitem
.
last_behavior
.
morph_source_student
.
id
}
&sid=
${
clueitem
.
last_behavior
.
school_id
}
`
,
})
break
;
case
2
:
// 主题(作业和日历)
if
(
clueitem
.
last_behavior
.
morph_source_subject
.
subject_type
==
1
)
{
wx
.
navigateTo
({
url
:
`/src/pages/themeindex/index?id=
${
clueitem
.
last_behavior
.
morph_source_subject
.
class_id
}
&tid=
${
clueitem
.
last_behavior
.
morph_source_subject
.
id
}
`
,
})
}
else
if
(
clueitem
.
last_behavior
.
morph_source_subject
.
subject_type
==
2
)
{
wx
.
navigateTo
({
url
:
`/src/pages/calendarthemeindex/index?id=
${
clueitem
.
last_behavior
.
morph_source_subject
.
class_id
}
&tid=
${
clueitem
.
last_behavior
.
morph_source_subject
.
id
}
`
,
})
}
break
;
case
6
:
// 解锁模式
wx
.
navigateTo
({
url
:
`/src/pages/morethemeindex/index?id=
${
clueitem
.
last_behavior
.
morph_source_unlock_mode
.
class_id
}
&tid=
${
clueitem
.
last_behavior
.
morph_source_unlock_mode
.
id
}
`
,
})
break
;
case
3
:
// 打卡详情
wx
.
navigateTo
({
url
:
`/src/pages/clockdetail/newindex?tid=
${
clueitem
.
last_behavior
.
morph_source_record
.
subject_id
}
&cid=
${
clueitem
.
last_behavior
.
morph_source_record
.
id
}
`
,
})
break
;
case
29
:
// 学生勋章
break
;
case
4
:
// 习作广场
wx
.
navigateTo
({
url
:
`/src/pages/papersquare/index?sid=
${
clueitem
.
last_behavior
.
morph_source_school
.
id
}
`
,
})
break
;
case
5
:
// 个人中心
break
;
case
7
:
// 微官网主页
wx
.
navigateTo
({
url
:
`/src/pages/websiteindex/index?sid=
${
clueitem
.
last_behavior
.
morph_source_school
.
id
}
`
,
})
break
;
default
:
break
;
}
}
})
\ No newline at end of file
src/pages/myinfluence/influencelist.wxml
View file @
fc01c6bf
...
...
@@ -38,19 +38,23 @@
<view class="name">访问来源</view>
</view>
<view class="detail-list">
<view class="detail-item" wx:for="{{viewitem.info.viewers}}" wx:for-index="id" wx:for-item="viewpeople" wx:key="id">
<view class="detail-item" wx:for="{{viewitem.info.viewers}}" wx:for-index="id" wx:for-item="viewpeople" wx:key="id"
data-viewpeople="{{viewpeople}}" bindtap="goViewOrigin"
>
<view class="visitor-info">
<view class="visitor-avatar"><image class="" src="{{filter.imagify(viewpeople.source_student.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" /></view>
<view class="action">
<view class="nickname">{{viewpeople.source_student && viewpeople.source_student.nickname || ''}}</view>
<view class="action-detail">
<text class="action-time">{{
viewpeople.created_at
}}</text>
<text class="action-time">{{
filter.formatDateToHourMinute(viewpeople.created_at)
}}</text>
<text class="action-text" wx:if="{{viewpeople.behavior.source_type == 3}}">访问我的打卡详情</text>
<text class="action-text" wx:if="{{viewpeople.behavior.source_type == 1}}">访问我的成长记录</text>
<text class="action-text" wx:if="{{viewpeople.behavior.source_type == 8}}">访问我的课堂点评</text>
<text class="action-text" wx:if="{{viewpeople.behavior.source_type == 29}}">访问我的荣誉</text>
</view>
</view>
<view class="access-content" wx:if="{{viewpeople.behavior.source_type == 1}}">
<image class="audio-icon" style="width: 12px; height: 13px" src="{{imageRoot}}2c/myinfluence/grap_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<view class="text">成长记录</view>
</view>
<view class="access-content" wx:if="{{viewpeople.behavior.source_type == 3}}">
<block wx:if="{{viewpeople.clockDetailType == 'image'}}">
<image class="img" src="{{filter.imagify(viewpeople.clockDetailsrc)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
...
...
@@ -72,12 +76,13 @@
</view>
<view class="lately-log" wx:if="{{viewpeople.recently_behavior}}">
<view class="log-title"><image class="" src="{{imageRoot}}2c/myinfluence/time_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />最近访客记录</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 1}}">{{viewpeople.recently_behavior.created_at}}访问了{{viewpeople.recently_behavior.morph_source_student.nickname}}的成长记录</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 2}}">{{viewpeople.recently_behavior.created_at}}访问了【{{viewpeople.recently_behavior.morph_source_subject.classes.title}}】班打卡主题【{{viewpeople.recently_behavior.morph_source_subject.title}}】</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 6}}">{{viewpeople.recently_behavior.created_at}}访问了【{{viewpeople.recently_behavior.morph_source_unlock_mode.classes.title}}】班打卡主题【{{viewpeople.recently_behavior.morph_source_unlock_mode.title}}】</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 3}}">{{viewpeople.recently_behavior.created_at}}访问了【{{viewpeople.recently_behavior.morph_source_record.classes.title}}】班级【{{viewpeople.recently_behavior.morph_source_record.student.nickname}}】的打卡详情</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 4}}">{{viewpeople.recently_behavior.created_at}}访问了习作广场</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 7}}">{{viewpeople.recently_behavior.created_at}}访问了微官网主页</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 1}}">{{filter.formatDateToHourMinute(viewpeople.recently_behavior.created_at)}}访问了{{viewpeople.recently_behavior.morph_source_student.nickname}}的成长记录</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 2}}">{{filter.formatDateToHourMinute(viewpeople.recently_behavior.created_at)}}访问了【{{viewpeople.recently_behavior.morph_source_subject.classes.title}}】班打卡主题【{{viewpeople.recently_behavior.morph_source_subject.title}}】</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 6}}">{{filter.formatDateToHourMinute(viewpeople.recently_behavior.created_at)}}访问了【{{viewpeople.recently_behavior.morph_source_unlock_mode.classes.title}}】班打卡主题【{{viewpeople.recently_behavior.morph_source_unlock_mode.title}}】</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 3}}">{{filter.formatDateToHourMinute(viewpeople.recently_behavior.created_at)}}访问了【{{viewpeople.recently_behavior.morph_source_record.classes.title}}】班级【{{viewpeople.recently_behavior.morph_source_record.student.nickname}}】的打卡详情</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 4}}">{{filter.formatDateToHourMinute(viewpeople.recently_behavior.created_at)}}访问了习作广场</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 7}}">{{filter.formatDateToHourMinute(viewpeople.recently_behavior.created_at)}}访问了微官网主页</view>
<view class="log-item" wx:if="{{viewpeople.recently_behavior.source_type == 8}}">{{filter.formatDateToHourMinute(viewpeople.recently_behavior.created_at)}}访问了【{{viewpeople.recently_behavior.morph_source_class_room_review.class.title}}】班级{{viewpeople.recently_behavior.morph_source_class_room_review.review_type == 2 ? '【' + viewpeople.recently_behavior.morph_source_class_room_review.student.name+ '】' : ''}}的课堂点评</view>
</view>
</view>
</view>
...
...
@@ -119,25 +124,25 @@
<view class="name">访问来源</view>
</view>
<view class="detail-list">
<view class="detail-item" wx:for="{{shareitem.info.viewers}}" wx:for-index="id" wx:for-item="sharepeople" wx:key="id">
<view class="detail-item" wx:for="{{shareitem.info.viewers}}" wx:for-index="id" wx:for-item="sharepeople" wx:key="id"
data-sharepeople="{{sharepeople}}" bindtap="gosharerOrigin"
>
<view class="visitor-info">
<view class="visitor-avatar"><image class="" src="{{filter.imagify(sharepeople.student.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" /></view>
<view class="action">
<view class="nickname">{{sharepeople.student.nickname}}</view>
<view class="action-detail" wx:if="{{sharepeople.source_type == 1}}">
<text class="action-time">{{
sharepeople.created_at
}}</text>
<text class="action-time">{{
filter.formatDateToHourMinute(sharepeople.created_at)
}}</text>
<text class="action-text">转发了你的成长记录</text>
</view>
<view class="action-detail" wx:if="{{sharepeople.source_type == 3}}">
<text class="action-time">{{
sharepeople.created_at
}}</text>
<text class="action-time">{{
filter.formatDateToHourMinute(sharepeople.created_at)
}}</text>
<text class="action-text">转发了你的打卡详情</text>
</view>
<view class="action-detail" wx:if="{{sharepeople.source_type == 8}}">
<text class="action-time">{{
sharepeople.created_at
}}</text>
<text class="action-time">{{
filter.formatDateToHourMinute(sharepeople.created_at)
}}</text>
<text class="action-text">转发了你的课堂点评</text>
</view>
<view class="action-detail" wx:if="{{sharepeople.source_type == 29}}">
<text class="action-time">{{
sharepeople.created_at
}}</text>
<text class="action-time">{{
filter.formatDateToHourMinute(sharepeople.created_at)
}}</text>
<text class="action-text">转发了你的学生勋章</text>
</view>
</view>
...
...
@@ -186,19 +191,19 @@
<view class="detail-list">
<block wx:if="{{!clueEmpty}}">
<view class="clue-list-item" wx:for="{{clueList}}" wx:for-item="cluebigtiem" wx:for-index="bigindex" wx:key="bigindex">
<view class="detail-item clue-item" wx:for="{{cluebigtiem}}" wx:for-index="smallindex" wx:for-item="clueitem" wx:key="smallindex">
<view class="detail-item clue-item" wx:for="{{cluebigtiem}}" wx:for-index="smallindex" wx:for-item="clueitem" wx:key="smallindex"
data-clueitem="{{clueitem}}" bindtap="goClueOrigin"
>
<view class="visitor-info">
<view class="visitor-avatar">
<image class="" src="{{filter.imagify(clueitem.student.avatar)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<view class="nickname">{{clueitem.student.nickname}}</view>
<view class="nickname">{{clueitem.
name || clueitem.
student.nickname}}</view>
</view>
<view class="access-content" wx:if="{{clueitem.last_behavior.source_type == 3}}">
<block wx:if="{{clueitem.clockDetailType == 'image'}}">
<image class="img" src="{{filter.imagify(clueitem.
last_behavior.
clockDetailsrc)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="img" src="{{filter.imagify(clueitem.clockDetailsrc)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<!-- <image class="play-icon" src="{{imageRoot}}2c/myinfluence/play-icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" /> -->
</block>
<block wx:if="{{clueitem.clockDetailType == 'video'}}">
<image class="img" src="{{filter.videoPoster(clueitem.
last_behavior.
clockDetailsrc)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="img" src="{{filter.videoPoster(clueitem.clockDetailsrc)}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
<image class="play-icon" src="{{imageRoot}}2c/myinfluence/play-icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
</block>
<block wx:if="{{clueitem.clockDetailType == 'audio'}}">
...
...
@@ -213,35 +218,35 @@
</view>
<view class="lately-log" wx:if="{{clueitem.last_behavior.source_type == 1}}">
<view class="log-title"><image class="" src="{{imageRoot}}2c/myinfluence/time_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />最后访问记录</view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
clueitem.last_behavior.created_at
}}访问了{{clueitem.last_behavior.morph_source_student.nickname}}的成长记录</text></view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
filter.formatDate2(clueitem.last_behavior.created_at)
}}访问了{{clueitem.last_behavior.morph_source_student.nickname}}的成长记录</text></view>
</view>
<view class="lately-log" wx:if="{{clueitem.last_behavior.source_type == 2}}">
<view class="log-title"><image class="" src="{{imageRoot}}2c/myinfluence/time_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />最后访问记录</view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
clueitem.last_behavior.created_at
}}访问了【{{clueitem.last_behavior.morph_source_subject.classes.title}}】班打卡主题【{{clueitem.last_behavior.morph_source_subject.title}}】</text></view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
filter.formatDate2(clueitem.last_behavior.created_at)
}}访问了【{{clueitem.last_behavior.morph_source_subject.classes.title}}】班打卡主题【{{clueitem.last_behavior.morph_source_subject.title}}】</text></view>
</view>
<view class="lately-log" wx:if="{{clueitem.last_behavior.source_type == 6}}">
<view class="log-title"><image class="" src="{{imageRoot}}2c/myinfluence/time_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />最后访问记录</view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
clueitem.last_behavior.created_at
}}访问了【{{clueitem.last_behavior.morph_source_unlock_mode.classes.title}}】班打卡主题【{{clueitem.last_behavior.morph_source_unlock_mode.title}}】</text></view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
filter.formatDate2(clueitem.last_behavior.created_at)
}}访问了【{{clueitem.last_behavior.morph_source_unlock_mode.classes.title}}】班打卡主题【{{clueitem.last_behavior.morph_source_unlock_mode.title}}】</text></view>
</view>
<view class="lately-log" wx:if="{{clueitem.last_behavior.source_type == 3}}">
<view class="log-title"><image class="" src="{{imageRoot}}2c/myinfluence/time_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />最后访问记录</view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
clueitem.last_behavior.created_at
}}访问了【{{clueitem.last_behavior.morph_source_record.classes.title}}】班级【{{clueitem.last_behavior.morph_source_record.student.nickname}}】的打卡详情 </text></view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
filter.formatDate2(clueitem.last_behavior.created_at)
}}访问了【{{clueitem.last_behavior.morph_source_record.classes.title}}】班级【{{clueitem.last_behavior.morph_source_record.student.nickname}}】的打卡详情 </text></view>
</view>
<view class="lately-log" wx:if="{{clueitem.last_behavior.source_type == 29}}">
<view class="log-title"><image class="" src="{{imageRoot}}2c/myinfluence/time_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />最后访问记录</view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
clueitem.last_behavior.created_at
}}访问了{{clueitem.last_behavior.morph_source_student.nickname}}的学生勋章 </text></view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
filter.formatDate2(clueitem.last_behavior.created_at)
}}访问了{{clueitem.last_behavior.morph_source_student.nickname}}的学生勋章 </text></view>
</view>
<view class="lately-log" wx:if="{{clueitem.last_behavior.source_type == 5}}">
<view class="log-title"><image class="" src="{{imageRoot}}2c/myinfluence/time_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />最后访问记录</view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
clueitem.last_behavior.created_at
}}访问了个人中心 </text></view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
filter.formatDate2(clueitem.last_behavior.created_at)
}}访问了个人中心 </text></view>
</view>
<view class="lately-log" wx:if="{{clueitem.last_behavior.source_type == 7}}">
<view class="log-title"><image class="" src="{{imageRoot}}2c/myinfluence/time_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />最后访问记录</view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
clueitem.last_behavior.created_at
}}访问了微官网主页 </text></view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
filter.formatDate2(clueitem.last_behavior.created_at)
}}访问了微官网主页 </text></view>
</view>
<view class="lately-log" wx:if="{{clueitem.last_behavior.source_type == 4}}">
<view class="log-title"><image class="" src="{{imageRoot}}2c/myinfluence/time_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />最后访问记录</view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
clueitem.last_behavior.created_at
}}访问了习作广场 </text></view>
<view class="log-item"><text class="" selectable="false" space="false" decode="false">{{
filter.formatDate2(clueitem.last_behavior.created_at)
}}访问了习作广场 </text></view>
</view>
<view class="leave-phone">
<image class="phone-icon" src="{{imageRoot}}2c/myinfluence/phone_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
...
...
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