Var wid=window. InnerWidth;
If (wid> 600) {
Return [' 50% ', '90%'].
} else {
Return [' 70% ', '90%'].
}
Page small popup window than get bigger, but it still has a problem is in the page when open the popup window will be down, pop-up proportion will not change, strives for the great god answer how we can solve the problem