- 註冊時間
- 2014-3-31
- 最後登錄
- 2023-10-28
- 帖子
- 62
- 閱讀權限
- 30
- 積分
- 438
- 精華
- 0

|
本帖最後由 mesak 於 2014-4-8 12:10 編輯
http://p.www.xiaomi.com/zt/140408/tw/choosePhone.html?#REDMI
http://p.www.xiaomi.com/zt/14040 ... n.html?pro=dianyuan
- openBuy.getDmSys=function () {
- var a = this,
- b = "";
- b = a.hdgetUrl.replace("{{SKU}}", a.productSku), $.ajax({
- type: "GET",
- url: b,
- dataType: "jsonp",
- jsonp: "jsonpcallback",
- jsonpCallback: "hdcontrol",
- timeout: 3e4,
- error: function () {
- return a.inTheQueue ? (a.hideBox("Queue"), void a.showBox("Cache")) : !1
- },
- success: function (b) {
- var c = b.status,
- d = c[a.productSku].hdurl,
- e = c[a.productSku].hdstart === !1 && c[a.productSku].hdstop === !0 ? !0 : !1,
- f = 1500;
- return a.inTheQueue ? e === !0 ? (a.setOverInfo(), !1) : (a.getDmTimer && clearInterval(a.getDmTimer), void(d ? a.getShopCart(d) : (a.inTheQueue || a.startQueue(), a.getDmTimer = setInterval(function () {
- a.getDmSys()
- }, f)))) : !1
- }
- })
- }
複製代碼
使用方式參考這個
http://mi.ezbox.idv.tw/forum.php ... ptid=1353&pid=54328 |
-
總評分: 經驗 + 8
查看全部評分
|