cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!doctype html>
<html>
<head>
[#include "/business/wechat/include/title.html" /]
[#include "/business/wechat/include/wheader.html" /]
</head>
 
<body>
 
<header class="kltit">
    <a href="javascript:history.go(-1);"><span></span></a>配置二三级分类
</header>
<div class="swiper-container">
    <div class="swiper-wrapper">
        <div class="swiper-slide kltypebg">
            <section>
                [#if cateList?? && cateList?size>0]
                        <section class="tasktype">
                            <a class="firstCate"><p>
                                <label>[#if cateList[0].bid=='']0[#else]${cateList[0].num}[/#if]个</label><span class="tpye1"></span>${cateList[0].NAME}
                            </p></a>
                            <div class="secondCate">
                                [#if cateList?? && cateList?size>1]
                                    [#list cateList as lv3]
                                    [#if lv3.lv==3]
                                        <a href="${base}/ewyw/ewconfig/econfigList.html?lv3_id=${lv3.id}"><p class="tasksubtype"><em></em><label>[#if lv3.bid=='']0[#else]${lv3.num}[/#if]个</label>${lv3.name}</p></a>
                                    [/#if]
                                    [/#list]
                                [/#if]
                            </div>    
                        </section>
                [/#if]
            </section>
        </div>
    </div>
</div>
 
<script type="text/javascript">
$(function() {
    $("a.firstCate").click(function() {
        var $secondCate = $(this).parent().find("div.secondCate");
        $secondCate.animate({height:'toggle'});
    });
})
</script>                        
</body>
</html>