在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答
情未了 回答

我也遇到這個問題。 就是屏幕一移動就是立刻加載,請問你解決了嘛?

短嘆 回答

你定義一個樣式類,然后通過ms-class來指定。

安若晴 回答

position:fixed;
bottom:30px;

傻叼 回答

從data div的dom里先把foot div這個元素remove掉,然后再獲取text就可以了

六扇門 回答

我明白了 因為變量自加1寫在了if下面后 只有偶數(shù)才會+1 奇數(shù)不+1了

熊出沒 回答

new HashMap<>()的時候 entrySet就已經(jīng)不為null了 不知道是不是底層賦值的?

雨蝶 回答

第一:font-family: PingFangSC-Light,helvetica,'Heiti SC'; 這是三個字體,第一個找不到就用第二個,依次類推;
第二:那你就需要百度一下手機和pc都有的字體了,一般來說,宋體/楷體/幼圓/新宋體 這些都有.

選擇 回答

發(fā)布的時候在你的packjson中 加入以上依賴項,然后npm install 就會下載好這些了
一般在項目中下載依賴項的時候都會在后面加上--save 這樣可以直接在packjson 中加上

夢一場 回答

是要轉(zhuǎn)義< >這兩個字符串嗎?

玄鳥 回答

你需要了解下 T.ajaxForm 這個函數(shù),以下是我模擬的他的內(nèi)部構(gòu)造:

T.ajaxForm = (function(){
    function AjaxForm(option){
        if (!(this instanceof AjaxForm)) {
            return new AjaxForm(option);
        }
        
        this._beforeSubmit = option['beforeSumbit'];
        this._uploadProgress = option['uploadProgress'];
        this._success = option['success'];
        
        this._run();
    }
    
    AjaxForm.prototype = {
        constructor: AjaxForm , 
        
        _initialize: function(){
            this._xhr = new XMLHttpRequest();
        } ,  
        
        // 開啟 xhr
        _open: function(method , url , isAsync , username , password){
            this._xhr.open(method , url , isAsync , username , password);
        } , 
        
        // 設(shè)置響應(yīng)頭
        _setHeader: function(k , v){
            this._xhr.setRequestHeader(k , v);
        } ,
        
        // 定義相關(guān)事件
        _defineEvent: function(){
            this._xhr.upload.onprogress = function(event){     
                // 表單提交之后調(diào)用
                if (typeof this._uploadProgress=== 'function') {
                    // t 應(yīng)該是 event.total
                    // n 應(yīng)該是 event.loaded
                    // r 應(yīng)該是 event.loaded / event.total
                    this._uploadProgress.call(this , event , t , n , r);
                }
            };
            
            this._xhr.onreadystatechang = function(event){
                if (this.readyState === 4&& this.status === 200) {
                    if (typeof this._success === 'function') {
                        // 猜測:event
                        // 猜測:this.responseText
                        // 請求收到服務(wù)器響應(yīng)后觸發(fā)!
                        this._success.call(this , event , this.responseText);
                    }
                }
            };
        } , 
        
        // 發(fā)送數(shù)據(jù)
        _send: function(data){
            // 表單提交之前調(diào)用
            if (typeof this._beforeSubmit === 'function') {
                // e 、t、n 由你是用 T.ajaxForm 的具體實現(xiàn)定義??!
                // 我這邊只是假設(shè) ....
                this._beforeSubmit.call(this , e , t , n);
            }
            
            this._xhr.send(data);
        } , 
        
        _run: function(){
            
        }
    };
    
    return AjaxForm;
})();

這樣應(yīng)該很清晰明了的知道為什么

T.ajaxForm({
    ....
    beforeSubmit: function(e, t, n) {},
    uploadProgress: function(e, t, n, r) {
        p(".upload__percent").text(r + "%")
    },
    success: function(e, t) {
        l(e)
    },
    .....

他們的參數(shù)不同了吧:因為每一個回調(diào)函數(shù)在滿足條件觸發(fā)條件時 T.ajaxForm 使用了不同的參數(shù)進行調(diào)用

命多硬 回答

設(shè)置不了吧,你的數(shù)據(jù)庫同表同字段能設(shè)置不同的默認值?

假灑脫 回答

1.其實頭部不是滾動,只是向上滾動的時候隱藏,往下滾動的時候顯示,然后加上slideIn和slideOut的動畫
2.所以只要監(jiān)聽頁面的滾動事件。判斷是往上滾動還是往下滾動,給header添加對應(yīng)的動畫就好了

生性 回答

兄弟,我這也是,白天在公司github還沒問題,到家就出現(xiàn)這個問題了,哎