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

鍍金池/ 問答
哚蕾咪 回答

性能可能會(huì)有影響,因?yàn)楸緛硎切枰苯訄?zhí)行點(diǎn)擊事件對(duì)應(yīng)的方法就可以了,你現(xiàn)在是直接觸發(fā)點(diǎn)擊事件,然后間接的執(zhí)行對(duì)應(yīng)的方法。不過在我看來影響可能比較小。性能可能直觀上看不出來。最好的方法是調(diào)用事件對(duì)應(yīng)的方法。而你這個(gè)程序沒有,那就調(diào)用form的submit方法

$('form').submit()
笨笨噠 回答

時(shí)間肯定是有的,沒有生效可能是設(shè)置絕對(duì)定位后,被別的元素覆蓋了,導(dǎo)致看似點(diǎn)擊了元素,其實(shí)并沒有點(diǎn)中元素,而是點(diǎn)在了上層元素。你可以f12審查下元素

哚蕾咪 回答

vue-cli 2.9.4 bug,2.9.5已解決,請(qǐng)升級(jí)到最新版

npm install -g vue-cli@latest

SshWork是文件名,就是文件夾是什么名字。
SshProject是項(xiàng)目名,這是你自己起的名字,可以在idea的Project Structure中的Modules中修改name
圖片描述

殘淚 回答

似乎是DLL拋出的異常,確認(rèn)設(shè)備信息正確?

忘了我 回答

其實(shí)我看不太懂你想問什么。如果是遮罩的話,并且是矩形,可以用 clearRect 來做。如下:

ctx.fillStyle = "rgba(255, 255, 255, 1)";
ctx.fillRect(0, 0, width, height); // width & height 為遮罩的寬高
ctx.clearRect(1044, 100, 250, 250);   

如果要用其它形狀的話,可以參考一下:http://www.w3school.com.cn/ta...

我甘愿 回答

可以通過這兩個(gè)input的value來做判斷啊,如果兩個(gè)value都非空,就讓button的disabled屬性為false,否則為true

