to:sync
This commit is contained in:
parent
44c00e5f61
commit
f744a0832e
@ -31,6 +31,11 @@ define(function (require, exports, module) {
|
|||||||
curClientW = designWidth;
|
curClientW = designWidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (curClientW >= designWidth) {
|
||||||
|
ctx.MyRoot().style.width = "60%";
|
||||||
|
} else {
|
||||||
|
ctx.MyRoot().style.width = "100%";
|
||||||
|
}
|
||||||
|
|
||||||
let dpr = getDpr();
|
let dpr = getDpr();
|
||||||
//set 1rem = curClientW / designWidth (支持响应式)
|
//set 1rem = curClientW / designWidth (支持响应式)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user