From 3282e95db0207ee133d1e98d9771dec9d83b0fc4 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 02 四月 2026 16:24:38 +0800
Subject: [PATCH] 2026.4.2 新增专题管理功能

---
 miniprogram_npm/tdesign-miniprogram/avatar/avatar.wxml |   55 +------------------------------------------------------
 1 files changed, 1 insertions(+), 54 deletions(-)

diff --git a/miniprogram_npm/tdesign-miniprogram/avatar/avatar.wxml b/miniprogram_npm/tdesign-miniprogram/avatar/avatar.wxml
index a92bb54..38f77b0 100644
--- a/miniprogram_npm/tdesign-miniprogram/avatar/avatar.wxml
+++ b/miniprogram_npm/tdesign-miniprogram/avatar/avatar.wxml
@@ -1,54 +1 @@
-<import src="../common/template/icon.wxml" />
-<wxs src="../common/utils.wxs" module="_" />
-<wxs src="./avatar.wxs" module="this" />
-
-<view
-  class="{{classPrefix}}__wrapper class {{prefix}}-class"
-  style="{{_._style([this.getStyles(isShow, zIndex), style, customStyle])}}"
->
-  <t-badge
-    color="{{badgeProps.color || ''}}"
-    content="{{badgeProps.content || ''}}"
-    count="{{badgeProps.count || 0}}"
-    dot="{{badgeProps.dot || false}}"
-    max-count="{{badgeProps.maxCount || 99}}"
-    offset="{{badgeProps.offset || []}}"
-    shape="{{badgeProps.shape || 'circle'}}"
-    show-zero="{{badgeProps.showZero || false}}"
-    size="{{badgeProps.size || 'medium'}}"
-    t-class="{{badgeProps.tClass}}"
-    t-class-content="{{badgeProps.tClassContent}}"
-    t-class-count="{{badgeProps.tClassCount}}"
-  >
-    <view
-      class="{{this.getClass(classPrefix, size, shape, bordered || borderedWithGroup)}} {{prefix}}-class-image"
-      style="{{this.getSize(size)}}"
-      aria-label="{{ ariaLabel || alt ||'澶村儚'}}"
-      aria-role="{{ ariaRole || 'img'}}"
-      aria-hidden="{{ ariaHidden }}"
-    >
-      <t-image
-        wx:if="{{image}}"
-        t-class="{{prefix}}-image {{classPrefix}}__image"
-        t-class-load="{{prefix}}-class-alt"
-        style="{{imageProps.style || ''}}"
-        src="{{image}}"
-        mode="{{imageProps.mode || 'aspectFill'}}"
-        lazy="{{imageProps.lazy || false}}"
-        loading="{{imageProps.loading || 'default'}}"
-        shape="{{imageProps.shape || 'round'}}"
-        webp="{{imageProps.webp || false}}"
-        error="{{alt || 'default'}}"
-        bind:error="onLoadError"
-      />
-      <template
-        wx:elif="{{iconName || _.isNoEmptyObj(iconData)}}"
-        is="icon"
-        data="{{class: classPrefix + '__icon', tClass: prefix + '-class-icon', name: iconName, ...iconData}}"
-      />
-      <view wx:else class="{{classPrefix}}__text {{prefix}}-class-content">
-        <slot />
-      </view>
-    </view>
-  </t-badge>
-</view>
+<import src="../common/template/icon.wxml"/><wxs src="../common/utils.wxs" module="_"/><wxs src="./avatar.wxs" module="_this"/><view class="{{classPrefix}}__wrapper class {{prefix}}-class" style="{{_._style([_this.getStyles(isShow), style, customStyle])}}"><t-badge color="{{badgeProps.color || ''}}" content="{{badgeProps.content || ''}}" count="{{badgeProps.count || 0}}" dot="{{badgeProps.dot || false}}" max-count="{{badgeProps.maxCount || 99}}" offset="{{badgeProps.offset || []}}" shape="{{badgeProps.shape || 'circle'}}" show-zero="{{badgeProps.showZero || false}}" size="{{badgeProps.size || 'medium'}}" t-class="{{badgeProps.tClass}}" t-class-content="{{badgeProps.tClassContent}}" t-class-count="{{badgeProps.tClassCount}}"><view class="{{_this.getClass(classPrefix, size || 'medium', shape, bordered)}} {{prefix}}-class-image" style="{{_this.getSize(size, systemInfo)}}" aria-label="{{ ariaLabel || alt ||'澶村儚'}}" aria-role="{{ ariaRole || 'img'}}" aria-hidden="{{ ariaHidden }}"><t-image wx:if="{{image}}" t-class="{{prefix}}-image {{classPrefix}}__image" t-class-load="{{prefix}}-class-alt" style="{{imageProps && imageProps.style || ''}}" src="{{image}}" mode="{{imageProps && imageProps.mode || 'aspectFill'}}" lazy="{{imageProps && imageProps.lazy || false}}" loading="{{imageProps && imageProps.loading || 'default'}}" shape="{{imageProps && imageProps.shape || 'round'}}" webp="{{imageProps && imageProps.webp || false}}" error="{{alt || 'default'}}" bind:error="onLoadError"/><template wx:elif="{{iconName || _.isNoEmptyObj(iconData)}}" is="icon" data="{{tClass: classPrefix + '__icon ' + prefix + '-class-icon', name: iconName, ...iconData}}"/><view wx:else class="{{classPrefix}}__text {{prefix}}-class-content"><slot/></view></view></t-badge></view>
\ No newline at end of file

--
Gitblit v1.9.3