This commit is contained in:
haomingming
2023-05-05 11:44:37 +08:00
parent e7be139b04
commit 97a504c6d2
55 changed files with 1961 additions and 249 deletions
+4
View File
@@ -20,6 +20,10 @@ Component({
type: String,
value: '查看示例',
},
textarea_cell_note_show:{
type: Boolean,
value: true,
},
textarea_cell_content_placeholder: {
type: String,
value: '请输入文字',
+1 -1
View File
@@ -1,7 +1,7 @@
<view class="textarea-cell">
<view class="textarea-cell-top">
<view class="textarea-cell-name">{{ textarea_cell_name }}<text wx:if="{{ required }}" class="required"> *</text></view>
<view class="textarea-cell-note t-cell__note" bindtap="onshowNote">
<view class="textarea-cell-note t-cell__note" bindtap="onshowNote" wx:if="{{textarea_cell_note_show}}">
<view><t-icon name="{{ t_icon_name }}" size="{{ t_icon_size}}" data-name="{{ t_icon_name }}" /></view>
<text style="font-size: 28rpx;">{{ textarea_cell_note }}</text>
</view>