Commit 3051cf04 authored by xishifeng's avatar xishifeng

bug1

parent 2c49a7c9
......@@ -80,7 +80,7 @@
</tr>
<tr v-if="!d.is_show">
<td colspan="2">对外项目优势:{{d.external_item_advantage}}</td>
<td v-if="d.shop_type" colspan="2">对外转让费:{{(d.external_slotting_fee == '-1')?'面议':d.external_slotting_fee}}</td>
<td v-if="d.shop_type" colspan="2">对外转让费:{{(d.external_slotting_fee == '-1')?'面议':(d.external_slotting_fee+'元')}}</td>
<td v-else colspan="2"></td>
</tr>
<tr v-if="!d.is_show && d.cover_plan">
......
......@@ -64,7 +64,16 @@ define (['doT', 'text!temp/notice_template_tpl.html','ckfinder','ckfinderStart',
});
// ===========================新增公告====================
//处理文件名,长度过长时处理
function dealFileName(str) {
//如果文件超过30的长度,则用*代替
if(str.length > 26) {
return str.slice(0, 23) + '***' + str.slice(-4);
} else {
return str;
};
};
$ (document).delegate (".announcement-details", "click", function () {//点击公告详情
$('.notice-title').html($(this).attr ("data-title"));
$('.notice-time').html($(this).attr ("data-createTime"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment