Showing
1 changed file
with
5 additions
and
1 deletions
@@ -270,10 +270,14 @@ webpackJsonp([8],[ | @@ -270,10 +270,14 @@ webpackJsonp([8],[ | ||
270 | hidden: true, | 270 | hidden: true, |
271 | render: function (item) { | 271 | render: function (item) { |
272 | var searchAndLabel = item.searchAndLabel ? item.searchAndLabel : '', | 272 | var searchAndLabel = item.searchAndLabel ? item.searchAndLabel : '', |
273 | + searchKeys = item.searchKeys ? item.searchKeys : '', | ||
273 | style = item.style ? item.style : '', | 274 | style = item.style ? item.style : '', |
274 | pattern = item.pattern ? item.pattern : '', | 275 | pattern = item.pattern ? item.pattern : '', |
275 | makeCrafts = item.makeCrafts ? item.makeCrafts : ''; | 276 | makeCrafts = item.makeCrafts ? item.makeCrafts : ''; |
276 | - return '关键词:' + searchAndLabel + '<br>' + | 277 | + if(searchKeys.length>15){ |
278 | + searchKeys=searchKeys.substr(0,15)+"..."; | ||
279 | + } | ||
280 | + return '关键词:' + searchKeys + '<br>' + | ||
277 | '风格:' + style + '<br>' + | 281 | '风格:' + style + '<br>' + |
278 | '纹理:' + pattern + '<br>' + | 282 | '纹理:' + pattern + '<br>' + |
279 | '工艺:' + makeCrafts + '<br>'; | 283 | '工艺:' + makeCrafts + '<br>'; |
-
Please register or login to post a comment