|
@@ -146,8 +146,8 @@ function showDetail(name){
|
|
|
}
|
|
|
})
|
|
|
// 判断是否是在pc中 如果是则通知pc显示弹窗
|
|
|
- console.log(window.innerWidth);
|
|
|
- if(window.innerWidth>600){
|
|
|
+ // console.log(window.innerWidth);
|
|
|
+ if(isPcShow){
|
|
|
window.parent.postMessage({
|
|
|
opt:'showDetail',
|
|
|
data:JSON.stringify({...data,type_name:props.data.name})
|