<div :class="{articleDetails:true, phoneWidth:phoneW}"></div>
if(window.matchMedia("(max-width:767px)").matches){
this.phoneW = true;
}
.phoneWidth{
width: 10rem;
padding: pxTorem(40px);//移动端一定要使用pxTorem
img{
max-width:pxTorem(670px) ;
}
}