墨染殤 回答
  1. let child = {name:'child',template:'<div><label>child:</label><input
    value="ddd"></input></div>'};

  2. let tp = {name:'tp',template:'<div class="layout">9999:<slot
    name="sss"></slot></div>'};

  3. let view = {name:'tpz',template:'<div><tp><child

       slot="sss"></child></tp></div>',components:{tp,child}};
  4. return h(view)

這種demo可以實(shí)現(xiàn)

短嘆 回答

你拿到token后總要去干點(diǎn)什么吧,好比去請(qǐng)求一個(gè)鏈接,如果token失效那不就返回失效的錯(cuò)誤了,知道這個(gè)錯(cuò)誤再去請(qǐng)求新的token就是。但是說到底都是人家只允許一個(gè)用戶登錄,你再請(qǐng)求新的就又把A的又踢掉了。

巫婆 回答

鏈接描述

這個(gè)其實(shí)是個(gè)很復(fù)雜的問題,要是簡單就直接圖片寬度100%,高度自適應(yīng),
或者將圖片當(dāng)做背景來使用,然后在背景圖片中添加一個(gè)background-size: contain;屬性。
如果你有空的話可以看一下我這篇博客,最后提到了手機(jī)淘寶響應(yīng)式的原理,使用rem配合viewport。

風(fēng)畔 回答

可以的,你的routes根據(jù)登錄信息動(dòng)態(tài)生成,每次登錄完之后刷新一下頁面,觸發(fā)頁面重新加載

吢丕 回答

我只有一個(gè)1呀。
clipboard.png
clipboard.png
你卸載重裝試試?

項(xiàng)目不支持es6語法,嘗試模塊化改寫的

        // 模板引擎補(bǔ)充
        template.defaults.imports.Balance = function(number) {
            return number.toFixed(2);
        }
        // 當(dāng)所有組件準(zhǔn)備好后執(zhí)行內(nèi)部回調(diào)方法
        appcan.ready(function() {

            uexWindow.setWindowScrollbarVisible('false');

            appcan.frame.setBounce(1, function(type) {
                $("#pullstatus").html("");
            }, function(type) {
                $("#pullstatus").html("");
            }, function(type) {
                $("#pullstatus").html("松手了,產(chǎn)生事件了,開始更新數(shù)據(jù)!");
                // 下拉事件發(fā)生
                appcan.frame.resetBounce(1);
                var num = Number(pageNo) * limit;

                $("#pullstatus").html("");
                // alert("totalRows=" + totalRows)

                if (Number(totalRows) <= num) {
                    appcan.window.openToast({
                        msg : '沒有更多',
                        duration : 1000,
                        position : 5,
                        type : 0
                    });
                    return;
                }

                pageNo = Number(pageNo) + 1;
                Orders.addData();
            });
            Orders.init();

        });
        var Orders = {
            init : function() {
                this.queryCusBasOrg();
                this.options().bind();
            },
            options : function() {
                var yue = this,
                    options = {};
                yue.options.companyList = document.getElementById('companyList');
                yue.options.bills_list = document.getElementById("bills_list");
                yue.options.tishi = document.getElementById('tishi');
                return yue;
            },
            bind : function() {
                var yue = this;
                this.options.companyList.onchange = function() {
                    yue.changeCompany();
                }
            },

            // 獲取公司列表
            queryCusBasOrg : function() {
                var yue = this;
                var func = yue.showCompanyCallback.bind(yue);

                ajaxPostQuery(URL + "/app/cus/queryCusBasOrg", "", func, "text");

            },
            // 回調(diào)
            showCompanyCallback : function(data) {
                var yue = this;
                var tishi = yue.options.tishi;
                var companyList = yue.options.companyList;

                if ( typeof data == "string") {
                    data = JSON.parse(data);
                };

                var html = template('Company_tmpl', {
                    list : data
                });

                $('#companyList').html(html);
                tishi.style.height = "5em"

                var linkId = companyList.value;

                Orders.queryBills(linkId);
            },
            // 獲取訂單數(shù)據(jù)
            queryBills : function(linkId) {
                var yue = this;
                var paramJsonStr = "&pager.pageNo=" + pageNo + "&pager.pageSize=" + pageSize + "&cusOrgLinkid=" + linkId;
                var func = yue.showBillsCallback.bind(yue);
                ajaxPostQuery(URL + "/app/cus/queryCusPayMoney", paramJsonStr, func, "text");
                appcan.window.openToast('正在加載...', '0', '5', '1');

            },
            // 獲取訂單數(shù)據(jù)回調(diào)
            showBillsCallback : function(data) {
                var yue = this;
                var tishi = yue.options.tishi;
                var bills_list = yue.options.bills_list;

                appcan.window.closeToast();

                if ( typeof data == "string") {
                    data = JSON.parse(data)
                };
                totalRows = data["pager.totalRows"];
                // alert(totalRows)

                var html = '';
                if (data === 0) {
                    html = "<div id='' class='ub ub-pc pc time-wrapper''>" + "<span class='mf-size2 time'>暫無歷史賬單</span>" + "</div>";
                    tishi.innerHTML = html;
                } else {
                    html = template('bills_tmpl', {
                        list : data.rows
                    });
                    bills_list.innerHTML = html;
                    tishi.innerHTML = "";
                }

            },
            // 下拉刷新添加數(shù)據(jù)
            addData : function() {
                var yue = this;
                var linkId = yue.options.companyList.value;
                var paramJsonStr = "&pager.pageNo=" + pageNo + "&pager.pageSize=" + pageSize + "&cusOrgLinkid=" + linkId;

                ajaxPostQuery(URL + "/app/cus/queryCusPayMoney", paramJsonStr, yue.addDataCallback, "text");
                appcan.window.openToast('正在加載...', '0', '5', '1');
            },
            // 下拉刷新添加數(shù)據(jù)回調(diào)
            addDataCallback : function(data) {
                var yue = this;
                var tishi = yue.options.tishi;
                appcan.window.closeToast();

                if ( typeof data == "string") {
                    data = JSON.parse(data)
                };
                totalRows = data["pager.totalRows"];
                // alert(totalRows)

                var html = '';
                if (data === 0) {
                    html = "<div id='' class='ub ub-pc pc time-wrapper''>" + "<span class='mf-size2 time'>暫無歷史賬單</span>" + "</div>";
                    tishi.innerHTML = html;
                } else {
                    html = template('bills_tmpl', {
                        list : data.rows
                    });

                    $('#bills_list').append(html);
                    tishi.innerHTML = '';
                }
            },
            // 城市名稱改變
            changeCompany : function() {
                var yue = this;
                yue.options.bills_list.innerHTML = "";
                var linkId = yue.options.companyList.value;
                pageNo = 1;
                yue.queryBills(linkId)
            },
            // 打開詳情頁
            openDetail : function(id) {
                appcan.locStorage.setVal('FUNDSUB_ID', id);
                appcan.window.open("detail", 'order_detail.html', 10);
            }
        }
笨小蛋 回答

目前確認(rèn)是服務(wù)器配置的問題,對(duì)應(yīng)elementui庫安裝出現(xiàn)了問題,從中國服務(wù)器拷貝庫到英國服務(wù)器問題解決;

焚音 回答

哥們你解決了嗎?獲取到點(diǎn)擊的item 在一級(jí)數(shù)組中的index 了嗎

你的瞳 回答

把var myarr 提成全局變量
就實(shí)現(xiàn)了第一個(gè)顯示一個(gè) 第二次顯示倆個(gè) 依次類推

但是需要判斷 如果取消 那么就在myarr把該元素刪除

Array.prototype.indexOf = function (val) {
    for(var i = 0; i < this.length; i++){
          if(this[i] == val){return i;}
    }
        return -1;
}
Array.prototype.remove = function (val) {
     var index = this.indexOf(val);
     if(index > -1){this.splice(index,1);}
}
你可以利用我這個(gè)封裝

調(diào)用remove($(this).attr('data-name'))
尐懶貓 回答
#coding:utf-8
import traceback

try:
    1/0
except Exception as e:
    exception = traceback.format_exc()

print("錯(cuò)誤為:\n----\n{}\n----".format(exception))

輸出結(jié)果:

錯(cuò)誤為:
----
Traceback (most recent call last):
  File "file.py", line 5, in <module>
    1/0
ZeroDivisionError: integer division or modulo by zero
----

[Finished in 0.1s]

別傷我 回答

完全同意@lcp0578的看法。
算法和數(shù)據(jù)結(jié)構(gòu)和語言無關(guān)。