...
|
...
|
@@ -68,6 +68,7 @@ function actionSubscription() { |
|
|
function actionhomeFootChange() {
|
|
|
var $vote = $('.vote'),
|
|
|
$feedBackPage = $('#feed-back-page');
|
|
|
|
|
|
// count = $vote.children('li').length;
|
|
|
|
|
|
var param = {
|
...
|
...
|
@@ -76,13 +77,6 @@ function actionhomeFootChange() { |
|
|
code: 200
|
|
|
};
|
|
|
|
|
|
return $.getJSON('//www.yohobuy.com/common/suggestfeedback?callback=?', param,
|
|
|
function(suggestData) {
|
|
|
$feedBackBox.html(suggestFeedBackHbs(suggestData));
|
|
|
}
|
|
|
);
|
|
|
|
|
|
|
|
|
// 意见反馈
|
|
|
$feedBackPage.on('click', 'span', function() {
|
|
|
var $this = $(this);
|
...
|
...
|
@@ -99,6 +93,13 @@ function actionhomeFootChange() { |
|
|
.eq($this.index()).removeClass('hide');
|
|
|
});
|
|
|
|
|
|
return $.getJSON('//www.yohobuy.com/common/suggestfeedback?callback=?', param,
|
|
|
function(suggestData) {
|
|
|
$feedBackBox.html(suggestFeedBackHbs({suggestData: suggestData}));
|
|
|
}
|
|
|
);
|
|
|
|
|
|
|
|
|
// $vote.on('click', '.feed-back-btn', function() {
|
|
|
// var $this = $(this),
|
|
|
// $li = $this.closest('li'),
|
...
|
...
|
|