...
|
...
|
@@ -18,6 +18,22 @@ |
|
|
var boxNumLimit = 9;//箱子个数
|
|
|
$(
|
|
|
function () {
|
|
|
|
|
|
//判定登录
|
|
|
var dataRequestUrl="http://m.yohobuy.com/passport/login/user";
|
|
|
$.getJSON(dataRequestUrl+"?callback=?",
|
|
|
function(json) {
|
|
|
if (json.code === 200) {
|
|
|
alert('登录成功!!!!ID:' + json.data);
|
|
|
} else {
|
|
|
alert("请先登录!!!");
|
|
|
var url = `https://m.yohobuy.com/signin.html?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"http:\/\/localhost\/%E6%8A%BD%E5%A5%96%E6%B4%BB%E5%8A%A8v3\/index.html","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}`;
|
|
|
window.location.href=url;
|
|
|
}
|
|
|
}
|
|
|
);
|
|
|
|
|
|
|
|
|
$(".a-box-ul li").live("click", function () {
|
|
|
var liNnm = $(this).index();
|
|
|
|
...
|
...
|
|