You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 年之前
12345678910111213141516171819202122232425
  1. <view wx:if="{{vertical}}" style="height: {{height}}rpx;display: flex; flex-direction: column; {{justify ? 'justify-content: ' + justify + ';' : '' }} {{align ? 'align-items: ' + align + '; ' : ''}} {{styleCss ? styleCss : ''}}">
  2. <slot></slot>
  3. </view>
  4. <view wx:else style="display: flex; {{justify ? 'justify-content: ' + justify + ';' : '' }} {{align ? 'align-items: ' + align + '; ' : ''}} {{wrap ? 'flex-wrap: ' + wrap + '; ' : ''}} {{styleCss ? styleCss : ''}}">
  5. <slot></slot>
  6. </view>
  7. <!-- justify -->
  8. <!-- center
  9. end
  10. first baseline
  11. flex-end
  12. flex-start
  13. last baseline
  14. left
  15. right
  16. safe
  17. space-around
  18. space-between
  19. space-evenly -->
  20. <!-- align -->
  21. <!-- center
  22. flex-end
  23. flex-start -->