};
this.cache = {
aMsg : [
“很不满意|差得太离谱,与卖家描述的严重不符,非常不满”,
“不满意|部分有破损,与卖家描述的不符,不满意”,
“一般|质量一般,没有卖家描述的那么好”,
“满意|质量不错,与卖家描述的基本一致,还是挺满意的”,
“非常满意|质量非常好,与卖家描述的完全一致,非常满意”
],
iStar : 0,
iScore : 0
};
this.init(options);
}
Score.prototype = {
constructor: Score,
init: function(options){
this.config = $.extend(this.config,options || {});
var self = this,
_config = self.config,
_cache = self.cache;
self._renderHTML();
},
_renderHTML: function(){
var self = this,
_config = self.config;
var html = ‘<span class=”desc”></span>’ +
‘<p class=”star-p hidden”></p>’;
$(_config.selector).each(function(index,item){
$(item).append(html);
$(item).wrap($(‘<div class=”parentCls” style=”position:relative”></div>’));










