提交 ae2fa244 编写于 作者: DCloud_JSON's avatar DCloud_JSON

修复 在微信小程序端样式错误

上级 1b345ea1
page ::v-deep { view,
uni-view, label,
uni-label, swiper-item
uni-swiper-item, {
uni-scroll-view { display: flex;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
align-items: stretch;
align-content: flex-start;
}
button{
margin: 0;
}
view,
label,
swiper-item {
flex-direction: column;
}
view,
image,
input,
scroll-view,
swiper,
swiper-item,
text,
textarea,
video {
position: relative;
border: 0px solid #000000;
box-sizing: border-box;
}
swiper-item {
position: absolute;
}
::v-deep {
view,
label,
swiper-item
{
display: flex; display: flex;
flex-shrink: 0; flex-shrink: 0;
flex-grow: 0; flex-grow: 0;
...@@ -11,32 +52,31 @@ page ::v-deep { ...@@ -11,32 +52,31 @@ page ::v-deep {
align-content: flex-start; align-content: flex-start;
} }
uni-button{ button{
margin: 0; margin: 0;
} }
uni-view, view,
uni-label, label,
uni-swiper-item { swiper-item {
flex-direction: column; flex-direction: column;
} }
view,
uni-view, image,
uni-image, input,
uni-input, scroll-view,
uni-scroll-view, swiper,
uni-swiper, swiper-item,
uni-swiper-item, text,
uni-text, textarea,
uni-textarea, video {
uni-video {
position: relative; position: relative;
border: 0px solid #000000; border: 0px solid #000000;
box-sizing: border-box; box-sizing: border-box;
} }
uni-swiper-item { swiper-item {
position: absolute; position: absolute;
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册