|
@@ -74,7 +74,7 @@ |
|
@@ -74,7 +74,7 @@ |
74
|
<div class="product_mainBox">
|
74
|
<div class="product_mainBox">
|
75
|
|
75
|
|
76
|
<div class="pro_left">
|
76
|
<div class="pro_left">
|
77
|
- <h1 class="proTitle">产品中心</h1>
|
77
|
+ <h1 class="proTitle" onclick="chanpin()">产品中心</h1>
|
78
|
|
78
|
|
79
|
|
79
|
|
80
|
|
80
|
|
|
@@ -84,7 +84,7 @@ |
|
@@ -84,7 +84,7 @@ |
84
|
|
84
|
|
85
|
<volist name="jdata" id="vo">
|
85
|
<volist name="jdata" id="vo">
|
86
|
<div class="ce1">
|
86
|
<div class="ce1">
|
87
|
- <div class="ce1_title ce1{$vo.id}">
|
87
|
+ <div class="ce1_title ce1{$vo.id}" onclick="title()">
|
88
|
<img src="__TMPL__/public/assets/images/aicon09.png" alt="">
|
88
|
<img src="__TMPL__/public/assets/images/aicon09.png" alt="">
|
89
|
<h2>{$vo.name}</h2>
|
89
|
<h2>{$vo.name}</h2>
|
90
|
</div>
|
90
|
</div>
|
|
@@ -162,6 +162,21 @@ |
|
@@ -162,6 +162,21 @@ |
162
|
$('.ce'+{$category}).children('h3').css({color:"red"});
|
162
|
$('.ce'+{$category}).children('h3').css({color:"red"});
|
163
|
})
|
163
|
})
|
164
|
|
164
|
|
|
|
165
|
+ //点击产品中心
|
|
|
166
|
+ function chanpin(id){
|
|
|
167
|
+
|
|
|
168
|
+ $('.ce1_title').children('h2').css({color:""});
|
|
|
169
|
+ $('.ce1_2_Li_title').children('h3').css({color:""});
|
|
|
170
|
+
|
|
|
171
|
+ $.post("{:url('Product/chanpins')}", {:}, function(data) {
|
|
|
172
|
+ shuju = JSON.parse(data);
|
|
|
173
|
+ $('.biaoti').text(shuju.post_title);
|
|
|
174
|
+ $('.zhaiyao').text(shuju.post_excerpt);
|
|
|
175
|
+ $('.pro_right_txt').html(shuju.post_content);
|
|
|
176
|
+ });
|
|
|
177
|
+
|
|
|
178
|
+ }
|
|
|
179
|
+
|
165
|
|
180
|
|
166
|
|
181
|
|
167
|
//点击查询单个文章
|
182
|
//点击查询单个文章
|