#
luxiaotao1123
2021-04-07 f0cafdfe0ed4d111d5f71e414e4985e26190d974
#
1个文件已修改
17 ■■■■ 已修改文件
src/main/webapp/views/pda/selectMat.html 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pda/selectMat.html
@@ -20,15 +20,14 @@
            background-color: #f1f1f1;
            padding: 5px;
            position: relative;
            /*overflow: hidden;*/
        }
        /*header {*/
        /*    position: absolute;*/
        /*}*/
        /*main {*/
        /*    padding-top: 30px;*/
        /*}*/
        main {
            padding-bottom: 5px;
        }
        /* 头部搜索栏 */
        .search-box {
@@ -175,6 +174,7 @@
                        var template = Handlebars.compile(tpl);
                        var html = template(res);
                        $('#main-contain').html(html);
                        toTop();
                    } else {
                        var tagId = parentId;
                        showMat(tagId);
@@ -208,6 +208,7 @@
                        var template = Handlebars.compile(tpl);
                        var html = template(res);
                        $('#main-contain').html(html);
                        toTop();
                    } else {
                        $('#main-contain').html('<div style="text-align: center; margin-top: 15px"><span style="font-size: large">暂无商品</span></div>');
                    }
@@ -220,6 +221,14 @@
        })
    }
    function toTop() {
        window.scrollTo({
            left: 0,
            top: 0,
            behavior: 'smooth'
        })
    }
</script>
<script type="text/template" id="tagTpl">