flex.scss 953 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
view,
label,
swiper-item
{
  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
  {
DCloud_JSON's avatar
DCloud_JSON 已提交
47 48 49 50 51 52 53 54
    display: flex;
    flex-shrink: 0;
    flex-grow: 0;
    flex-basis: auto;
    align-items: stretch;
    align-content: flex-start;
  }
  
55
  button{
DCloud_JSON's avatar
DCloud_JSON 已提交
56 57 58
    margin: 0;
  }
  
59 60 61
  view,
  label,
  swiper-item {
DCloud_JSON's avatar
DCloud_JSON 已提交
62 63 64
    flex-direction: column;
  }
  
65 66 67 68 69 70 71 72 73
  view,
  image,
  input,
  scroll-view,
  swiper,
  swiper-item,
  text,
  textarea,
  video {
DCloud_JSON's avatar
DCloud_JSON 已提交
74 75
    position: relative;
    border: 0px solid #000000;
76 77
    box-sizing: border-box;
  }
DCloud_JSON's avatar
DCloud_JSON 已提交
78
  
79
  swiper-item {
DCloud_JSON's avatar
DCloud_JSON 已提交
80
    position: absolute;
81
  }
82
}