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
3f428277
Commit
3f428277
authored
May 24, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/lvtz' into wxl-develop
parents
c74e903c
3f1ed544
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
341 additions
and
138 deletions
+341
-138
index.js
business/pages/scorerulesetting/index.js
+1
-1
index.js
src/pages/myscoreindex/index.js
+97
-4
index.json
src/pages/myscoreindex/index.json
+3
-1
index.wxml
src/pages/myscoreindex/index.wxml
+48
-27
index.js
src/pages/pointsrule/index.js
+74
-4
index.json
src/pages/pointsrule/index.json
+3
-1
index.wxml
src/pages/pointsrule/index.wxml
+115
-100
No files found.
business/pages/scorerulesetting/index.js
View file @
3f428277
...
...
@@ -119,10 +119,10 @@ Page({
},
submit
()
{
console
.
log
(
this
.
data
.
params
)
this
.
data
.
submitting
=
true
;
if
(
this
.
data
.
submitting
)
{
return
}
this
.
data
.
submitting
=
true
;
wx
.
showLoading
({
title
:
'积分保存中...'
})
...
...
src/pages/myscoreindex/index.js
View file @
3f428277
...
...
@@ -14,7 +14,63 @@ Page({
imageVersion
:
app
.
globalData
.
imageVersion
,
localImageRoot
:
"../../../images/"
,
sid
:
0
,
pointsData
:
''
params
:
{
'1'
:
{
// 每日打卡
single
:
1
,
daily_limit
:
1
,
isUnlimit
:
0
,
// 0 不是无限 1 无限
my
:
0
,
//我的打卡进度
},
'2'
:
{
// 点赞鼓励
single
:
1
,
daily_limit
:
1
,
isUnlimit
:
0
,
// 0 不是无限 1 无限
my
:
0
,
//我的打卡进度
},
'3'
:
{
// 评论互动
single
:
1
,
daily_limit
:
1
,
isUnlimit
:
0
,
// 0 不是无限 1 无限
my
:
0
,
//我的打卡进度
},
'4'
:
{
// 分享打卡
single
:
1
,
daily_limit
:
1
,
isUnlimit
:
0
,
// 0 不是无限 1 无限
my
:
0
,
//我的打卡进度
},
'5'
:
{
// 打卡内容被点赞
single
:
1
,
daily_limit
:
1
,
isUnlimit
:
0
,
// 0 不是无限 1 无限
my
:
0
,
//我的打卡进度
},
'6'
:
{
// 打卡内容被围观
single
:
1
,
daily_limit
:
1
,
isUnlimit
:
0
,
// 0 不是无限 1 无限
my
:
0
,
//我的打卡进度
},
'7'
:
{
// 打卡内容被转发
single
:
1
,
daily_limit
:
1
,
isUnlimit
:
0
,
// 0 不是无限 1 无限
my
:
0
,
//我的打卡进度
},
'8'
:
{
// 打卡内容被评论
single
:
1
,
daily_limit
:
1
,
isUnlimit
:
0
,
// 0 不是无限 1 无限
my
:
0
,
//我的打卡进度
},
'9'
:
{
// 打卡内容被老师点评
single
:
1
,
daily_limit
:
1
,
isUnlimit
:
0
,
// 0 不是无限 1 无限
my
:
0
,
//我的打卡进度
}
},
isRuleSeted
:
true
},
/**
...
...
@@ -100,28 +156,65 @@ Page({
}).
then
((
res
)
=>
{
const
{
code
,
data
}
=
res
if
(
code
==
200
)
{
this
.
setData
({
pointsData
:
data
},
()
=>
{})
if
(
data
.
list
.
length
>
0
)
{
data
.
list
.
forEach
((
ele
)
=>
{
if
(
ele
.
daily_limit
==
-
1
)
{
this
.
setData
({
[
`params.
${
ele
.
type
}
`
]:
{
daily_limit
:
0
,
single
:
ele
.
single
,
isUnlimit
:
1
,
my
:
ele
.
my
,
}
})
}
else
{
this
.
setData
({
[
`params.
${
ele
.
type
}
`
]:
{
daily_limit
:
ele
.
daily_limit
,
single
:
ele
.
single
,
isUnlimit
:
0
,
my
:
ele
.
my
,
}
})
}
})
}
else
{
this
.
setData
({
isRuleSeted
:
false
})
}
console
.
log
(
this
.
data
.
params
)
}
})
},
// 积分规则
toRulePage
()
{
wx
.
navigateTo
({
url
:
`/src/pages/pointsrule/index?sid=
${
this
.
data
.
sid
}
`
})
},
// 积分明细
toPointsInOutPage
()
{
wx
.
navigateTo
({
url
:
`/src/pages/pointsInOut/index?sid=
${
this
.
data
.
sid
}
`
})
},
// 积分商城
toPointsMall
()
{
wx
.
navigateTo
({
url
:
`/src/pages/mall/index?sid=
${
this
.
data
.
sid
}
&from=2`
})
},
// 积分排行榜
toPointsRankList
()
{
console
.
log
(
'待跳转积分排行榜'
)
// wx.navigateTo({
// url: `/src/pages/rankingList/index?sid=${this.data.sid}`
// })
},
// 积分任务
toDoPointsTask
()
{
console
.
log
(
'待跳转积分任务列表'
)
// wx.navigateTo({
// url: `/src/pages/rankingList/index?sid=${this.data.sid}`
// })
...
...
src/pages/myscoreindex/index.json
View file @
3f428277
{
"navigationBarBackgroundColor"
:
"#FFE344"
,
"navigationBarTitleText"
:
"积分"
,
"usingComponents"
:
{}
"usingComponents"
:
{
"empty-content"
:
"../../../components/emptycontent"
}
}
\ No newline at end of file
src/pages/myscoreindex/index.wxml
View file @
3f428277
...
...
@@ -21,107 +21,128 @@
<image class="btnimg" src="{{localImageRoot}}2c/myscoreindex/rankbg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindtap="toPointsRankList"></image>
</view>
</view>
<view class="scoretaskbox" hover-class="none" hover-stop-propagation="false">
<view class="scoretaskbox" hover-class="none" hover-stop-propagation="false"
wx:if="{{isRuleSeted}}"
>
<view class="title" hover-class="none" hover-stop-propagation="false">每日赚积分</view>
<view class="taskcontent" hover-class="none" hover-stop-propagation="false">
<view class="taskitem" hover-class="none" hover-stop-propagation="false">
<view class="taskitem" hover-class="none" hover-stop-propagation="false"
bindtap="toDoPointsTask"
>
<view class="left" hover-class="none" hover-stop-propagation="false">
<view class="taskname" hover-class="none" hover-stop-propagation="false">每日打卡</view>
<view class="taskscore" hover-class="none" hover-stop-propagation="false">
<image class="scoreicon" src="{{localImageRoot}}2c/myscoreindex/scoreicon.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<text class="scorecount" selectable="false" space="false" decode="false">
20
积分</text>
<text class="scorecount" selectable="false" space="false" decode="false">
{{params[1].single}}
积分</text>
</view>
</view>
<view class="right" hover-class="none" hover-stop-propagation="false">
<view class="taskbtn" hover-class="none" hover-stop-propagation="false">去打卡</view>
<image class="completeimg" wx:if="{{params[1].my==params[1].daily_limit}}" src="{{localImageRoot}}2c/myscoreindex/completeimg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<block wx:else>
<view class="taskbtn" hover-class="none" hover-stop-propagation="false">去打卡</view>
<view class="progress" hover-class="none" hover-stop-propagation="false">{{params[1].my}}/{{params[1].daily_limit}}</view>
</block>
</view>
</view>
<view class="taskitem" hover-class="none" hover-stop-propagation="false">
<view class="taskitem" hover-class="none" hover-stop-propagation="false"
bindtap="toDoPointsTask"
>
<view class="left" hover-class="none" hover-stop-propagation="false">
<view class="taskname" hover-class="none" hover-stop-propagation="false">评论同学的打卡</view>
<view class="taskscore" hover-class="none" hover-stop-propagation="false">
<image class="scoreicon" src="{{localImageRoot}}2c/myscoreindex/scoreicon.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<text class="scorecount" selectable="false" space="false" decode="false">
20
积分</text>
<text class="scorecount" selectable="false" space="false" decode="false">
{{params[3].single}}
积分</text>
</view>
</view>
<view class="right" hover-class="none" hover-stop-propagation="false">
<image class="completeimg" wx:if="{{params[3].my==params[3].daily_limit}}" src="{{localImageRoot}}2c/myscoreindex/completeimg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<block wx:else>
<view class="taskbtn" hover-class="none" hover-stop-propagation="false">去评论</view>
<view class="progress" hover-class="none" hover-stop-propagation="false">{{params[3].my}}/{{params[3].daily_limit}}</view>
</block>
</view>
</view>
<view class="taskitem" hover-class="none" hover-stop-propagation="false">
<view class="taskitem" hover-class="none" hover-stop-propagation="false"
bindtap="toDoPointsTask"
>
<view class="left" hover-class="none" hover-stop-propagation="false">
<view class="taskname" hover-class="none" hover-stop-propagation="false">点赞同学的打卡</view>
<!-- <view class="taskdesc" selectable="false" space="false" decode="false">分享自己的打卡至群聊或者好友</view> -->
<view class="taskscore" hover-class="none" hover-stop-propagation="false">
<image class="scoreicon" src="{{localImageRoot}}2c/myscoreindex/scoreicon.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<text class="scorecount" selectable="false" space="false" decode="false">
20
积分</text>
<text class="scorecount" selectable="false" space="false" decode="false">
{{params[2].single}}
积分</text>
</view>
</view>
<view class="right" hover-class="none" hover-stop-propagation="false">
<image class="completeimg" wx:if="{{params[2].my==params[2].daily_limit}}" src="{{localImageRoot}}2c/myscoreindex/completeimg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<block wx:else>
<view class="taskbtn" hover-class="none" hover-stop-propagation="false">去点赞</view>
<!-- <image class="completeimg" src="{{localImageRoot}}2c/myscoreindex/completeimg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> -->
<view class="progress" hover-class="none" hover-stop-propagation="false">{{params[2].my}}/{{params[2].daily_limit}}</view>
</block>
</view>
</view>
<view class="taskitem" hover-class="none" hover-stop-propagation="false">
<view class="taskitem" hover-class="none" hover-stop-propagation="false"
bindtap="toDoPointsTask"
>
<view class="left" hover-class="none" hover-stop-propagation="false">
<view class="taskname" hover-class="none" hover-stop-propagation="false">转发/分享打卡</view>
<view class="taskdesc" selectable="false" space="false" decode="false">分享自己的打卡至群聊或者好友</view>
<view class="taskscore" hover-class="none" hover-stop-propagation="false">
<image class="scoreicon" src="{{localImageRoot}}2c/myscoreindex/scoreicon.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<text class="scorecount" selectable="false" space="false" decode="false">
20
积分</text>
<text class="scorecount" selectable="false" space="false" decode="false">
{{params[4].single}}
积分</text>
</view>
</view>
<view class="right" hover-class="none" hover-stop-propagation="false">
<!-- <view class="taskbtn" hover-class="none" hover-stop-propagation="false">去点赞</view> -->
<image class="completeimg" src="{{localImageRoot}}2c/myscoreindex/completeimg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="completeimg" wx:if="{{params[4].my==params[4].daily_limit}}" src="{{localImageRoot}}2c/myscoreindex/completeimg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<block wx:else>
<view class="taskbtn" hover-class="none" hover-stop-propagation="false">去点赞</view>
<view class="progress" hover-class="none" hover-stop-propagation="false">{{params[4].my}}/{{params[4].daily_limit}}</view>
</block>
</view>
</view>
<view class="taskitem" hover-class="none" hover-stop-propagation="false">
<view class="taskitem" hover-class="none" hover-stop-propagation="false"
bindtap="toDoPointsTask"
>
<view class="left" hover-class="none" hover-stop-propagation="false">
<view class="taskname" hover-class="none" hover-stop-propagation="false">打卡内容被围观1次</view>
<view class="taskdesc" selectable="false" space="false" decode="false">邀请好友为自己的打卡内容点赞获得积分</view>
<view class="taskscore" hover-class="none" hover-stop-propagation="false">
<image class="scoreicon" src="{{localImageRoot}}2c/myscoreindex/scoreicon.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<text class="scorecount" selectable="false" space="false" decode="false">
20
积分</text>
<text class="scorecount" selectable="false" space="false" decode="false">
{{params[6].single}}
积分</text>
</view>
</view>
<view class="right" hover-class="none" hover-stop-propagation="false">
<image class="completeimg" wx:if="{{params[6].my==params[6].daily_limit}}" src="{{localImageRoot}}2c/myscoreindex/completeimg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<block wx:else>
<view class="taskbtn" hover-class="none" hover-stop-propagation="false">去分享</view>
<view class="progress" hover-class="none" hover-stop-propagation="false">
1/12</view>
<!-- <image class="completeimg" src="{{localImageRoot}}2c/myscoreindex/completeimg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> --
>
<view class="progress" hover-class="none" hover-stop-propagation="false">
{{params[6].my}}/{{params[6].daily_limit}}</view>
</block
>
</view>
</view>
<view class="taskitem" hover-class="none" hover-stop-propagation="false">
<view class="taskitem" hover-class="none" hover-stop-propagation="false"
bindtap="toDoPointsTask"
>
<view class="left" hover-class="none" hover-stop-propagation="false">
<view class="taskname" hover-class="none" hover-stop-propagation="false">打卡作品被点赞1次</view>
<view class="taskdesc" selectable="false" space="false" decode="false">分享任意海报或日签至朋友圈,被点赞</view>
<view class="taskscore" hover-class="none" hover-stop-propagation="false">
<image class="scoreicon" src="{{localImageRoot}}2c/myscoreindex/scoreicon.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<text class="scorecount" selectable="false" space="false" decode="false">
20
积分</text>
<text class="scorecount" selectable="false" space="false" decode="false">
{{params[5].single}}
积分</text>
</view>
</view>
<view class="right" hover-class="none" hover-stop-propagation="false">
<image class="completeimg" wx:if="{{params[5].my==params[5].daily_limit}}" src="{{localImageRoot}}2c/myscoreindex/completeimg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<block wx:else>
<view class="taskbtn" hover-class="none" hover-stop-propagation="false">去分享</view>
<view class="progress" hover-class="none" hover-stop-propagation="false">
1/12
</view>
<!-- <image class="completeimg" src="{{localImageRoot}}2c/myscoreindex/completeimg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> --
>
<view class="progress" hover-class="none" hover-stop-propagation="false">
{{params[5].my}}/{{params[5].daily_limit}}
</view>
</block
>
</view>
</view>
<view class="taskitem" hover-class="none" hover-stop-propagation="false">
<view class="taskitem" hover-class="none" hover-stop-propagation="false"
bindtap="toDoPointsTask"
>
<view class="left" hover-class="none" hover-stop-propagation="false">
<view class="taskname" hover-class="none" hover-stop-propagation="false">打卡作品被评论1次</view>
<view class="taskdesc" selectable="false" space="false" decode="false">分享任意海报或日签至朋友圈,被评论</view>
<view class="taskscore" hover-class="none" hover-stop-propagation="false">
<image class="scoreicon" src="{{localImageRoot}}2c/myscoreindex/scoreicon.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<text class="scorecount" selectable="false" space="false" decode="false">
20
积分</text>
<text class="scorecount" selectable="false" space="false" decode="false">
{{params[8].single}}
积分</text>
</view>
</view>
<view class="right" hover-class="none" hover-stop-propagation="false">
<image class="completeimg" wx:if="{{params[8].my==params[8].daily_limit}}" src="{{localImageRoot}}2c/myscoreindex/completeimg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<block wx:else>
<view class="taskbtn" hover-class="none" hover-stop-propagation="false">去分享</view>
<view class="progress" hover-class="none" hover-stop-propagation="false">
1/12</view>
<!-- <image class="completeimg" src="{{localImageRoot}}2c/myscoreindex/completeimg.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image> --
>
<view class="progress" hover-class="none" hover-stop-propagation="false">
{{params[8].my}}/{{params[8].daily_limit}}</view>
</block
>
</view>
</view>
</view>
</view>
<block wx:else>
<empty-content text="暂未设置积分"></empty-content>
</block>
</view>
\ No newline at end of file
src/pages/pointsrule/index.js
View file @
3f428277
...
...
@@ -12,7 +12,54 @@ Page({
imageVersion
:
app
.
globalData
.
imageVersion
,
localImageRoot
:
'../../../images/'
,
sid
:
0
,
pointsData
:
''
params
:
{
'1'
:
{
// 每日打卡
single
:
1
,
daily_limit
:
1
,
isUnlimit
:
0
// 0 不是无限 1 无限
},
'2'
:
{
// 点赞鼓励
single
:
1
,
daily_limit
:
2
,
isUnlimit
:
0
// 0 不是无限 1 无限
},
'3'
:
{
// 评论互动
single
:
1
,
daily_limit
:
3
,
isUnlimit
:
0
// 0 不是无限 1 无限
},
'4'
:
{
// 分享打卡
single
:
1
,
daily_limit
:
4
,
isUnlimit
:
0
// 0 不是无限 1 无限
},
'5'
:
{
// 打卡内容被点赞
single
:
5
,
daily_limit
:
5
,
isUnlimit
:
0
// 0 不是无限 1 无限
},
'6'
:
{
// 打卡内容被围观
single
:
6
,
daily_limit
:
6
,
isUnlimit
:
0
// 0 不是无限 1 无限
},
'7'
:
{
// 打卡内容被转发
single
:
7
,
daily_limit
:
7
,
isUnlimit
:
0
// 0 不是无限 1 无限
},
'8'
:
{
// 打卡内容被评论
single
:
8
,
daily_limit
:
8
,
isUnlimit
:
0
// 0 不是无限 1 无限
},
'9'
:
{
// 打卡内容被老师点评
single
:
9
,
daily_limit
:
9
,
isUnlimit
:
0
// 0 不是无限 1 无限
}
},
isRuleSeted
:
true
},
/**
...
...
@@ -82,9 +129,32 @@ Page({
}).
then
((
res
)
=>
{
const
{
code
,
data
}
=
res
if
(
code
==
200
)
{
this
.
setData
({
pointsData
:
data
},
()
=>
{})
if
(
data
.
list
.
length
>
0
)
{
data
.
list
.
forEach
((
ele
)
=>
{
if
(
ele
.
daily_limit
==
-
1
)
{
this
.
setData
({
[
`params.
${
ele
.
type
}
`
]:
{
daily_limit
:
0
,
single
:
ele
.
single
,
isUnlimit
:
1
}
})
}
else
{
this
.
setData
({
[
`params.
${
ele
.
type
}
`
]:
{
daily_limit
:
ele
.
daily_limit
,
single
:
ele
.
single
,
isUnlimit
:
0
}
})
}
})
}
else
{
this
.
setData
({
isRuleSeted
:
false
})
}
console
.
log
(
this
.
data
.
params
)
}
})
}
...
...
src/pages/pointsrule/index.json
View file @
3f428277
{
"navigationBarTitleText"
:
"积分规则"
,
"usingComponents"
:
{}
"usingComponents"
:
{
"empty-content"
:
"../../../components/emptycontent"
}
}
\ No newline at end of file
src/pages/pointsrule/index.wxml
View file @
3f428277
<view class="container">
<view class="pointrule-box">
<view class="part-box">
<view class="part-header">
<image class="part-title-icon part-icon-clock" src="{{localImageRoot}}2c/pointsrule/clock.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
<text class="part-title-text">打卡奖励</text>
</view>
<view class="part-content">
<view class="part-item">
<view class="item-left">
<view class="item-title">每日打卡</view>
<view class="item-subtitle"></view>
</view>
<view class="item-right">
<text class="item-point-num">+3</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
<block wx:if="{{isRuleSeted}}">
<view class="pointrule-box">
<view class="part-box">
<view class="part-header">
<image class="part-title-icon part-icon-clock" src="{{localImageRoot}}2c/pointsrule/clock.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
<text class="part-title-text">打卡奖励</text>
</view>
<view class="part-item">
<view class="item-left">
<view class="item-title">打卡获得点赞</view>
<view class="item-subtitle">每日上限50</view>
</view>
<view class="item-right">
<text class="item-point-num">+3</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
</view>
<view class="part-item">
<view class="item-left">
<view class="item-title">打卡获得评论</view>
<view class="item-subtitle">每日上限50</view>
</view>
<view class="item-right">
<text class="item-point-num">+3</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
<view class="part-content">
<view class="part-item">
<view class="item-left">
<view class="item-title">每日打卡</view>
<view class="item-subtitle" wx:if="{{params[1].daily_limit !=-1}}">每日上限{{params[1].daily_limit}}次</view>
</view>
<view class="item-right">
<text class="item-point-num">+{{params[1].single}}</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
</view>
<view class="part-item">
<view class="item-left">
<view class="item-title">打卡获得点赞</view>
<view class="item-subtitle" wx:if="{{params[2].daily_limit !=-1}}">每日上限{{params[2].daily_limit}}次</view>
</view>
<view class="item-right">
<text class="item-point-num">+{{params[2].single}}</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
</view>
<view class="part-item">
<view class="item-left">
<view class="item-title">打卡获得评论</view>
<view class="item-subtitle" wx:if="{{params[3].daily_limit !=-1}}">每日上限{{params[3].daily_limit}}次</view>
</view>
<view class="item-right">
<text class="item-point-num">+{{params[3].single}}</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
</view>
<view class="part-item">
<view class="item-left">
<view class="item-title">打卡被转发</view>
<view class="item-subtitle" wx:if="{{params[7].daily_limit !=-1}}">每日上限{{params[7].daily_limit}}次</view>
</view>
<view class="item-right">
<text class="item-point-num">+{{params[7].single}}</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
</view>
<view class="part-item">
<view class="item-left">
<view class="item-title">打卡被围观</view>
<view class="item-subtitle" wx:if="{{params[6].daily_limit !=-1}}">每日上限{{ params[6].daily_limit}}次</view>
</view>
<view class="item-right">
<text class="item-point-num">+{{params[6].single}}</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
</view>
</view>
</view>
</view>
<view class="part-box">
<view class="part-header">
<image class="part-title-icon part-icon-hudong" src="{{localImageRoot}}2c/pointsrule/hudong.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
<text class="part-title-text">互动奖励</text>
</view>
<view class="part-content">
<view class="part-item">
<view class="item-left">
<view class="item-title">点赞同学</view>
<view class="item-subtitle">每日上限50</view>
</view>
<view class="item-right">
<text class="item-point-num">+3</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
<view class="part-box">
<view class="part-header">
<image class="part-title-icon part-icon-hudong" src="{{localImageRoot}}2c/pointsrule/hudong.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
<text class="part-title-text">互动奖励</text>
</view>
<view class="part-item">
<view class="item-left">
<view class="item-title">评论同学</view>
<view class="item-subtitle">每日上限50</view>
</view>
<view class="item-right">
<text class="item-point-num">+3</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
</view>
<view class="part-item">
<view class="item-left">
<view class="item-title">分享打卡到朋友圈</view>
<view class="item-subtitle">每日上限50</view>
</view>
<view class="item-right">
<text class="item-point-num">+3</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
<view class="part-content">
<view class="part-item">
<view class="item-left">
<view class="item-title">点赞同学</view>
<view class="item-subtitle" wx:if="{{params[5].daily_limit !=-1}}">每日上限{{params[5].daily_limit}}次</view>
</view>
<view class="item-right">
<text class="item-point-num">+{{params[5].single}}</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
</view>
<view class="part-item">
<view class="item-left">
<view class="item-title">评论同学</view>
<view class="item-subtitle" wx:if="{{params[8].daily_limit !=-1}}">每日上限{{params[8].daily_limit}}次</view>
</view>
<view class="item-right">
<text class="item-point-num">+{{params[8].single}}</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
</view>
<view class="part-item">
<view class="item-left">
<view class="item-title">分享打卡到朋友圈</view>
<view class="item-subtitle" wx:if="{{params[4].daily_limit !=-1}}">每日上限{{params[4].daily_limit}}次</view>
</view>
<view class="item-right">
<text class="item-point-num">+{{params[4].single}}</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
</view>
</view>
</view>
</view>
<view class="part-box">
<view class="part-header">
<image class="part-title-icon part-icon-evaluate" src="{{localImageRoot}}2c/pointsrule/evaluate.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
<text class="part-title-text">评论奖励</text>
</view>
<view class="part-content">
<view class="part-item">
<view class="item-left">
<view class="item-title">获得老师点评</view>
<view class="item-subtitle"></view>
</view>
<view class="item-right">
<text class="item-point-num">+3</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
<view class="part-box">
<view class="part-header">
<image class="part-title-icon part-icon-evaluate" src="{{localImageRoot}}2c/pointsrule/evaluate.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
<text class="part-title-text">评论奖励</text>
</view>
<view class="part-item">
<view class="item-left">
<view class="item-title">老师打星评分</view>
<view class="item-subtitle"></view>
</view>
<view class="item-right">
<text class="item-point-num">+3</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
<view class="part-content">
<view class="part-item">
<view class="item-left">
<view class="item-title">获得老师点评</view>
<view class="item-subtitle" wx:if="{{params[9].daily_limit !=-1}}">每日上限{{params[9].daily_limit}}次</view>
</view>
<view class="item-right">
<text class="item-point-num">+{{params[9].single}}</text>
<image class="item-point-icon" src="{{localImageRoot}}2c/pointsrule/point_icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
</view>
</view>
</view>
</view>
</view>
</view
>
<view class="rule-instr"
>
<image class="instr-bg" src="{{localImageRoot}}2c/pointsrule/rule_bg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image
>
<view class="instr-text"
>
<text>积分奖励旨在鼓励用户参与健康日常
,</text>
<text>养成爱学习习惯反对恶意刷积分行为,
</text>
<
text>打卡小管家将做冻结积分或清零处理。</text
>
<view class="rule-instr"
>
<image class="instr-bg" src="{{localImageRoot}}2c/pointsrule/rule_bg.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image
>
<view class="instr-text"
>
<text>积分奖励旨在鼓励用户参与健康日常,</text
>
<text>养成爱学习习惯反对恶意刷积分行为
,</text>
<text>打卡小管家将做冻结积分或清零处理。
</text>
<
/view
>
</view>
</view>
</block>
<block wx:else>
<empty-content text="暂未设置积分"></empty-content>
</block>
</view>
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