63.html+css+js网页设计实例/“商城”主题水果商城介绍/web前端期末大作业/-程序员宅基地

技术标签: Web网页设计实例  html5  前端  bootstrap  课程设计  css3  javascript  jquery  

一、前言  

本实例以水果商城为主题设计,响应式网页,应用html+css+js,包括DIV、图片轮翻效果、留言表单、购物车等,供大家参考。html+css+js网页开发,大学生网页课程设计、期末大作业、毕业设计,网页模板,2000+网页成品源代码,优质文章,关注作者获取更多源码,点赞收藏博文,您的支持是我创作的动力!3Q!


二、网页文件


 三、网页效果

以下为网页正文(节选示例):

 

 

 


四、代码展示

1.HTML

代码如下(节选示例):

<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>果然新鲜</title>
    <link href="css/index.css"rel="stylesheet">
    <link href="css/share.css"rel="stylesheet">
    <script src="js/jquery-1.12.3.js"></script>
    </script><script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>
</head>
<body>
<!--顶部导航-->
<div class="headr">
    <div class="heard-con">
        <img src="images/logo.jpg" style="margin-top: 7px;float: left;position: absolute">
        <div class="headr-nav">
            <ul>
                <li><a href="index.html"style="color: #4AB344"><span style="color: #4AB344">首页</span></a> </li>
                <li><a href="hot.html">蔬果热卖</a> </li>
                <li><a href="produ.html">全部产品</a> </li>
                <li><a href="consult.html">最新资讯</a></li>
                <li><a href="touch.html">联系我们</a> </li>
            </ul>
            <div class="sptopfoot">
                <div class="spbottom"  >
                </div>
            </div>
        </div>
        <div class="headr-right">
            <i class="iconfont" style="font-size: 16px;margin-right: 10px">&#xe7d5;</i>
            我的购物车 ∨
            <div class="hr-car">
                <i class="iconfont"style="font-size: 40px;margin-right: 10px">&#xe633;</i>
                您的购物车内暂时没有任何产品。
            </div>
        </div>
    </div>
</div>
<!--顶部导航结束-->
<!--banner图片-->
<div class="her-banner">

