取消上传成绩表格成功提示和增加统计成绩动画

This commit is contained in:
win10 committed 2020-01-09 13:26:36 +08:00
1 parent 240ebc6883
commit 8c4b557cc2
5 files changed
+15 -5

No files matched your search

+2 -2
View File
@@ -35,10 +35,10 @@ layui.use('upload', function(){
elem: '#upload' //绑定元素
,url: "/renshi/teacher/upload" //上传接口
,done: function(res){
if(res.val == 1){
if(res.val != 1){
$('#url').val(res.url);
}
layer.msg(res.msg);
// layer.msg(res.msg);
}
,data: {
category: '1011103'
+12 -1
View File
@@ -14,6 +14,10 @@
{load href="__XADMIN__/js/cookie.js" /}
{load href="__XADMIN__/js/md5.min.js" /}
{block name="jsset"}{/block}
<style>
.point{position:absolute;left:50%; top:50%;}
.pop{width:500px; height:500px; position:absolute;left:-250px; top:-250px; border:2px solid red; }
</style>
<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
@@ -133,7 +137,7 @@
<div class="layui-container"></div>
</div>
</div>
</div>
</div>
</body>
<script>
@@ -155,9 +159,16 @@
$.ajax({
url:url,
type:'POST',
async: true,
data:{
kaoshi:"{$kaoshiid}"
},
beforeSend: function () {
$("body").append('<div id="load" style="position:fixed;top:30%;z-index:1200;background:url(__XADMIN__/images/timg.gif) top center no-repeat;width:100%;height:140px;margin:auto auto;"></div>');
},
complete: function () {
$("#load").remove();
},
success:function(result){
layer.msg(result.msg);
},
-1
View File
@@ -41,7 +41,6 @@
<h3 class="layui-timeline-title">2020-01-09</h3>
<p>
将成绩统计实时方式修改成手动统计,提升成绩汇总表查看速度。
</p>
</div>
</li>
Loaded 3 of 5 files, more files were not shown because too many files have changed in this diff. Show more