Showing
1 changed file
with
5 additions
and
1 deletions
@@ -329,10 +329,14 @@ webpackJsonp([43],[ | @@ -329,10 +329,14 @@ webpackJsonp([43],[ | ||
329 | hidden: false, | 329 | hidden: false, |
330 | render: function (item) { | 330 | render: function (item) { |
331 | var searchAndLabel = item.searchAndLabel ? item.searchAndLabel : '', | 331 | var searchAndLabel = item.searchAndLabel ? item.searchAndLabel : '', |
332 | + searchKeys = item.searchKeys ? item.searchKeys : '', | ||
332 | style = item.style ? item.style : '', | 333 | style = item.style ? item.style : '', |
333 | pattern = item.pattern ? item.pattern : '', | 334 | pattern = item.pattern ? item.pattern : '', |
334 | makeCrafts = item.makeCrafts ? item.makeCrafts : ''; | 335 | makeCrafts = item.makeCrafts ? item.makeCrafts : ''; |
335 | - return '关键词:' + searchAndLabel + '<br>' + | 336 | + if(searchKeys.length>15){ |
337 | + searchKeys=searchKeys.substr(0,15)+"..."; | ||
338 | + } | ||
339 | + return '关键词:' + searchKeys + '<br>' + | ||
336 | '风格:' + style + '<br>' + | 340 | '风格:' + style + '<br>' + |
337 | '纹理:' + pattern + '<br>' + | 341 | '纹理:' + pattern + '<br>' + |
338 | '工艺:' + makeCrafts + '<br>'; | 342 | '工艺:' + makeCrafts + '<br>'; |
-
Please register or login to post a comment