</div>
<!--banner图片结束-->
<!--主页内容-->
<div class="content">
    <div class="ban-boot clear">
        <div class="ban-zs">
            <img src="images/ban-1.jpg" width="100%">
        </div>
        <div class="ban-zs">
            <img src="images/ban-2.jpg" width="100%">
        </div>
        <div class="ban-zs">
            <img src="images/ban-3.jpg" width="100%">
        </div>
    </div>
    <!--果园推荐开始-->
    <div class="recommand clear">
        <div class="rec-nav clear">
            <h2>果园推荐 <span>RECOMMAND</span></h2>
        </div>
        <div class="rec-cont clear">
            <div class="rec-left">
                <img src="images/rc-1.jpg">
            </div>

            <div class="rec-right">

                <div class="rcr">
                    <div class="rcr-top">
                        <img src="images/rc-2.jpg" width="100%">
                    </div>
                    <div class="rcr-bot">
                        <div class="rb-top">
                            南非进口黄柠檬 6个装
                        </div>
                            <div class="second_P">
                                <span class="fk-prop">¥</span>
                                <span class="fk-prop-price">29
                                    <span class="fk-prop-p">.00</span>
                                </span>
                                <span class="second_Marketprice">¥0.00</span>
                            </div>
                        <div class="buy">
                            <a class="second_mallBuy" href="orange.html">
                                <span style="color: white;">购买</span>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="rcr">
                    <div class="rcr-top">
                        <img src="images/rc-3.jpg" width="100%">
                    </div>
                    <div class="rcr-bot">
                        <div class="rb-top">
                            智利进口新鲜蓝莓 4盒
                        </div>
                        <div class="second_P">
                            <span class="fk-prop">¥</span>
                                <span class="fk-prop-price">99
                                    <span class="fk-prop-p">.00</span>
                                </span>
                            <span class="second_Marketprice">¥0.00</span>
                        </div>
                        <div class="buy">
                            <a class="second_mallBuy">
                                <span style="color: white;">购买</span>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="rcr">
                    <div class="rcr-top">
                        <img src="images/rc-4.jpg" width="100%">
                    </div>
                    <div class="rcr-bot">
                        <div class="rb-top">
                            美国进口红啤梨 6个
                        </div>
                        <div class="second_P">
                            <span class="fk-prop">¥</span>
                                <span class="fk-prop-price">48
                                    <span class="fk-prop-p">.00</span>
                                </span>
                            <span class="second_Marketprice">¥0.00</span>
                        </div>
                        <div class="buy">
                            <a class="second_mallBuy">
                                <span style="color: white;">购买</span>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="rcr">
                    <div class="rcr-top">
                        <img src="images/rc-5.jpg" width="100%">
                    </div>
                    <div class="rcr-bot">
                        <div class="rb-top">
                            美国进口无籽红提 1kg
                        </div>
                        <div class="second_P">
                            <span class="fk-prop">¥</span>
                                <span class="fk-prop-price">39
                                    <span class="fk-prop-p">.00</span>
                                </span>
                            <span class="second_Marketprice">¥0.00</span>
                        </div>
                        <div class="buy">
                            <a class="second_mallBuy">
                                <span style="color: white;">购买</span>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="rcr">
                    <div class="rcr-top">
                        <img src="images/rc-6.jpg" width="100%">
                    </div>
                    <div class="rcr-bot">
                        <div class="rb-top">
                            国产绿奇异果 16颗
                        </div>
                        <div class="second_P">
                            <span class="fk-prop">¥</span>
                                <span class="fk-prop-price">49
                                    <span class="fk-prop-p">.00</span>
                                </span>
                            <span class="second_Marketprice">¥0.00</span>
                        </div>
                        <div class="buy">
                            <a class="second_mallBuy">
                                <span style="color: white;">购买</span>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="rcr">
                    <div class="rcr-top">
                        <img src="images/rc-2.jpg" width="100%">
                    </div>
                    <div class="rcr-bot">
                        <div class="rb-top">
                            浙江涌泉蜜桔无核桔子5斤
                        </div>
                        <div class="second_P">
                            <span class="fk-prop">¥</span>
                                <span class="fk-prop-price">39
                                    <span class="fk-prop-p">.00</span>
                                </span>
                            <span class="second_Marketprice">¥0.00</span>
                        </div>
                        <div class="buy">
                            <a class="second_mallBuy">
                                <span style="color: white;">购买</span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>


        </div>
    </div>

    <!--果园推荐结束-->
</div>
<!--每日新品特卖-->
    <div class="rec-bottom clear">
        <div class="rbt-con">
                <div class="banner_1">
                    <img src="images/rb-1.jpg"width="1424px">
                    <img src="images/rb-2.jpg"width="1424px">
                </div>
        </div>
                <ul class="banner-bottom">

                </ul>
    </div>
