fangyuan.html 11.7 KB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>房源</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/base.css">
    <script type="text/javascript" src="js/base.js"></script>
</head>
<body>

<!--区域选择框-->
<div class="register" style="display:none">
    <div class="diquwrap" style="display:none">
        <div class="diwrapbox">
            <div class="diwrapleft">
                <div class="diwraplefttop">不限</div>
                <div class="diwrapleftbox">
                    <div class="dileftboxitem">东城区</div>
                    <div class="dileftboxitem">西城区</div>
                    <div class="dileftboxitem">朝阳区</div>
                </div>
            </div>

            <div class="diwrapright">
                <div class="diwraplefttop">不限</div>
                <div class="diwrapleftbox">
                    <div class="dileftboxitem">安定门</div>
                    <div class="dileftboxitem">安贞</div>
                    <div class="dileftboxitem">朝阳门内</div>
                </div>
            </div>
        </div>

        <div class="queren">确认</div>

    </div>

    <!-- 价格区间-->
    <div class="jiagewrap" style="display:none">
        <div class="jiagename">价格区间</div>
        <div class="jiagequ">
            <div class="jiagequleft">
                <input type="text" placeholder="2000">
            </div>
            <div class="zhi"></div>
            <div class="jiagequright">
                <input type="text" placeholder="3000">
            </div>
        </div>

        <div class="queren">确认</div>
    </div>

    <div class="jiagewrap">
        <div class="jiagename">面积区间</div>
        <div class="jiagequ">
            <div class="jiagequleft">
                <input type="text" placeholder="最小面积">
            </div>
            <div class="zhi"></div>
            <div class="jiagequright">
                <input type="text" placeholder="最大面积">
            </div>
        </div>

        <div class="queren">确认</div>
    </div>



</div>
<div class="fanghead">
    <div class="fangheadleft">
        <div class="ershouname">二手房</div>
        <div class="fangheadleftimg">
            <img src="img/sun_30.png" alt="">
        </div>
    </div>
    <div class="fangheadmiddle">
        <div class="fangheadname">
            <img src="img/search.png" alt="">
        </div>
        <div class="souinput">
            <input type="text" placeholder="请输入小区/商圈名称" aria-placeholder="entersearch"/>
        </div>


    </div>

    <div class="fangheadright">
        <div class="xiaoxiimg">
            <img src="img/xiaoxi.png" alt="">
        </div>
        <div class="xiaoxiname">
            消息

            <div class="xiaoxiyuan">5</div>
        </div>

    </div>
</div>

<div class="fangyuantou">
    <div class="fangyuantouitem fangtouactive">
        <div class="fangyuantouleft">区域</div>
<!--        <div class="fangyuantourimg">-->
<!--            <img src="img/sun_31.png" alt="">-->
<!--        </div>-->

        <div class="fangyuantourimg">
            <img src="img/sun_30.png" alt="">
        </div>
    </div>
    <div class="fangyuantouitem">
        <div class="fangyuantouleft">价格</div>
        <div class="fangyuantourimg">
            <img src="img/sun_31.png" alt="">
        </div>
    </div>
    <div class="fangyuantouitem">
        <div class="fangyuantouleft">面积</div>
        <div class="fangyuantourimg">
            <img src="img/sun_31.png" alt="">
        </div>
    </div>
</div>

<div class="fangyuanboxlist" style="display:none">
    <div class="fangwubox">
        <div class="fangwuboxitem">
            <div class="fangwuboxitemleft">
                <img src="img/house.png" alt="">
            </div>
            <div class="fangwuitemright">
                <div class="fangitemritop">
                    <div class="fangitemtopleft">热门</div>
                    <div class="fangitemtoprightname">首创路程西府海棠</div>
                </div>
                <div class="room">
                    <div class="roomleft">三室两厅</div>
                    <div class="pingfang">120㎡</div>
                </div>
                <div class="kaojin">
                    <div class="kaojinleft">品牌房企</div>
                    <div class="kaojinright">临近地铁</div>
                </div>

                <div class="moneyyue">8000元/月</div>
            </div>
        </div>
        <div class="fangwuboxitem">
            <div class="fangwuboxitemleft">
                <img src="img/house.png" alt="">
            </div>
            <div class="fangwuitemright">
                <div class="fangitemritop">
                    <div class="fangitemtopleft1">新上</div>
                    <div class="fangitemtoprightname">首创路程西府海棠</div>
                </div>
                <div class="room">
                    <div class="roomleft">三室两厅</div>
                    <div class="pingfang">120㎡</div>
                </div>
                <div class="kaojin">
                    <div class="kaojinleft">品牌房企</div>
                    <div class="kaojinright">临近地铁</div>
                </div>

                <div class="moneyyue">8000元/月</div>
            </div>
        </div>
        <div class="fangwuboxitem">
            <div class="fangwuboxitemleft">
                <img src="img/house.png" alt="">
            </div>
            <div class="fangwuitemright">
                <div class="fangitemritop">
                    <div class="fangitemtopleft">热门</div>
                    <div class="fangitemtoprightname">首创路程西府海棠</div>
                </div>
                <div class="room">
                    <div class="roomleft">三室两厅</div>
                    <div class="pingfang">120㎡</div>
                </div>
                <div class="kaojin">
                    <div class="kaojinleft">品牌房企</div>
                    <div class="kaojinright">临近地铁</div>
                </div>

                <div class="moneyyue">8000元/月</div>
            </div>
        </div>
        <div class="fangwuboxitem">
            <div class="fangwuboxitemleft">
                <img src="img/house.png" alt="">
            </div>
            <div class="fangwuitemright">
                <div class="fangitemritop">
                    <div class="fangitemtopleft">热门</div>
                    <div class="fangitemtoprightname">首创路程西府海棠</div>
                </div>
                <div class="room">
                    <div class="roomleft">三室两厅</div>
                    <div class="pingfang">120㎡</div>
                </div>
                <div class="kaojin">
                    <div class="kaojinleft">品牌房企</div>
                    <div class="kaojinright">临近地铁</div>
                </div>

                <div class="moneyyue">8000元/月</div>
            </div>
        </div>
    </div>

