Authored by lijing

PC登录

... ... @@ -133,8 +133,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="1" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_06.jpg">
... ... @@ -152,8 +152,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="2" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_08.jpg">
... ... @@ -171,8 +171,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="3" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_10.jpg">
... ... @@ -190,8 +190,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="4" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_12.jpg">
... ... @@ -209,8 +209,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="5" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_14.jpg">
... ... @@ -228,8 +228,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="6" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_16.jpg">
... ... @@ -247,8 +247,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="7" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_18.jpg">
... ... @@ -266,8 +266,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="8" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_20.jpg">
... ... @@ -285,8 +285,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="9" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_22.jpg">
... ... @@ -304,8 +304,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="10" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_24.jpg">
... ... @@ -323,8 +323,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="11" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_26.jpg">
... ... @@ -342,8 +342,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="12" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_28.jpg">
... ... @@ -361,8 +361,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="13" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_30.jpg">
... ... @@ -380,8 +380,8 @@
<div class="module_row MOD_ID" >
<div class="mod_row">
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;" href=''></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;" href=''></a>
<a class="anchor" style="width: 44%; height: 15%; left: 0; top: 85%;"></a>
<a class="anchor" style="width: 55%; height: 60%; left: 45%; top: 0;"></a>
<div id="14" class="vote"></div>
<div class="simple-banner">
<img class="banner-img" src="images/bg_32.jpg">
... ...
... ... @@ -254,54 +254,18 @@ img{
diaCover("您已经投过票");
return;
}
if (!isApp) {
var dataRequestUrl = "http://m.yohobuy.com/passport/login/user";
$.getJSON(dataRequestUrl+"?callback=?",
function(json) {
if (json.code === 200) {
uid=json.data;
} else {
var url ='http://m.yohobuy.com/signin.html?refer=' + window.location.href;
//window.location.href=url;
if ($("#collocation-link").length <= 0) {
$("body").append('<a href=\'' + url + '\' style="display:none;" id="collocation-link">' +
'<span class="collocation-link"></span>' +
'</a>');
}
$(".collocation-link").click();
}
}
);
} else {
var Request = new Object();
Request = GetRequest();
uid = Request['uid'];
if (!uid){
var locationUrl = cutUrl(window.location.href);
var url = locationUrl + '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"'
+ locationUrl +'","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}';
//window.location.href=url;
if ($("#collocation-link").length <= 0) {
$("body").append('<a href=\'' + url + '\' style="display:none;" id="collocation-link">' +
'<span class="collocation-link"></span>' +
'</a>');
}
$(".collocation-link").click();
}
}
$.getJSON(dataRequestUrl+"?callback=?", function(json) {
// if (json.code != 200) {
// diaCover("请先登录!!!");
// window.location.href = "http://www.yohobuy.com/signin.html?refer=" + window.location.href;
// return;
// }
// if (!json.data) {
// diaCover("请先登录!!!");
// window.location.href = "http://www.yohobuy.com/signin.html?refer=" + window.location.href;
// return;
// }
if (json.code != 200) {
//diaCover("请先登录!!!");
window.location.href = "http://www.yohobuy.com/signin.html?refer=" + window.location.href;
return;
}
if (!json.data) {
//diaCover("请先登录!!!");
window.location.href = "http://www.yohobuy.com/signin.html?refer=" + window.location.href;
return;
}
var itemIds = [];
var voted = $(".vote_click");
if (!voted || voted.length == 0) {
... ...