<div class="content">
    <div class="new-nav clear">
        <div class="nwn-con">
            <div style="text-align: center;">
                <span style="">
                    <span style="font-size: 31px;">
                        <font style="color: rgb(33, 33, 33);" color="#212121">
                        <font style="color: rgb(231, 231, 231);" color="#e7e7e7">
                            ———————
                        </font>
                            <b>&nbsp; 每日新品特卖 &nbsp;</b>
                        </font></span></span>
                <span style="font-size: 31px;">
                <font style="color: rgb(231, 231, 231);" color="#e7e7e7">
                    ———————
                </font>
            </span>
            </div>
       <div style="text-align: center;">
                <font color="#353535" style="">
                    <span style="font-size: 16px;">
                            <font style= color:#888888>
                                新鲜水果每一天,健康生活每一刻
                            </font>
                    </span>
                </font></div>

        </div>


    </div>
    <div class="new-con clear">
        <div class="nec-lift">
            <div class="fk-editor simpleText  ">
                <font color="#4b4b4b">
                    <span style="">
                        <span style="line-height: 29px;">
                            <span style="color: rgb(75, 75, 75); font-size: 16px;">
                                有机生鲜
                            </span>
                            <div style="color: rgb(75, 75, 75);">
                                <span style="font-size: 20px;">
                                    天然无污染水果
                                </span>
                            </div>
                        </span>
                    </span>
                    <div style="color: rgb(75, 75, 75);">
                        <span style="font-size: 20px;">
                            <br>
                        </span>
                    </div>
                    <div>
                        <font style="color: rgb(243, 151, 0);" color="#f39700">
                    <b>
                        <span style="font-size: 42px;">6.8</span>
                    </b><span style="font-size: 42px;">
                    <b>折</b>
                    <span style="font-size: 18px;">
                        <font style="color: rgb(53, 53, 53);" color="#353535">起</font>
                    </span></span></font></div>
                </font>
            </div>
            <div class="xiqing">
                <a  href="/col.jsp?id=105"style="color: white">查看详情 &gt;</a>
            </div>
        </div>
        <div class="nec-right">
            <img src="images/nw-1.jpg">

        </div>

    </div>
    <div class="new-bottom clear">
        <div class="nw-b">
            <img src="images/nw-2.jpg">
        </div>
        <div class="nw-b">
            <img src="images/nw-3.jpg">
        </div>
        <div class="nw-b">
            <img src="images/nw-4.jpg">
        </div>
        <div class="nw-b" style="margin:0">
            <img src="images/nw-5.jpg">
        </div>
    </div>
    <!--每日新品特卖结束-->
    <!--蔬果资讯-->
    <div class="fruits">
        <div class="fru-nav">
            <div class="fk-editorb ">
                <font style="color: rgb(103, 141, 30);" color="#678d1e">蔬果资讯</font>
            </div>
            <font style="color: rgb(53, 53, 53);float: right" color="#353535">更多资讯</font>
        </div>
        <div class="fru-lift">
            <div class="frl-nav">
                <ul>
                    <li>品种</li>
                    <li>地区</li>
                    <li>价格</li>
                  <span>时间</span>
                </ul>
            </div>
            <div class="txtMarquee-top">
                <div class="bd">
                    <ul class="infoList">

                        <li><p>苹果</p>
                            <p>河南省济源市</p>
                            <p >5.5/kg</p>
                            04-09
                        </li>
                        <li><p> 西瓜</p>
                            <p>    内蒙古鄂尔多斯</p>
                            <p >10/kg</p>
                            04-09
                        </li>
                        <li><p>葡萄</p>
                            <p>新疆乌鲁木齐</p>
                            <p >19/kg</p>
                            04-09
                        </li>
                        <li><p>车厘子</p><p>河南省郑州市</p><p>    58.5/kg</p> 04-09</li>
                        <li><p>菜心    </p><p>河南省新乡市</p><p>    5.5/kg</p>    04-09</li>
                        <li><p>西兰花</p>    <p>河南省信阳市</p><p>    3.5/kg</p>    04-09</li>
                        <li><p>苹果    </p><p>河南省济源市</p><p>    5.5/kg    </p>04-09</li>
                        <li><p>西瓜    </p><p>内蒙古鄂尔多斯</p><p>10/kg</p>    04-09</li>
                        <li><p>葡萄    </p><p>新疆乌鲁木齐    </p><p>19/kg</p>    04-09</li>
                        <li><p>菜心    </p><p>河南省新乡市</p><p>    5.5/kg    </p>04-09</li>
                        <li><p>西兰花</p><p>    河南省信阳市</p><p>    3.5/kg    </p>04-09</li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="fru-right">
            <div id="slideBox" class="slideBox">
                <div class="hd">
                    <!--<ul><li>蜜橘首发</li>-->
                        <!--<li>智利车厘子</li>-->
                        <!--<li>进口青苹果</li>-->
                    <!--</ul>-->
                    <ul><li>1</li><li>2</li><li>3</li></ul>
                </div>
                <div class="bd">
                    <ul>
                        <li><a href="#" target="_blank"><img src="images/fr-1.jpg" /></a></li>
                        <li><a href="#" target="_blank"><img src="images/fr-2.jpg" /></a></li>
                        <li><a href="#" target="_blank"><img src="images/fr-3.jpg" /></a></li>
                    </ul>
                </div>

            </div>

        </div>
    </div>
    <!--蔬果资讯结束-->
