管灌系统农户端微信小程序(嘉峪关应用)
zuoxiao
2024-02-26 3f7ec892d68f71e996489d14d9918dc332281b1e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<import src="../common/template/icon.wxml" />
<wxs src="../common/utils.wxs" module="_" />
 
<view
  style="{{_._style([style, customStyle])}}"
  class="{{classPrefix}} {{classPrefix}}--theme-{{theme}} class {{prefix}}-class"
>
  <view aria-hidden="true" class="{{classPrefix}}__thumb">
    <t-image wx:if="{{image}}" t-class="{{prefix}}-class-image" src="{{image}}" mode="aspectFit" />
    <template wx:elif="{{_icon}}" is="icon" data="{{class: classPrefix + '__icon', ..._icon }}" />
    <slot name="image" />
  </view>
 
  <view class="{{classPrefix}}__title {{prefix}}-class-title">
    <block wx:if="{{title}}"> {{title}} </block>
    <slot name="title" />
  </view>
  <view class="{{classPrefix}}__description {{prefix}}-class-description">
    <block wx:if="{{description}}"> {{description}} </block>
    <slot name="description" />
  </view>
</view>