var graphicprice = arry.graphicprice;
//if graphicprice != undefined,那么graphicprice = arry.graphicprice,否则 graphicprice = 0
(graphicprice != undefined) ? graphicprice = arry.graphicprice : graphicprice = 0;
$('#evaluate li:nth-child(1)').attr('name', arry.imageservice).find('span').html(graphicprice + '元/50分钟'); //图文