</div>
<!--主页内容结束-->
<!--底部-->
<div class="footer">
    <div class="ft-con">
        <div class="ft-top">
            <img src="images/fot-1.jpg">
        </div>
        <div class="ft-bo">
            <div class="ft-b">
                <h3>服务保障</h3>
                <p>正品保证</p>
                <p>7天无理由退换</p>
                <p>退货返运费</p>
                <p>7X15小时客户服务</p>

            </div>
            <div class="ft-b">
                <h3>支付方式</h3>
                <p>公司转账</p>
                <p>货到付款</p>
                <p>在线支付</p>
                <p>分期付款</p>

            </div>
            <div class="ft-b">
                <h3>商家服务</h3>
                <p>商家入驻</p>
                <p>培训中心</p>
                <p>广告服务</p>
                <p>服务市场</p>

            </div>
            <div class="ft-b">
                <h3>服务保障</h3>
                <p>免运费</p>
                <p>海外配送</p>
                <p>EMS</p>
                <p>211限时达</p>

            </div>

        </div>
        <div class="banq">
            <p>2016 果然新鲜 版权所有</p>
            <p>手机版 | 本站使用<span><img src="images/ft.jpg"></span>凡科建站搭建 | 管理登录</p>
        </div>

    </div>

</div>
</body>
<script src="js/index.js"></script>
</html>

......

2.CSS

代码如下(节选示例):

.headr{
    width: 100%;
    height: 107px;
}
.heard-con{
    position: relative;
    width: 1200px;
    margin: 0 auto;
    height: 107px;

}
.headr-nav{
    float: left;
    position: absolute;
    width: 600px;
    height: 107px;
    left: 25%;

}
.headr-nav li{
    float: left;
    width: 90px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    margin-left: 20px;
    font-size: 16px;
    margin-top: 25px;
}
.headr-nav li a{
    color: #222222;
}
.sptopfoot {
    clear: both;
    background:#ffffff;
    height: 2px;
    position: relative;
}
.spbottom {
    background:#4AB344;
    height: 2px;
    width:90px;
    position: absolute;
    top: 0;
    left: 350px;
    overflow: hidden;
    transition: all 1s;
}
.headr-right{
    position: relative;
    float: right;
    width: 154px;
    height:42px;
    margin-top: 30px;
    text-align: center;
    line-height: 42px;
    overflow: hidden;
    border: 1px solid #E6E6E6;

}
.hr-car{
    position: absolute;
    width: 300px;
    height: 140px;
    right:-1px;
    line-height: 140px;
    background-color: white;
    color: #c6c6c6;
    border: 1px solid #E6E6E6;
}
/*顶部导航结束*/
.her-banner{
    width: 100%;
    height: 380px;
    overflow: hidden;
    margin: 0px auto;
    background-image:url("../images/hban.jpg");
    background-position: 50% 50%;
    background-repeat: no-repeat no-repeat;
}
/*最新资讯*/
.content{
    position: relative;
    width: 1200px;
    margin: 0 auto;
}
.recommand{
    float: left;
    height: 1250px;
    width: 100%;
}
.rec-cont{
    float: left;
    width:100%;

}
.rec-left{
    float: left;
    width: 220px;
    margin-top: 20px;
}
.classily{
    width: 209px;
    height: 199px;
    border: 1px #DADADA solid;
}
.cltop{
    width: 100%;
    height: 45px;
    background: #5FAD01;
    line-height: 45px;
    font-size: 16px;
    color: white;
}
.cltop p{
    padding-left: 10px;
}
.cltcon{
    width: 188px;
    height:143px;
    margin:0 auto;
    margin-top: 5px;
}
.cltcon p{
    line-height: 47px;
    height: 47px;
    width: 100%;;
    border-bottom:1px dashed #999999;
}
.cltcon p a {
    color: #222222;
}
.service{
    margin-top: 10px;
    width: 209px;
    height: 210px;
    border: 1px #DADADA solid;
}
.sercon{
    width: 188px;
    height:170px;
    margin:0 auto;
    margin-top: 5px;
}
.qqs{
    width: 100%;
    height: 55px;
    border-bottom:1px dashed #999999;
}
.qqs p{
    margin-top: 5px;
}
.serOnline-img0 {
    width: 21px;
    height: 21px;
    display: inline-block;
    margin-right: 8px;
    background: url(../images/qq.gif) no-repeat;
}
.marBL-10 {
    margin: 5px 0 5px 0;
    line-height: 32px;
    font-size: 15px;
    color: #666;
}
.worktime-header-img {
    width: 27px;
    height: 27px;
    display: inline-block;
    background: url(../images/serviceOnlineTime1.png) no-repeat;
}
.serOnline-list-v {
    margin: 0 0 7px 5px;
    _margin: 0 0 7px 3px;
    color: #666;
}


