From 1f9e43b7bbb848c7ee2aaa89ffece17002b2c915 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 16 一月 2026 17:31:08 +0800
Subject: [PATCH] 2026.1.16
---
miniprogram_npm/tdesign-miniprogram/navbar/navbar.wxml | 23 +----------------------
1 files changed, 1 insertions(+), 22 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/navbar/navbar.wxml b/miniprogram_npm/tdesign-miniprogram/navbar/navbar.wxml
index 29f597d..ddb1cb1 100644
--- a/miniprogram_npm/tdesign-miniprogram/navbar/navbar.wxml
+++ b/miniprogram_npm/tdesign-miniprogram/navbar/navbar.wxml
@@ -1,22 +1 @@
-<wxs src="../common/utils.wxs" module="_" />
-<view
- class="{{_.cls(classPrefix, [['fixed', fixed]])}} {{visibleClass}} class {{prefix}}-class"
- style="{{_._style([boxStyle, style, customStyle])}}"
->
- <view wx:if="{{fixed}}" class="{{classPrefix}}__placeholder" />
- <view class="{{classPrefix}}__content">
- <view class="{{classPrefix}}__left {{prefix}}-class-left">
- <view wx:if="{{leftArrow}}" class="{{classPrefix}}__btn" bind:tap="goBack" aria-role="button" aria-label="杩斿洖">
- <t-icon name="chevron-left" class="{{classPrefix}}__left-arrow" />
- </view>
- <slot name="left" />
- <view class="{{classPrefix}}__capsule {{prefix}}-class-capsule">
- <slot name="capsule" />
- </view>
- </view>
- <view class="{{classPrefix}}__center {{prefix}}-class-center">
- <slot name="title" />
- <text wx:if="{{title}}" class="{{classPrefix}}__center-title {{prefix}}-class-title">{{showTitle}}</text>
- </view>
- </view>
-</view>
+<wxs src="../common/utils.wxs" module="_"/><view class="{{_.cls(classPrefix, [['fixed', fixed]])}} {{visibleClass}} class {{prefix}}-class" style="{{_._style([boxStyle, style, customStyle])}}"><view wx:if="{{fixed}}" class="{{classPrefix}}__placeholder {{prefix}}-class-placeholder"/><view class="{{classPrefix}}__content {{prefix}}-class-content"><view class="{{classPrefix}}__left {{hideLeft ? classPrefix + '__left--hide' : ''}} {{prefix}}-class-left"><view wx:if="{{leftArrow}}" class="{{classPrefix}}__btn" bind:tap="goBack" aria-role="button" aria-label="杩斿洖"><t-icon name="chevron-left" class="{{classPrefix}}__left-arrow"/></view><slot name="left"/><view class="{{classPrefix}}__capsule {{prefix}}-class-capsule"><slot name="capsule"/></view></view><view class="{{classPrefix}}__center {{hideCenter ? classPrefix + '__center--hide' : ''}} {{prefix}}-class-center"><slot name="title"/><text wx:if="{{title}}" class="{{classPrefix}}__center-title {{prefix}}-class-title">{{showTitle}}</text></view></view></view>
\ No newline at end of file
--
Gitblit v1.9.3