...
|
...
|
@@ -11,6 +11,17 @@ |
|
|
<link href="__TMPL__/public/assets/css/home-index.css" rel="stylesheet">
|
|
|
<link href="__TMPL__/public/assets/css/weui.css" rel="stylesheet">
|
|
|
<link href="__TMPL__/public/assets/css/myweui.css" rel="stylesheet">
|
|
|
<style>
|
|
|
.no-data {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
color: #CCCCCC;
|
|
|
font-size: 0.3rem;
|
|
|
}
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
|
<div class="content">
|
...
|
...
|
@@ -75,13 +86,7 @@ |
|
|
' </a>'
|
|
|
}
|
|
|
if(data.length === 0) {
|
|
|
html += '<div class="no-data" style="width: 100%;\n' +
|
|
|
' height: 100%;\n' +
|
|
|
' display: flex;\n' +
|
|
|
' align-items: center;\n' +
|
|
|
' justify-content: center;\n' +
|
|
|
' color: #CCCCCC;\n' +
|
|
|
' font-size: 0.3rem;">暂无数据</div>'
|
|
|
html += '<div class="no-data" style="">暂无数据</div>'
|
|
|
}
|
|
|
$(".section").html(html);
|
|
|
}
|
...
|
...
|
|