.rec-right{
    float: left;
    width:970px;
    height:1250px;
    margin-left: 10px;
    overflow: hidden;

}
.rec-cot{
    float: left;
    width: 100%;
    height: 160px;
    border-bottom:1px dashed #999999;
    margin-top: 10px;
}
.rgl-cont{
    margin-top: 20px;
    float: left;
    width: 84px;
    height: 84px;
    text-align: center;
    background: #F2F2F2;
}
.rgl-cont p{
    margin-top: 20px;
    font-size: 22px;
}
.rgl-cont span{
    font-size: 12px;
}
.rgr-cont{
    margin-top: 20px;
    float: left;
    width: 811px;
    height: 84px;
    margin-left: 20px;
}
.rgr-cont p{
   margin-top: 15px;
    color: #666;
}
.bd{
    width:970px;
    height:1180px;
    overflow: hidden;
}

.hd{
    float: left;
    margin-top: 15px;
    width: 100%;
    text-align: center;
    height: 42px;
}
.hd ul{
    float: left;
    margin-left: 40%;
}
.hd li{
    float: left;
    line-height: 42px;
    padding: 0 15px;
}
.hd li a.active{
    color: #99f4a7;
}

/*最新资讯结束*/
/*底部*/
.footer{
    width: 100%;
    height: 566px;
    float: left;
    background: url("../images/footer.jpg")no-repeat center;
}
.ft-con{
    width: 1200px;
    margin: 0 auto;
}
.ft-top{
    float:left;
    width: 1200px;
    height: 180px;
    margin-top: 20px;
    border-bottom: 1px solid;
    border-collapse: separate;
    border-spacing: 2px;
    border-color: #848484;

}
.ft-b{
    float: left;
    width: 240px;
    height: 200px;
    margin-left: 60px;
    margin-top: 50px;
}
.ft-b h3{
    padding-bottom: 20px;
    color: white;
}
.ft-b p{
    line-height: 25px;
    color: #92CA9D;
}
.banq{
    float: left;
    width: 100%;
    height: 30px;
    text-align: center;
    margin-top: 65px;
    color: #92CA9D;
}
.banq span img{
    line-height:14px;
}

......

3.JS

代码如下(节选示例):

//顶部导航
var navarr=['20px','130px','240px','350px','460px']
$('.headr-nav li').mouseover(function(){
    $('.headr-nav li a').eq($(this).index('li')).css('color','#4AB344')
    $('.spbottom:eq(0)').css('left',navarr[$(this).index()])
}).mouseout(function(){
    $('.headr-nav li a').eq($(this).index('li')).css('color','')
    $('.spbottom:eq(0)').css('left','20px')
})

$('.headr-right:eq(0)').mouseover(function(){
    $(this).css('overflow','visible')
}).mouseout(function(){
    $(this).css('overflow','hidden')
})
//顶部导航结束
//果园推荐开始
$('.rcr-top').mousemove(function(){
    $('.rcr-top').eq($(this).index('.rcr-top')).css('margin-left','0')

}).mouseout(function(){
    $('.rcr-top').eq($(this).index('.rcr-top')).css('margin-left','10px')

})
//果园推荐结束
//每日新品特卖轮播
var banner=document.getElementsByClassName('banner_1')[0]
var site=['0px','-1424px']
var bon = document.getElementsByClassName('banner-bottom')[0]
var ali = bon.getElementsByTagName('li')
var len = site.length
var num  = 0
for(i=0;i<len;i++){
    bon.innerHTML += '<li>'+(i+1)+'</li>'
}
ali[0].className = 'active'
for(i=0;i<len;i++){
    ali[i].index = i
    ali[i].onmouseover = function () {
        num = this.index
        picshow()
    }
}
function picshow(){
    for(j=0;j<len;j++){
        ali[j].className = ''
    }
    ali[num].className ='active'
    banner.style.marginLeft = site[num]
}
var time = null
function pp() {
    time = setInterval(function () {
        num++
        if (num >= len) {

            num=0
        }
        picshow()
    }, 5000)
}
pp()
banner.onmouseover = function () {
    clearInterval(time)
}
banner.onmouseout = function () {
    clearInterval(time)
    pp()
}
//每日新品特卖轮播结束
$('.nw-b').mousemove(function(){
    $('.nw-b img').eq($(this).index('.nw-b')).css('margin-left','-8px')

}).mouseout(function(){
    $('.nw-b img').eq($(this).index('.nw-b')).css('margin-left','0px')

})

