Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增对UIView任意圆角设置的支持,必须配合设置border-radius才有效 #121

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

cdoky
Copy link
Contributor

@cdoky cdoky commented Mar 5, 2015

使用方式如下:

test

    {
        border-radius:10px;
        corners:TR;
    }

注:
这里corners支持的值为:
TR --- UIRectCornerTopRight
TL ---- UIRectCornerTopLeft
BR --- UIRectCornerBottomRight
BL --- UIRectCornerBottomLeft

可以任意组合,中间减号连接,组合方式如下
TR-TL-BR

使用方式如下:
#test
        {
            border-radius:10px;
            corners:TR;
        }

注:
这里corners支持的值为:
TR --- UIRectCornerTopRight
TL ---- UIRectCornerTopLeft
BR --- UIRectCornerBottomRight
BL --- UIRectCornerBottomLeft

可以任意组合,中间减号连接,组合方式如下
TR-TL-BR
@cdoky
Copy link
Contributor Author

cdoky commented Mar 6, 2015

这个是根据我们的项目需求改的,已还原

BL BottomLeft
BR BottomRight
TL TopLeft
TR TopRight
    {
        "development":"http://10.10.1.3",
        "production":"http://10.10.1.4",
        "developmentcn":"http://10.10.1.5",
        "file":
        {
            "develope":"http://10.10.1.1",
            "production":"http://10.10.1.2"
        }
    },

对多种服务器url的支持
比如,正常的interface服务器,文件服务器
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants