标签:none UNC space normal play visible func ali title
var style = (lis.visible*1 === 0 ? ‘display: none;‘ : ‘‘);
var abbrStyle = ‘‘;
// style +=‘white-space:‘ +‘normal‘+‘;‘;
if(lis.note ===‘left‘) {
abbrStyle += ‘ text-align:left;‘
}else if(lis.note ===‘right‘) {
abbrStyle += ‘text-align:right;‘
} else if($.trim(lis.note) ===‘height-auto‘){
abbrStyle += ‘white-space:normal; text-align:left; text-overflow: normal;word-break: break-all;‘;
}
console.log(abbrStyle);
str += ‘<span data-func="‘ + lis.func + ‘" ‘ +
‘data-key="‘ + lis.key + ‘" ‘ +
‘data-select="‘ + lis.select + ‘" ‘ +
‘class=" ‘ + lis.cls + ‘ ‘ + lis.w + ‘ " ‘ +
‘style=" ‘ + fryyClass + style + ‘ " ‘ +
‘data-msg="‘+dataMsg+‘" ‘ +
‘data-verification="‘+lis.verification+‘" ‘ +
‘title="‘+ title +‘">‘ +
‘<abbr style="‘+abbrStyle+‘">‘+
value +
‘</abbr>‘ +
‘</span>‘;
后台:配置居左中右1,2,3;高度自适应:height-auto;
标签:none UNC space normal play visible func ali title
原文地址:https://www.cnblogs.com/benbenjia/p/9371057.html