最后
编程基础的初级开发者,计算机科学专业的学生,以及平时没怎么利用过数据结构与算法的开发人员希望复习这些概念为下次技术面试做准备。或者想学习一些计算机科学的基本概念,以优化代码,提高编程技能。这份笔记都是可以作为参考的。
开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】
<img src=“https://img14.360buyimg.com/n1/s150x150_jfs/t30286/332/36268911/221752/2df45bd0/5be632aeN33d29b00.jpg”
alt=“”>
【莘县馆】农家新鲜西红柿 沙瓤番茄 时令蔬菜 洋柿子 山东特产 西红柿2.25kg
<img src=“https://img14.360buyimg.com/n1/s150x150_jfs/t1/153691/40/11181/212769/5fe4004bEad5ada65/ae4fb6b0dbc57081.jpg”
alt=“”>
山东真贝贝南瓜5斤装 板栗南瓜宝宝辅食新鲜蔬菜水果
<img src=“https://img14.360buyimg.com/n1/s150x150_jfs/t1/131854/30/18026/460623/5fc60812Eb164fef3/7c106d28f58c0c0e.jpg”
alt=“”>
新鲜花菜新鲜蔬菜花椰菜花绿色蔬菜松花菜现砍发货产地直发老品种农家自种 3斤装
function delete_shop(span) {
if (confirm(“确认删除吗!”)) {
if (span.parents()[2].children.length === 2) {
span.parents()[2].remove()
} else {
span.parents()[1].remove()
}
}
}
function add_shop(tag) {
let $shop_li = $(“#shops_li”)
let parents = tag.parents()
let res = parents[2].children[1];
let insertHtml = `
<img src=${parents[2].children[0].children[0].src}
alt=“”
style=“height:80px;width:80px”>
${res.children[0].children[0].textContent}
0.3mg*10片
${res.children[1].children[0].textContent}
-
+
${res.children[1].children[0].textContent}
<span οnclick=“delete_shop($(this))”>删除
移入关注
`if ($shop_li.length !== 0) {
$shop_li.append(insertHtml)
} else {
insertHtml = `
-
京东自营
${insertHtml}
`console.log(insertHtml);
$(“#shops_ul”).append(insertHtml)
}
}
/----------头部样式----------/
header {
width: 100%;
height: 25px;
line-height: 25px;
background: #e3e4e5;
border-bottom: solid 1px #ddd;
}
header .header_nav {
/background-color: red;/
height: 100%;
font-size: 8px;
color: #999999;
position: relative;
}
header ul {
display: flex;
}
header ul.left {
position: absolute;
left: 0;
}
header ul.right {
position: absolute;
right: 0;
}
header ul li {
display: flex;
justify-content: center;
align-items: center;
font-size: 8px;
}
header ul li.home {
cursor: pointer;
}
header ul li.home:hover {
color: red;
}
header .down {
margin-left: 5px;
font-size: 14px;
border-right: 1px solid #ccc;
margin-right: 5px;
}
header .down_none {
border-right: none
}
header .right_span {
cursor: pointer;
}
header .right_span:hover {
color: red;
}
/----------主体样式----------/
article .article_top {
height: 90px;
/background-color: red;/
display: flex;
align-items: center;
position: relative;
}
article .logo {
display: block;
margin-top: 2px;
width: 134px;
height: 42px;
background: url(//misc.360buyimg.com/jdf/1.0.0/unit/global-header/5.0.0/i/jdlogo-201708-@1x.png) no-repeat 0 0;
background-size: 134px 42px;
text-indent: -20000px;
}
article .search {
background: #c91623;
height: 24px;
overflow: hidden;
position: absolute;
right: 0;
display: flex;
align-items: center;
}
article .search .itxt {
border: 1px solid #c91623;
height: 22px;
line-height: 18px;
width: 260px;
outline: none
}
article .search .button {
display: inline-block;
vertical-align: top;
width: 48px;
height: 24px;
background: #c91623;
text-align: center;
color: #fff;
font-weight: 700;
font-size: 12px;
cursor: pointer;
}
article .article_position {
margin-top: 10px;
font-size: 13px;
position: relative;
height: 30px;
display: flex;
align-items: center;
}
article .article_position .left {
color: #e2231a;
font-weight: bold;
position: absolute;
left: 0;
}
article .article_position .right {
display: flex;
align-items: center;
position: absolute;
right: 0;
}
article .article_position .right .po {
border: 1px solid #CECBCE;
margin-left: 5px;
padding: 1px;
}
article .article_show_info {
margin-top: 20px;
position: relative;
background-color: #F3F3F3;
height: 40px;
display: flex;
align-items: center;
font-size: 12px;
}
article .article_show_info .info_select_all {
padding-left: 10px;
flex: 2;
}
article .article_show_info .info_goods {
padding-left: 20px;
flex: 12;
}
article .article_show_info .info_price {
flex: 2.5;
}
article .article_show_info .info_count {
flex: 3;
}
article .article_show_info .info_sum {
flex: 2;
}
article .article_show_info .info_operate {
flex: 2.5;
}
article .article_cart {
height: 100%;
font-size: 12px;
}
article .article_cart li .article_cart_top {
display: flex;
padding: 10px 0 5px 10px;
box-shadow: 0 1px 5px #888888;
margin-top: 10px;
}
article .article_cart li .article_cart_top span {
margin-left: 10px;
background-color: #DA0012;
color: #Fff;
padding: 1px;
border-radius: 3px;
}
article .article_cart li .article_cart_content {
height: 100px;
display: flex;
padding: 0 30px 0 10px;
border: 1px solid #c5c5c5;
}
article .article_cart li .article_cart_content .article_cart_checkbox {
width: 20px;
padding-top: 5px;
}
article .article_cart li .article_cart_content .article_cart_goods {
width: 300px;
display: flex
}
article .article_cart li .article_cart_content .article_cart_goods .goods_img {
padding: 0;
margin-top: 3px;
}
article .article_cart li .article_cart_content .article_cart_goods .goods_msg {
padding: 10px 0 0 20px;
cursor: pointer;
}
article .article_cart li .article_cart_content .article_cart_goods .goods_msg:hover {
color: red;
}
article .article_cart li .article_cart_content .article_cart_txt {
padding-top: 10px;
margin-left: 40px;
}
article .article_cart li .article_cart_content .article_cart_price {
padding-top: 10px;
margin-left: 140px;
}
article .article_cart li .article_cart_content .article_cart_count {
display: flex;
width: 80px;
padding-top: 10px;
margin-left: 50px;
}
article .article_cart li .article_cart_content .article_cart_count button {
height: 16px;
width: 16px;
display: flex;
align-content: center;
justify-content: center;
border: 1px solid #cbcbcb;
}
article .article_cart li .article_cart_content .article_cart_count button.left {
line-height: 11px;
}
article .article_cart li .article_cart_content .article_cart_count div {
width: 30px;
height: 14px;
font-size: 10px;
display: flex;
justify-content: center;
border: 1px solid #cbcbcb;
}
article .article_cart li .article_cart_content .article_cart_sum {
padding-top: 10px;
margin-left: 50px;
font-weight: bold;
}
article .article_cart li .article_cart_content .article_cart_operate {
padding-top: 10px;
margin-left: 45px;
display: flex;
flex-direction: column;
}
article .article_cart li .article_cart_content .article_cart_operate span {
cursor: pointer;
margin-bottom: 5px;
}
article .article_cart li .article_cart_content .article_cart_operate span:hover {
color: red
}
article .article_settle {
box-sizing: content-box;
margin-top: 30px;
height: 50px;
border: 1px solid #c5c5c5;
font-size: 12px;
position: relative;
}
article .article_settle .settle_left {
position: absolute;
left: 0;
height: 100%;
display: flex;
align-items: center;
}
article .article_settle .settle_left .article_cart_checkbox {
margin-left: 10px;
}
article .article_settle span {
margin-left: 15px;
cursor: pointer;
}
article .article_settle span:hover {
color: red;
}
article .article_settle .settle_right {
position: absolute;
right: 0;
display: flex;
}
article .article_settle .settle_right .settle_right_select {
color: #9c9698;
cursor: pointer;
position: absolute;
right: 200px;
width: 100px;
margin-top: 3px;
}
article .article_settle .settle_right .settle_right_select span {
padding: 0 1px;
margin: 0;
color: #E64347;
font-weight: bold;
}
article .article_settle .settle_right .settle_right_price {
color: #9c9698;
margin-left: 20px;
position: absolute;
总结
三套“算法宝典”
开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】
算法刷题LeetCode中文版(为例)
人与人存在很大的不同,我们都拥有各自的目标,在一线城市漂泊的我偶尔也会羡慕在老家踏踏实实开开心心养老的人,但是我深刻知道自己想要的是一年比一年有进步。
最后,我想说的是,无论你现在什么年龄,位于什么城市,拥有什么背景或学历,跟你比较的人永远都是你自己,所以明年的你看看与今年的你是否有差距,不想做咸鱼的人,只能用尽全力去跳跃。祝愿,明年的你会更好!
由于篇幅有限,下篇的面试技术攻克篇只能够展示出部分的面试题,详细完整版以及答案解析,有需要的可以关注