This commit is contained in:
贤心
2022-06-21 00:02:39 +08:00
parent 8033abc420
commit 7076f801f7
7 changed files with 11 additions and 15 deletions

View File

@@ -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

View File

@@ -1,7 +1,7 @@
{
"status": 200
,"message": ""
,"total": 3000000
,"total": 333333
,"data": {
"list": [{
"id": "10001"

View File

@@ -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"