This repository has been archived by the owner on Jun 3, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 908
Popup 弹出的内容区域只有设置 width 的一半 #55
Comments
you can add this in your webpack.config.js weexteam/pack-create-for-Apache-Weex@ee820f3#diff-79e419d0157b98ec6be582b1b394d819 or you can update the weexpack to latest and again create it Try it. If there is no problem, you can close this issue |
erha19
added a commit
to weexteam/pack-create-for-Apache-Weex
that referenced
this issue
Nov 21, 2017
update the weexpack-create, see apache/incubator-weex-ui#55
i already add those code: {
test: /\.vue(\?[^?]+)?$/,
use: [{
loader: 'vue-loader',
options: {
/**
* important! should use postTransformNode to add $processStyle for
* inline style normalization.
*/
compilerModules: [
{
postTransformNode: el => {
el.staticStyle = `$processStyle(${el.staticStyle})`
el.styleBinding = `$processStyle(${el.styleBinding})`
}
}
]
}
}]
}, |
@caiyongmin Is that all right? |
@tw93 nope, still have the problem. |
That should be correct , Because it's based on 750,The number you set should be in this ratio |
Recreate a project and replace it. do not forget
and you can see it here https://github.com/tw93/weex-ui-with-toolkit |
OK, thx! I'll check the webpack configuration to see what went wrong. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Before you start writing a issue,Please make sure there have not the same issue.
一、Your development environment(weex、weex-toolkit、system and more.)
二、Expected behavior and actual behavior.
Expected behavior
弹出的内容区域等于设置的 width 值。
![image](https://user-images.githubusercontent.com/11053605/33059277-91f5c31a-cece-11e7-8be8-7c0e697bbb99.png)
Actual behavior
弹出的内容区域只有设置 width 值的一半。
三、Steps to reproduce the problem.
使用通用 demo 就可以复现。
The text was updated successfully, but these errors were encountered: