不按tab鍵啊,enter鍵
顯示這個,按enter鍵就好了
寫一個非flex版的
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Document</title>
<style>
*{box-sizing: border-box;margin: 0;padding: 0;}
html,body{height:100%;width:100;}
.box{
width: 100%;
height: 100%;
border: 1px solid red;
}
.left{
width:200px;
height:100%;
background: #f00;
float: left;
}
.right{
width: calc(100% - 200px);
height:100%;
background: #0f0;
padding: 200px 0;
position: relative;
float: right;
}
.top,.bottom{
position: absolute;
background:#00f;
height:200px;
width: 100%;
}
.top{top:0;}
.bottom{bottom:0;}
.mid{width:100%;height:100%}
</style>
</head>
<body>
<div class="box">
<div class="left"></div>
<div class="right">
<div class="top"></div>
<div class="mid"></div>
<div class="bottom"></div>
</div>
</div>
</body>
</html>
外部是不能訪問到 , 點擊了X 按鈕,還是取消。 點擊 X 或者取消按鈕,都由一個方法 handAction(action) 這個處理了, 這個方法并沒把event傳給callback
不知道問題有沒有解決?
那我就給個方案,定義一個container組件,定義一個input property options
options的結(jié)構(gòu)如下:
{
id: "container",
children: [
{
selector: "component1",
options: {}
},
{
selector: "component2",
options: {}
}
...
]
}
所有希望動態(tài)生成的組件放到options.children
里面
然后使用*ngFor遍歷options.children
, 通過selector
來匹配對應的component
<div>
<ng-container *ngFor="let opt of options.children">
<ng-container *ngIf="opt && opt.selector && opt.options">
<component1 *ngIf="opt.selector === 'component1'"></component1>
<component2 *ngIf="opt.selector === 'component2'"></component2>
</ng-container>
</ng-container>
</div>
如果覺得有幫助請采納~
看下Internet選項那里,代理服務(wù)器的設(shè)置是不是有腳本,如果有的話取消掉再試試看。如果不是這里的問題可能就該考慮下全盤查殺了。。
一樓正解,但是如果你硬是要改變的話,可以這樣寫
td {
height: 40px !important
}
原理是important的優(yōu)先級是最高的
我最近也在練手小程序,也是滴滴他們家的產(chǎn)品,仿的青桔單車,也是遇到了和你一樣的問題,map組件遮蔽box-shadow陰影,折騰了好幾天嘗試了各種方式不得其解,最后決定獲取到青桔單車的wxapkg文件進行反解包,結(jié)果在image中發(fā)現(xiàn)了這樣兩個文件:
一切都明白了,就是使用cover-image 將陰影圖片定位上去的
504 是網(wǎng)關(guān)問題 你前端hold不住的 去你的后臺
在vuex 或者 全局域 加一個 鎖。
這里用全局域來做演示比較方便。實際環(huán)境中最好使用 vuex
window.tipLock = false;
service.interceptors.response.use(
response =>{
const res = response.data;
const code = parseInt(res.code);
var errTip = '未知錯誤';
switch(code){
case 20000:errTip = '';break;
case 20003:errTip = "用戶未登錄";break;
default:
break;
}
if(errTip){
if(!window.tipLock){
window.tipLock = true;
alert(errTip + '!');
window.tipLock = false; //這句如果是第三方的alert 則寫在回調(diào)中
}
if(code == 20003){
window.location.href = "/login"
}
return Promise.reject(new Error(errTip));
}
return response;
} ,
error => {
return Promise.reject(error);//處理服務(wù)器異常錯誤
}
)
data[i]
?不是item[i]
嗎
試試直接os._exit(0)
不要滾動條?你超出了怎么可能沒有?唯一就是超出不顯示滾動條,鼠標移上去才顯示?不行的話就用其他框架,例如layui的后臺框架就不錯,他的table很強大。
undefined不是 understand嗎?
如果是 undefined
在
var page= $(#addli option:selected).val();
console.log(page)
之間加個判斷
if(page){
page = 1
}
把 loading=true,$this.addClass('loading').text("Loading"); 放到if (href != undefined) 之后
$('div#post-read-more a').click( function() {
if(loading)return
$this = $(this);
var href = $this.attr("href"); //獲取下一頁的鏈接地址
if (href != undefined) { //如果地址存在
loading=true
$this.addClass('loading').text("Loading"); //給a標簽加載一個loading的class屬性,可以用來添加一些加載效果
$.ajax( { //發(fā)起ajax請求
PS:我覺得你這個例子用button不是更合適,用data-url存下一頁的地址,你用a標簽感覺就是為了存?zhèn)€url,要阻止默認的跳轉(zhuǎn)事件,還要控制能不能點擊,相比之下,button合適多了,“沒有了”的時候?qū)utton設(shè)置成disabled,data-url存?zhèn)€下一頁的地址,妥妥的,沒有歧義
better-scroll
https://github.com/ustbhuangy...
可能的原因
1、請求的接口無法訪問
2、返回的地址信息無法訪問,比如 403
如果還是無法解決,還可以嘗試
1、重啟微信 IDE
2、將 IDE 的基礎(chǔ)庫版本降低一個版本,或者提高一個版本
$(".save_btn_v2").trigger("click");
?
北大青鳥APTECH成立于1999年。依托北京大學優(yōu)質(zhì)雄厚的教育資源和背景,秉承“教育改變生活”的發(fā)展理念,致力于培養(yǎng)中國IT技能型緊缺人才,是大數(shù)據(jù)專業(yè)的國家
北大青鳥中博軟件學院創(chuàng)立于2003年,作為華東區(qū)著名互聯(lián)網(wǎng)學院和江蘇省首批服務(wù)外包人才培訓基地,中博成功培育了近30000名軟件工程師走向高薪崗位,合作企業(yè)超4
中公教育集團創(chuàng)建于1999年,經(jīng)過二十年潛心發(fā)展,已由一家北大畢業(yè)生自主創(chuàng)業(yè)的信息技術(shù)與教育服務(wù)機構(gòu),發(fā)展為教育服務(wù)業(yè)的綜合性企業(yè)集團,成為集合面授教學培訓、網(wǎng)
達內(nèi)教育集團成立于2002年,是一家由留學海歸創(chuàng)辦的高端職業(yè)教育培訓機構(gòu),是中國一站式人才培養(yǎng)平臺、一站式人才輸送平臺。2014年4月3日在美國成功上市,融資1
浪潮集團項目經(jīng)理。精通Java與.NET 技術(shù), 熟練的跨平臺面向?qū)ο箝_發(fā)經(jīng)驗,技術(shù)功底深厚。 授課風格 授課風格清新自然、條理清晰、主次分明、重點難點突出、引人入勝。
曾工作于聯(lián)想擔任系統(tǒng)開發(fā)工程師,曾在博彥科技股份有限公司擔任項目經(jīng)理從事移動互聯(lián)網(wǎng)管理及研發(fā)工作,曾創(chuàng)辦藍懿科技有限責任公司從事總經(jīng)理職務(wù)負責iOS教學及管理工作。
精通HTML5和CSS3;Javascript及主流js庫,具有快速界面開發(fā)的能力,對瀏覽器兼容性、前端性能優(yōu)化等有深入理解。精通網(wǎng)頁制作和網(wǎng)頁游戲開發(fā)。
具有10 年的Java 企業(yè)應用開發(fā)經(jīng)驗。曾經(jīng)歷任德國Software AG 技術(shù)顧問,美國Dachieve 系統(tǒng)架構(gòu)師,美國AngelEngineers Inc. 系統(tǒng)架構(gòu)師。