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
dbd2dba8
Commit
dbd2dba8
authored
Dec 30, 2020
by
王陶政
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'b-feat-qx' into 'master'
feat 积分规则增加配置项 See merge request
!3
parents
995bf192
03e7a43c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
5 deletions
+31
-5
.gitignore
.gitignore
+2
-1
index.js
business/pages/scorerulesetting/index.js
+5
-0
index.wxml
business/pages/scorerulesetting/index.wxml
+20
-0
constants.js
constants/constants.js
+4
-4
No files found.
.gitignore
View file @
dbd2dba8
project.config.json
local
.history
node_modules
\ No newline at end of file
node_modules
miniprogram_npm
\ No newline at end of file
business/pages/scorerulesetting/index.js
View file @
dbd2dba8
...
...
@@ -59,6 +59,11 @@ Page({
single
:
0
,
daily_limit
:
2
,
isUnlimit
:
0
,
// 0 不是无限 1 无限
},
'10'
:
{
// 被点评
single
:
0
,
daily_limit
:
2
,
isUnlimit
:
0
,
// 0 不是无限 1 无限
}
},
addOrUpdate
:
'add'
,
...
...
business/pages/scorerulesetting/index.wxml
View file @
dbd2dba8
...
...
@@ -179,6 +179,26 @@
</view>
</view>
</view>
<view class="setting-item">
<view class="itemtop">
<view class="itemtitle" >课后点评 </view>
<view class="scoreinputbox" >
<text class="" selectable="false" space="false" decode="false">获得</text>
<input class="scoreinput" type="number" value="{{params[10].single}}" data-type="10" bindinput="singleInput"/>
<text class="" selectable="false" space="false" decode="false">积分</text>
</view>
</view>
<view class="itemmiddle" >课后做出点评时送积分</view>
<view class="itembottom" >
<view class="itemtitle" >每日最高次数</view>
<view class="countinputbox" >
<input class="countinput {{params[10].isUnlimit == 0 ? 'active' : ''}}" type="number" value="{{params[10].daily_limit}}" data-type="10" bindinput="dailyLimitInput" bindfocus="inputfocus"/>
<text class="counttext {{params[10].isUnlimit == 0 ? 'active' : ''}}" selectable="false" space="false" decode="false">次</text>
<text class="divide" selectable="false" space="false" decode="false">/</text>
<view class="unlimit {{params[10].isUnlimit == 0 ? '' : 'active'}}" data-type="10" bindtap="selectUnLimit">不限</view>
</view>
</view>
</view>
<view class="submitbtn-box">
<view class="submitbtn" bindtap="submit">保存</view>
</view>
...
...
constants/constants.js
View file @
dbd2dba8
export
default
{
imageRoot
:
'https://cdn.img.shangjiadao.cn/qingxiao/dakav2/images/'
,
host
:
'https://qxapi.qingxiao.online/daka'
,
host2
:
'https://wx.m.shangjiadao.cn'
,
//
host: 'https://qxapi.qingxiao.online/daka',
//
host2: 'https://wx.m.shangjiadao.cn',
storageVersion
:
'5.0'
,
imageVersion
:
'20200528'
,
//
host: 'https://clock.wp53.cn',
//
host2: 'https://test.wp53.cn',
host
:
'https://clock.wp53.cn'
,
host2
:
'https://test.wp53.cn'
,
appId
:
'wxc1246ea029394785'
,
miniProgram
:
{
clock
:
'wxdeee20e52a1fd7ee'
...
...
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