padding-bottom.uvue 635 字节
Newer Older
DCloud-WZF's avatar
DCloud-WZF 已提交
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
<template>
  <view style="flex-grow: 1;">
    <view>
      <text>padding-bottom: 25px</text>
      <view class="common" style="padding-bottom: 25px;">
        <view style="flex-grow: 1;background-color: red;"></view>
      </view>
    </view>

    <view style="width: 250px;">
      <text>padding-bottom: 10%</text>
      <view class="common" style="padding-bottom: 10%;">
        <view style="flex-grow: 1;background-color: red;"></view>
      </view>
    </view>
  </view>
</template>

<script>

</script>

<style>
  .common {
    width: 250px;
    height: 250px;
    background-color: gray;
  }
</style>