...
|
...
|
@@ -50,7 +50,8 @@ exports.init = function() { |
|
|
//请求相关数据
|
|
|
var page = 1,
|
|
|
query = $('#query').val(), //无author时
|
|
|
gender = $('#gender').val();
|
|
|
gender = $('#gender').val(),
|
|
|
clientType = $('#client-type').val();
|
|
|
|
|
|
//定位登录提示相关变量
|
|
|
var $loginTip = $('#login-tip'),
|
...
|
...
|
@@ -116,13 +117,15 @@ exports.init = function() { |
|
|
if (hasAuthor) {
|
|
|
setting = {
|
|
|
page: ++page,
|
|
|
id: authorId
|
|
|
id: authorId,
|
|
|
client_type: clientType
|
|
|
};
|
|
|
} else {
|
|
|
setting = {
|
|
|
page: ++page,
|
|
|
query: query,
|
|
|
gender: gender
|
|
|
gender: gender,
|
|
|
client_type: clientType
|
|
|
};
|
|
|
}
|
|
|
|
...
|
...
|
|