</div>

<!--求租-->
<div class="qiuzu" style="display:none">
    <div class="qiuzuitem">
        <div class="qiuzuitemtop">求租的标题</div>
        <div class="qiuzutext">期望区域:昌平</div>
        <div class="qiuzutext">求租预算:5000-8000元/月</div>
        <div class="qiuzubottom">
            <div class="qiuzutext1">求租面积:50 - 120㎡</div>
            <div class="qiuzudate">更新日期:2019-7-12</div>
        </div>

    </div>
    <div class="qiuzuitem">
        <div class="qiuzuitemtop">求租的标题</div>
        <div class="qiuzutext">期望区域:昌平</div>
        <div class="qiuzutext">求租预算:5000-8000元/月</div>
        <div class="qiuzubottom">
            <div class="qiuzutext1">求租面积:50 - 120㎡</div>
            <div class="qiuzudate">更新日期:2019-7-12</div>
        </div>

    </div>
    <div class="qiuzuitem">
        <div class="qiuzuitemtop">求租的标题</div>
        <div class="qiuzutext">期望区域:昌平</div>
        <div class="qiuzutext">求租预算:5000-8000元/月</div>
        <div class="qiuzubottom">
            <div class="qiuzutext1">求租面积:50 - 120㎡</div>
            <div class="qiuzudate">更新日期:2019-7-12</div>
        </div>

    </div>
    <div class="qiuzuitem">
        <div class="qiuzuitemtop">求租的标题</div>
        <div class="qiuzutext">期望区域:昌平</div>
        <div class="qiuzutext">求租预算:5000-8000元/月</div>
        <div class="qiuzubottom">
            <div class="qiuzutext1">求租面积:50 - 120㎡</div>
            <div class="qiuzudate">更新日期:2019-7-12</div>
        </div>

    </div>

</div>

<!--求购-->
<div class="qiuzu" style="display:none">
    <div class="qiuzuitem">
        <div class="qiuzuitemtop">求购的标题</div>
        <div class="qiuzutext">期望区域:昌平</div>
        <div class="qiuzutext">求租预算:5000-8000元/月</div>
        <div class="qiuzubottom">
            <div class="qiuzutext1">求租面积:50 - 120㎡</div>
            <div class="qiuzudate">更新日期:2019-7-12</div>
        </div>

    </div>
    <div class="qiuzuitem">
        <div class="qiuzuitemtop">求购的标题</div>
        <div class="qiuzutext">期望区域:昌平</div>
        <div class="qiuzutext">求租预算:5000-8000元/月</div>
        <div class="qiuzubottom">
            <div class="qiuzutext1">求租面积:50 - 120㎡</div>
            <div class="qiuzudate">更新日期:2019-7-12</div>
        </div>

    </div>
    <div class="qiuzuitem">
        <div class="qiuzuitemtop">求购的标题</div>
        <div class="qiuzutext">期望区域:昌平</div>
        <div class="qiuzutext">求租预算:5000-8000元/月</div>
        <div class="qiuzubottom">
            <div class="qiuzutext1">求租面积:50 - 120㎡</div>
            <div class="qiuzudate">更新日期:2019-7-12</div>
        </div>

    </div>
    <div class="qiuzuitem">
        <div class="qiuzuitemtop">求购的标题</div>
        <div class="qiuzutext">期望区域:昌平</div>
        <div class="qiuzutext">求租预算:5000-8000元/月</div>
        <div class="qiuzubottom">
            <div class="qiuzutext1">求租面积:50 - 120㎡</div>
            <div class="qiuzudate">更新日期:2019-7-12</div>
        </div>

    </div>

</div>

<div class="foot">
    <div class="footitem">
        <div class="footitemtop">
            <img src="img/sun_09.png" alt="">
        </div>
        <div class="itembottom">首页</div>
    </div>
    <div class="footitem">
        <div class="footitemtop">
            <img src="img/sun_10.png" alt="">
        </div>
        <div class="itembottom1">房源</div>
    </div>
    <div class="footitem">
        <div class="footitemtop">
            <img src="img/sun_07.png" alt="">
        </div>
        <div class="itembottom">发布房源</div>
    </div>
    <div class="footitem">
        <div class="footitemtop">
            <img src="img/sun_08.png" alt="">
        </div>
        <div class="itembottom">我的</div>
    </div>

</div>



</body>
<script type="text/javascript" src="js/jquery-2.1.4.js"></script>

<script>
    $(".fangyuantouitem").click(function(){
        $(this).addClass("fangtouactive").siblings(".fangyuantouitem").removeClass("fangtouactive");
        $(this).children(".fangyuantourimg").children("img").attr("src","img/sun_30.png");
        $(this).siblings(".fangyuantouitem").children(".fangyuantourimg").children("img").attr("src","img/sun_31.png")
    })
</script>

</html>