WeChat Mini Programs list click question

click on WeChat Mini Programs list,

    <view class="song" wx:for="{{myRegList}}">
      <view class="songInfo">
        <view class="songName">{{item.name}}</view>
        <view class="songer">{{item.singer_names}}</view>
      </view>
      <view class="songBtn" bindtap="chooseSong" data-songid="{{item.song_no}}">
        <image src="../../image/b3.png" class="songBtnImg"></image>
        <view class="songBtnTxt">+ </view>
      </view>
    </view>

clipboard.png

how to change the text of the current button to "clicked" when you click the button chooseSong?

Apr.01,2021

you add a view tag, render with conditions, and control

with a value.
<view class='songBtnTxt' wx-if="{{item.is_add}}">+ </view>
<view class='songBtnTxt' wx-else></view>

<view class='songBtnTxt'>{{item.is_add?'':'+ '}}</view>
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-249950d-2be1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-249950d-2be1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?