File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 139139 transform : translateY (0 );
140140 }
141141
142- &__button {
143- display : flex ;
144- align-items : center ;
142+ &__text {
143+ line-height : 36 rpx;
145144 }
146145
147146 &__icon {
Original file line number Diff line number Diff line change 5151<view class="actions actions--{{done ? 'active' : ''}}">
5252 <t-button-group>
5353 <t-button t-class="actions__button" size="large" block data-type="liked" bind:tap="toggleStarOrLike">
54- <t-icon name="heart{{liked ? '-filled' : ''}}" color="{{liked ? '#e34d59' : ''}}" size="36rpx" class="actions__icon"/> {{likeds ? likeds + ' 人' : ''}}喜欢
54+ <t-icon name="heart{{liked ? '-filled' : ''}}" color="{{liked ? '#e34d59' : ''}}" size="36rpx" class="actions__icon"/>
55+ <text class="actions__text">{{likeds ? likeds + ' 人' : ''}}喜欢</text>
5556 </t-button>
5657 <t-button t-class="actions__button" size="large" block data-type="starred" bind:tap="toggleStarOrLike">
57- <t-icon name="star{{starred ? '-filled' : ''}}" color="{{starred ? '#ed7b2f': ''}}" size="36rpx" class="actions__icon"/> 收藏
58+ <t-icon name="star{{starred ? '-filled' : ''}}" color="{{starred ? '#ed7b2f': ''}}" size="36rpx" class="actions__icon"/>
59+ <text class="actions__text">收藏</text>
5860 </t-button>
5961 </t-button-group>
6062 </view>
You can’t perform that action at this time.
0 commit comments