Files
MiniProgram/ProjectLiaisonForm/pages/rate/show-text/index.wxml
2025-08-15 14:05:08 +08:00

16 lines
685 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="demo-rate">
<view class="demo-rate__title">带描述评分</view>
<!-- 自定义带描述评分设置属性texts -->
<t-rate value="{{value[0]}}" data-index="{{0}}" bind:change="onChange" showText="{{true}}" texts="{{texts}}" />
</view>
<view class="demo-rate">
<view class="demo-rate__title">带描述评分</view>
<!-- 带描述评分设置属性showText-->
<t-rate value="{{value[1]}}" data-index="{{1}}" bind:change="onChange" showText="{{true}}" />
</view>
<view class="demo-rate">
<view class="demo-rate__title">带描述评分</view>
<t-rate value="{{value[2]}}" data-index="{{2}}" bind:change="onChange" showText="{{true}}" />
</view>