public string ProPinglun2()
        {
            int pinglunpageSize = 2;//每一页的行数
            int pinglunpageNumber = 1;//当前页数
            string html = "";
            int xing = 0;
            string skuid = "";
            if (!string.IsNullOrEmpty(RequestBase.GetString("pageNum")))
            {
                pinglunpageNumber = Convert.ToInt32(RequestBase.GetString("pageNum"));
            }
            if (!string.IsNullOrEmpty(RequestBase.GetString("skuid")))
            {
                skuid = RequestBase.GetString("skuid").ToString();
            }
            var pl = new BLL.ProductAppraiseBase().GetModelListByskuId(" sku_ID= " + int.Parse(skuid) + " order by pa_CreatedOn desc");
            ViewBag.pinlun = pl.ToPagedList(pinglunpageNumber, pinglunpageSize);
            html += "<ul class=\"vip-pj-list\">";
            if (pl.Count > 0)
            {
                xing = int.Parse(pl[0].pavg.ToString()) * 68 / 5;
            }

            foreach (var item in ViewBag.pinlun)
            {
                var fen = item.pa_Satisfied;
                var width = fen * 1 * 68 / 5;

                html += "<li><div class=\"head-img\"><dl><dt><img name=\"page_cnt_1\" _src=\"" + item.member.m_HeadImg + "\" alt=\"会员头像\" /></dt><dd>" + item.member.m_UserName + "</dd></dl></div><div class=\"borders vip-pj\"><div class=\"dashed-div\"><div class=\"pj-star alignleft\"><span><em class=\"showstart\" value=\""+item.pa_Satisfied+"\" style=\"width:"+width+"px\"></em></span></div><div class=\"say-time alignright\">" + item.pa_CreatedOn + "</div><div class=\"clear\"></div></div><!--dashed-div end--><div class=\"dashed-div\"><div class=\"pj-font\">评价:</div><div class=\"pj-fonts\"><p>" + item.pa_Content + "</p></div></div><!--dashed-div end--><div class=\"button-pointer\"><div class=\"hands\"></div><span value=\"@item.pa_ID\">赞(<i>" + item.pa_PraiseCount + "</i>)</span></div></div></li>";
            }
            html += " </ul>";
            return html;
        }
        public ActionResult ProPinglun()
        {
            int pinglunpageSize = 2;//每一页的行数
            int pinglunpageNumber = 1;//当前页数
            //评论
            model.pinglun = new BLL.ProductAppraiseBase().GetModelListByskuId(" sku_ID=" + int.Parse(skuid) + "and pa_StatusCode=0 and pa_IsDel=0 order by pa_CreatedOn desc");
            model.vmpinfolist = new BLL.vw_PInfo().GetModelList(" p_IsDel=0 and p_StatusCode=0 and p_SellStatus=1  and sku_ID= " + int.Parse(skuid));//商品信息
            ViewBag.vmpinfolist = model.vmpinfolist[0];
            if (model.pinglun.Count > 0)
            {
                ViewData["midcount"] = model.pinglun[0].member.midcount;
                ViewData["pinglunscore"] = model.pinglun[0].pavg;
                ViewData["tiao"] = int.Parse(model.pinglun[0].pavg.ToString()) * 20;//显示满意度的箭头所指的地方
                ViewData["xing"] = int.Parse(model.pinglun[0].pavg.ToString()) * 68 / 5;//显示满意度的箭头所指的地方
            }
            else
            {
                ViewData["midcount"] = "0";
                ViewData["pinglunscore"] = "0";
            }
            if (LoginMember != null)
            { ViewData["logon"] = true; }
            else
            { ViewData["logon"] = false; }
            var pl = new BLL.ProductAppraiseBase().GetModelListByskuId(" sku_ID=" + int.Parse(skuid)+" and pa_IsDel=0 and pa_StatusCode=0 order by pa_CreatedOn desc");
            ViewBag.pinlun = pl.ToPagedList(pinglunpageNumber, pinglunpageSize);

            ViewData["pingluncount"] = model.pinglun.Count;
            ViewData["pagerows"] = pinglunpageSize;
            ViewData["page"] = pinglunpageNumber;
            var pinglunshuoming = _newsBase.GetModelList(" n_Title='商品评论说明'  and n_StatusCode=0 and n_IsDel=0");
            if (pinglunshuoming != null && pinglunshuoming.Any())
            {
                ViewBag.pinglunshuoming = pinglunshuoming[0].n_Content;
            }
            else
            {
                ViewBag.pinglunshuoming = "暂无商品评论说明";
            }
            return View(ViewBag.pinlun);
        }