...
|
...
|
@@ -16,7 +16,33 @@ |
|
|
</head>
|
|
|
<body class="pro_box">
|
|
|
<div class="aside">
|
|
|
|
|
|
<volist name="cos_data" id="vo">
|
|
|
<a href="{:url('Product/commp',array('id'=>$vo.id))}" class="aside_son">
|
|
|
<div class="aside_1">
|
|
|
|
|
|
|
|
|
<if condition="$vo.fenlei eq 1">
|
|
|
<img src="__TMPL__/public/assets/images/aicon13.png" alt="">
|
|
|
</if>
|
|
|
<if condition="$vo.fenlei eq 2">
|
|
|
<img src="__TMPL__/public/assets/images/aicon14.png" alt="">
|
|
|
</if>
|
|
|
<if condition="$vo.fenlei eq 3">
|
|
|
<img src="__TMPL__/public/assets/images/aicon15.png" alt="">
|
|
|
</if>
|
|
|
|
|
|
<if condition="$vo.fenlei eq 1">
|
|
|
<p>说明书</p>
|
|
|
</if>
|
|
|
<if condition="$vo.fenlei eq 2">
|
|
|
<p>文献</p>
|
|
|
</if>
|
|
|
<if condition="$vo.fenlei eq 3">
|
|
|
<p>COA</p>
|
|
|
</if>
|
|
|
</div>
|
|
|
</a>
|
|
|
</volist>
|
|
|
|
|
|
</div>
|
|
|
<include file="public@nav"/>
|
...
|
...
|
@@ -116,6 +142,26 @@ |
|
|
$('.pro_right_txt').html(shuju.post_content);
|
|
|
/*$('.pro_btn').remove();
|
|
|
$('.pro_right_txt').after("<div class='pro_btn'>显示更多</div>");*/
|
|
|
|
|
|
$.post("{:url('Product/commps')}", {id:id}, function(data) {
|
|
|
coa = JSON.parse(data);
|
|
|
for (var i = 0; i <coa.length; i++) {
|
|
|
if(coa[i].fenlei == 1){
|
|
|
$('.aside').append("<a href='{:url('Product/commp')}?id="+coa[i].id+"' class='aside_son'><div class='aside_1'><img src='__TMPL__/public/assets/images/aicon13.png'><p>说明书</p></div></a>");
|
|
|
}
|
|
|
if(coa[i].fenlei == 2){
|
|
|
$('.aside').append("<a href='{:url('Product/commp')}?id="+coa[i].id+"' class='aside_son'><div class='aside_1'><img src='__TMPL__/public/assets/images/aicon14.png'><p>文献</p></div></a>");
|
|
|
}
|
|
|
if(coa[i].fenlei == 3){
|
|
|
$('.aside').append("<a href='{:url('Product/commp')}?id="+coa[i].id+"' class='aside_son'><div class='aside_1'><img src='__TMPL__/public/assets/images/aicon15.png'><p>COA</p></div></a>");
|
|
|
}
|
|
|
|
|
|
}
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
|