喀什开个小开水暖五金店利润怎么样百货店赚钱吗


餐厅介绍
本店特色美食
油炸馄饨 , 麻辣砂锅牛肉米线 , 雪菜肉丝蛋炒米粉 , 麻辣砂锅肉丝米线 , 麻辣砂锅鸭胗米线 , 沙县小吃 , 金牌猪蹄饭


注:地图位置标注仅供参考,具体情况以实际道路标实信息为准。
");
GetCommentListHtml();
CommentFsl();
return;
}
function eventbinding() {
//星级搜索
$(".comment_wrap .tablist a").click(function () {
var dataid = $(this).attr("data-id");
star = dataid;
pagenow = 1;
SearchComment();
$(".comment_wrap .tablist .current").removeClass("current");
$(this).parent('li').addClass("current");
});
//
$(".comment_ctrip .useful a").click(function () {
var commentid = $(this).attr("data-id");
usefulDataId = commentid;
if (commentid > 0) {
$.ajax({
url: "/destinationsite/Comment/SetUserful",
type: "post",
async: true,
data: { "commentid": commentid },
dataType: "json",
success: function (responseText) {
var obj = eval(responseText);
if (obj != null && obj.length > 0 && obj[0].RetCode == "1") {
$(this).attr("data-clicked", "true");
}
},
error: function () {
}
});
}
});
//
$(".comment_wrap .write_recomment").click(function () {
var poiid = $(this).attr("data-id");
if (poiid > 0) {
$.ajax({
url: "/destinationsite/Comment/IsCommentPoi",
type: "post",
async: true,
data: { "poiid": poiid },
dataType: "json",
success: function (responseText) {
var obj = eval(responseText);
if (obj != null) {
var ms = "很抱歉,你最近于" + obj.LastCommentTime + "对" + obj.Name + "提交过点评,在三个月内无法再次对它发表新点评";
$("#commentRule dl dd").eq(0).html(ms);
$("#commentRule p a").eq(1).attr("data-url", obj.PoiUrl + "#comment");
cannotComment();
} else {
var url = $(".write_recomment").attr("data-src");
window.location.href = url;
}
},
error: function () {
}
});
}
});
var a = $(".comment_wrap .cate_count");
a.find("li").click(function () {
a.find(".current").removeClass("current");
$(this).addClass("current");
INTERFACE.removeReviewType($(this), "on");
return !1;
});
a.find("li s").click(function () {
INTERFACE.removeReviewType($(this).parent().parent(), "off");
$(this).parent().parent().removeClass("current");
return !1;
});
}
function pagecomment() {
$.popupbox.close();
//location.hash="comment";
var url = $("#commentRule p a").eq(1).attr("data-url");
if (url != "") {
window.location.href = url;
}
}
function GoCommentPage(val) {
pagenow = val;
SearchComment();
$("html,body").animate({ scrollTop: $("#comment").offset().top }, 1000);
}
//排序
function orderBy(o) {
order = o;
pagenow = 1;
SearchComment();
}
//有用、写点评
function CommentFsl() {
usefulBind();
}
//提示不可以点评的方法
var cannotComment = function () {
$.popupbox.show({
id: 'commentRule',
callback: function () { }
});
};
//有用状态设置
function usefulBind() {
var commentids = "";
$(".comment_ctrip .useful a[data-id]").each(function () {
var commentid = $(this).attr("data-id");
commentids = commentids + "," + commentid;
});
if (commentids != "") {
$.ajax({
url: '/destinationsite/Comment/UserfulBind',
type: "post",
async: true,
data: { "commentids": commentids },
dataType: "json",
success: function (responseText) {
if (responseText && responseText.length > 0) {
$.each(responseText, function (i, item) {
if (item && item.key != "") {
$(".comment_ctrip .useful a[data-id=" + item.commentid + "]").attr("data-clicked", item.isUserful);
if (item.isUserful) {
$(".comment_ctrip .useful a[data-id=" + item.commentid + "]").attr("class", "gray");
}
}
});
}
},
error: function () {
}
});
}
}
var asynfunc = window.asynfunc
[];
asynfunc.push(eventbinding);
}

我要回帖

更多关于 开水暖五金店利润怎么样 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信