riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
miniprogram_npm/tdesign-miniprogram/grid/grid.wxml
@@ -1,16 +1 @@
<wxs src="../common/utils.wxs" module="_" />
<view style="{{_._style([style, customStyle])}}" class="{{_.cls(classPrefix, [theme])}} class {{prefix}}-class">
  <view wx:if="{{column > 0}}" class="{{classPrefix}}__content" style="{{ contentStyle }}">
    <slot />
  </view>
  <scroll-view
    wx:else
    scroll-x
    scroll-with-animation
    class="{{classPrefix}}__content"
    style="{{ 'white-space: nowrap;' + contentStyle }}"
  >
    <slot />
  </scroll-view>
</view>
<wxs src="../common/utils.wxs" module="_"/><view style="{{_._style([style, customStyle])}}" class="{{_.cls(classPrefix, [theme])}} class {{prefix}}-class"><view wx:if="{{column > 0}}" class="{{classPrefix}}__content" style="{{ contentStyle }}"><slot/></view><scroll-view wx:else scroll-x scroll-with-animation class="{{classPrefix}}__content" style="{{ 'white-space: nowrap;' + contentStyle }}"><slot/></scroll-view></view>