diff --git a/common/baseStyle.scss b/common/baseStyle.scss index b442e44baec7fd02ac87a42f0a0b448267517c6a..6c25b267765cfc082e738d9ce9884f6ce27fd546 100644 --- a/common/baseStyle.scss +++ b/common/baseStyle.scss @@ -1,39 +1,46 @@ -view, -label -// swiper-item -{ - display: flex; - flex-shrink: 0; - flex-grow: 0; - flex-basis: auto; - align-items: stretch; - align-content: flex-start; - // border: 1px solid #000; -} +// TODO:web 端编译器有 bug,web 端暂时先保留::v-deep +/* #ifdef H5 */ +::v-deep { +/* #endif */ + view, + label + // swiper-item + { + display: flex; + flex-shrink: 0; + flex-grow: 0; + flex-basis: auto; + align-items: stretch; + align-content: flex-start; + // border: 1px solid #000; + } -button{ - margin: 0; -} + button{ + margin: 0; + } -view, -label, -swiper-item { - flex-direction: column; -} + view, + label, + swiper-item { + flex-direction: column; + } -view, -image, -input, -scroll-view, -swiper, -swiper-item, -text, -textarea, -video { - position: relative; - box-sizing: border-box; -} + view, + image, + input, + scroll-view, + swiper, + swiper-item, + text, + textarea, + video { + position: relative; + box-sizing: border-box; + } -swiper-item { - position: absolute; -} \ No newline at end of file + swiper-item { + position: absolute; + } +/* #ifdef H5 */ +} +/* #endif */ \ No newline at end of file