update
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
,"msg": ""
|
||||
,"count": 3000000
|
||||
,"totalRow": {
|
||||
"experience": "666"
|
||||
"experience": "777"
|
||||
}
|
||||
,"data": [{
|
||||
"id": "10001"
|
||||
@@ -34,7 +34,7 @@
|
||||
,"email": "test3@email.com"
|
||||
,"sex": "男"
|
||||
,"city": "浙江杭州"
|
||||
,"sign": "人生恰似一场修行"
|
||||
,"sign": "人生恰似一场修行<br>1<br>1<br>1<br>1<br>1<br>1"
|
||||
,"experience": 8
|
||||
,"ip": "192.168.0.8"
|
||||
,"logins": null
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"status": 200
|
||||
,"message": ""
|
||||
,"total": 3000000
|
||||
,"total": 333333
|
||||
,"data": {
|
||||
"list": [{
|
||||
"id": "10001"
|
||||
|
||||
@@ -182,7 +182,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<script src="../src/layui.js" src1="//www.layuicdn.com/layui-v2.0.1/layui.js" charset="utf-8"></script>
|
||||
<script src="../src/layui.js" src1="https://cdn.staticfile.org/layui/2.6.13/layui.js"></script>
|
||||
<script>
|
||||
layui.use(['table', 'dropdown'], function(){
|
||||
var table = layui.table
|
||||
@@ -303,7 +303,7 @@ layui.use(['table', 'dropdown'], function(){
|
||||
,{field: 'sex', title: '性别', width: 80}
|
||||
,{field: 'city', title: '城市', width: 100}
|
||||
// ,{field: 'experience', title: '积分', width: 80, sort: true}
|
||||
,{field: 'experience', title: '积分', width: 80, sort: true, totalRow: true, totalRowDecimalScale: 20}
|
||||
,{field: 'experience', title: '积分', width: 80, sort: true, totalRow: true, totalRowDecimals: 3}
|
||||
]]
|
||||
,data: [{
|
||||
"id": "10001"
|
||||
|
||||
Reference in New Issue
Block a user