- <view class="{{classPrefix}} {{classPrefix}}--theme-{{theme}} {{prefix}}-class">
- <view class="{{classPrefix}}__thumb">
- <t-image wx:if="{{image}}" t-class="{{prefix}}-class-image" src="{{image}}" mode="aspectFit" />
- <t-icon wx:elif="{{ iconName }}" size="160rpx" name="{{ iconName }}" />
- <slot wx:else name="image" class="{{prefix}}-class-image" />
- </view>
- <view class="{{classPrefix}}__title {{prefix}}-class-title">
- <view wx:if="{{title}}"> {{title}} </view>
- <slot wx:else name="title" />
- </view>
- <view class="{{classPrefix}}__description {{prefix}}-class-description">
- <view wx:if="{{description}}"> {{description}} </view>
- <slot wx:else name="description" />
- </view>
- </view>
|