添加
$.ajaxSetup({
error: funcion(){
console.log("error ajaxSetup");
alert('調(diào)用接口失敗');
return false;
}
});
之后會(huì)報(bào)錯(cuò),why?
$.ajaxSetup({
error: funcion(){
console.log("error ajaxSetup");
alert('調(diào)用接口失敗');
return false;
}
});
之后會(huì)報(bào)錯(cuò),why?
2017-07-28
卡片部分樣式四
.classes .subtitle {
font-size: 14px;
margin-top: 10px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.classes .short {
color: #D64BD3;
}
.classes .long {
color: #D6984D;
}
純手打,如有錯(cuò)請(qǐng)自行修改。發(fā)言有字?jǐn)?shù)限制所以分開(kāi)發(fā)了。
.classes .subtitle {
font-size: 14px;
margin-top: 10px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.classes .short {
color: #D64BD3;
}
.classes .long {
color: #D6984D;
}
純手打,如有錯(cuò)請(qǐng)自行修改。發(fā)言有字?jǐn)?shù)限制所以分開(kāi)發(fā)了。
2017-07-27
卡片部分樣式三
.classes .titlediv {
font-size: 20px;
margin-top: 10px;
}
.classes .title {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
max-width: 70%;
display: inline-block;
}
.classes .note {
font-size: 14px;
vertical-align: text-top;
}
.classes .titlediv {
font-size: 20px;
margin-top: 10px;
}
.classes .title {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
max-width: 70%;
display: inline-block;
}
.classes .note {
font-size: 14px;
vertical-align: text-top;
}
2017-07-27
卡片部分樣式二
.classes li {
float: left;
width: 29%;
text-align: left;
margin-left: 2%;
margin-right: 2%;
margin-top: 20px;
}
.classes li:hover {
cursor: pointer;
box-shadow: 10px 10px 20px gray;
}
.classes .innerbox {
width: 90%;
margin: 20px auto;
}
.classes img {
width: 100%;
}
.classes li {
float: left;
width: 29%;
text-align: left;
margin-left: 2%;
margin-right: 2%;
margin-top: 20px;
}
.classes li:hover {
cursor: pointer;
box-shadow: 10px 10px 20px gray;
}
.classes .innerbox {
width: 90%;
margin: 20px auto;
}
.classes img {
width: 100%;
}
2017-07-27
卡片部分樣式一
.classes, .pag {
min-width: 1000px;
margin: 0px auto;
width: 100%;
}
.classes {
float: left;
}
.pag {
clear: both;
}
.classes ul {
margin-top: 20px;
margin-bottom: 20px;
width: 100%;
float: left;
}
.classes, .pag {
min-width: 1000px;
margin: 0px auto;
width: 100%;
}
.classes {
float: left;
}
.pag {
clear: both;
}
.classes ul {
margin-top: 20px;
margin-bottom: 20px;
width: 100%;
float: left;
}
2017-07-27
*{padding: 0px;margin: 0px;}
li{list-style-type: none;}
.banner{
width: 100%;
height: 200px;
background-color: #EEE;
display: inline-block;
}
.banner h1{font-size: 60px;margin-top: 40px;margin-left: 20px;}
.banner h3{
font-size: 20px;
margin-top: 20px;
color: #6A6A6A;
margin-left: 20px;
}
li{list-style-type: none;}
.banner{
width: 100%;
height: 200px;
background-color: #EEE;
display: inline-block;
}
.banner h1{font-size: 60px;margin-top: 40px;margin-left: 20px;}
.banner h3{
font-size: 20px;
margin-top: 20px;
color: #6A6A6A;
margin-left: 20px;
}
2017-07-27
課程:http://imoocnote.calfnote.com/inter/getClasses.php?curPage=1
課程大綱:http://imoocnote.calfnote.com/inter/getClassChapter.php?cid=1
筆記內(nèi)容:http://imoocnote.calfnote.com/inter/getClassNote.php?cid=1
課程大綱:http://imoocnote.calfnote.com/inter/getClassChapter.php?cid=1
筆記內(nèi)容:http://imoocnote.calfnote.com/inter/getClassNote.php?cid=1
2017-07-27
哇,這個(gè)handlebars跟react,vue比起來(lái)真的是很難受啊,JS不是JS,HTML不是HTML,怎么看都丑。。。
2017-07-27