$(".txtMarquee-top").slide({mainCell:".bd ul",autoPlay:true,effect:"topMarquee",vis:5,interTime:50,trigger:"click"});
$(".slideBox").slide({mainCell:".bd ul",autoPlay:true,trigger:"click"});

......


五、总结

1. 页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分;

2. 所有页面相互超链接,可到二级或三级页面,有5-10个页面组成;

3. 页面样式风格统一布局显示正常,不错乱,使用HTML5+CSS3+JS技术;

4. 菜单美观、醒目,二级菜单可正常弹出与跳转;

5. 要有JS特效,如定时切换和手动切换图片新闻;

6. 页面中有多媒体元素,如gif、视频、音乐,表单技术的使用; 

7. 页面清爽、美观、大方,不雷同;

8. 网站前端程序不仅要能够把用户要求的内容呈现,还要满足布局良好、界面美观、配色优雅、表现形式多样等要求。


版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/A240307/article/details/137412355

智能推荐

攻防世界_难度8_happy_puzzle_攻防世界困难模式攻略图文-程序员宅基地

文章浏览阅读645次。这个肯定是末尾的IDAT了,因为IDAT必须要满了才会开始一下个IDAT,这个明显就是末尾的IDAT了。,对应下面的create_head()代码。,对应下面的create_tail()代码。不要考虑爆破,我已经试了一下,太多情况了。题目来源:UNCTF。_攻防世界困难模式攻略图文

达梦数据库的导出(备份)、导入_达梦数据库导入导出-程序员宅基地

文章浏览阅读2.9k次,点赞3次,收藏10次。偶尔会用到,记录、分享。1. 数据库导出1.1 切换到dmdba用户su - dmdba1.2 进入达梦数据库安装路径的bin目录,执行导库操作  导出语句:./dexp cwy_init/[email protected]:5236 file=cwy_init.dmp log=cwy_init_exp.log 注释:   cwy_init/init_123..._达梦数据库导入导出

js引入kindeditor富文本编辑器的使用_kindeditor.js-程序员宅基地

文章浏览阅读1.9k次。1. 在官网上下载KindEditor文件,可以删掉不需要要到的jsp,asp,asp.net和php文件夹。接着把文件夹放到项目文件目录下。2. 修改html文件,在页面引入js文件:<script type="text/javascript" src="./kindeditor/kindeditor-all.js"></script><script type="text/javascript" src="./kindeditor/lang/zh-CN.js"_kindeditor.js

STM32学习过程记录11——基于STM32G431CBU6硬件SPI+DMA的高效WS2812B控制方法-程序员宅基地

文章浏览阅读2.3k次,点赞6次,收藏14次。SPI的详情简介不必赘述。假设我们通过SPI发送0xAA,我们的数据线就会变为10101010,通过修改不同的内容,即可修改SPI中0和1的持续时间。比如0xF0即为前半周期为高电平,后半周期为低电平的状态。在SPI的通信模式中,CPHA配置会影响该实验,下图展示了不同采样位置的SPI时序图[1]。CPOL = 0,CPHA = 1:CLK空闲状态 = 低电平,数据在下降沿采样,并在上升沿移出CPOL = 0,CPHA = 0:CLK空闲状态 = 低电平,数据在上升沿采样,并在下降沿移出。_stm32g431cbu6

计算机网络-数据链路层_接收方收到链路层数据后,使用crc检验后,余数为0,说明链路层的传输时可靠传输-程序员宅基地

文章浏览阅读1.2k次,点赞2次,收藏8次。数据链路层习题自测问题1.数据链路(即逻辑链路)与链路(即物理链路)有何区别?“电路接通了”与”数据链路接通了”的区别何在?2.数据链路层中的链路控制包括哪些功能?试讨论数据链路层做成可靠的链路层有哪些优点和缺点。3.网络适配器的作用是什么?网络适配器工作在哪一层?4.数据链路层的三个基本问题(帧定界、透明传输和差错检测)为什么都必须加以解决?5.如果在数据链路层不进行帧定界,会发生什么问题?6.PPP协议的主要特点是什么?为什么PPP不使用帧的编号?PPP适用于什么情况?为什么PPP协议不_接收方收到链路层数据后,使用crc检验后,余数为0,说明链路层的传输时可靠传输

软件测试工程师移民加拿大_无证移民,未受过软件工程师的教育(第1部分)-程序员宅基地

文章浏览阅读587次。软件测试工程师移民加拿大 无证移民,未受过软件工程师的教育(第1部分) (Undocumented Immigrant With No Education to Software Engineer(Part 1))Before I start, I want you to please bear with me on the way I write, I have very little gen...

随便推点

Thinkpad X250 secure boot failed 启动失败问题解决_安装完系统提示secureboot failure-程序员宅基地

文章浏览阅读304次。Thinkpad X250笔记本电脑,装的是FreeBSD,进入BIOS修改虚拟化配置(其后可能是误设置了安全开机),保存退出后系统无法启动,显示:secure boot failed ,把自己惊出一身冷汗,因为这台笔记本刚好还没开始做备份.....根据错误提示,到bios里面去找相关配置,在Security里面找到了Secure Boot选项,发现果然被设置为Enabled,将其修改为Disabled ,再开机,终于正常启动了。_安装完系统提示secureboot failure

C++如何做字符串分割(5种方法)_c++ 字符串分割-程序员宅基地

文章浏览阅读10w+次,点赞93次,收藏352次。1、用strtok函数进行字符串分割原型: char *strtok(char *str, const char *delim);功能:分解字符串为一组字符串。参数说明:str为要分解的字符串,delim为分隔符字符串。返回值:从str开头开始的一个个被分割的串。当没有被分割的串时则返回NULL。其它:strtok函数线程不安全,可以使用strtok_r替代。示例://借助strtok实现split#include <string.h>#include <stdio.h&_c++ 字符串分割

2013第四届蓝桥杯 C/C++本科A组 真题答案解析_2013年第四届c a组蓝桥杯省赛真题解答-程序员宅基地

文章浏览阅读2.3k次。1 .高斯日记 大数学家高斯有个好习惯:无论如何都要记日记。他的日记有个与众不同的地方,他从不注明年月日,而是用一个整数代替,比如:4210后来人们知道,那个整数就是日期,它表示那一天是高斯出生后的第几天。这或许也是个好习惯,它时时刻刻提醒着主人:日子又过去一天,还有多少时光可以用于浪费呢?高斯出生于:1777年4月30日。在高斯发现的一个重要定理的日记_2013年第四届c a组蓝桥杯省赛真题解答

基于供需算法优化的核极限学习机(KELM)分类算法-程序员宅基地

文章浏览阅读851次,点赞17次,收藏22次。摘要:本文利用供需算法对核极限学习机(KELM)进行优化,并用于分类。

metasploitable2渗透测试_metasploitable2怎么进入-程序员宅基地

文章浏览阅读1.1k次。一、系统弱密码登录1、在kali上执行命令行telnet 192.168.26.1292、Login和password都输入msfadmin3、登录成功,进入系统4、测试如下:二、MySQL弱密码登录:1、在kali上执行mysql –h 192.168.26.129 –u root2、登录成功,进入MySQL系统3、测试效果:三、PostgreSQL弱密码登录1、在Kali上执行psql -h 192.168.26.129 –U post..._metasploitable2怎么进入

Python学习之路:从入门到精通的指南_python人工智能开发从入门到精通pdf-程序员宅基地

文章浏览阅读257次。本文将为初学者提供Python学习的详细指南,从Python的历史、基础语法和数据类型到面向对象编程、模块和库的使用。通过本文,您将能够掌握Python编程的核心概念,为今后的编程学习和实践打下坚实基础。_python人工智能开发从入门到精通pdf

推荐文章

热门文章

相关标签