|
@@ -20,8 +20,8 @@
|
|
<text>{{item.name}}</text>
|
|
<text>{{item.name}}</text>
|
|
</div>
|
|
</div>
|
|
<div class="ir">
|
|
<div class="ir">
|
|
- <image @tap.stop="playOnOff(0,item,index)" src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/07/04/fbfe67d5-a69b-4bb1-81a5-83d19403b88e.png" v-if="item.play"></image>
|
|
|
|
- <image @tap.stop="playOnOff(1,item,index)" src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/07/04/9ef5fc85-05b2-4681-b37e-47cf843f5b6c.png" v-else></image>
|
|
|
|
|
|
+ <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/07/04/fbfe67d5-a69b-4bb1-81a5-83d19403b88e.png" v-if="item.play"></image>
|
|
|
|
+ <image src="https://transcend.ringzle.com/xiaozhi-app/profile/2025/07/04/9ef5fc85-05b2-4681-b37e-47cf843f5b6c.png" v-else></image>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -69,6 +69,7 @@
|
|
selectVoice(item,index){
|
|
selectVoice(item,index){
|
|
this.voice = item;
|
|
this.voice = item;
|
|
this.idx = index;
|
|
this.idx = index;
|
|
|
|
+ this.playOnOff(item.play?0:1,item,index)
|
|
},
|
|
},
|
|
playOnOff(type,item,index){
|
|
playOnOff(type,item,index){
|
|
let idx = this.list.findIndex(l=>l.play);
|
|
let idx = this.list.findIndex(l=>l.play);
|
|
@@ -117,7 +118,7 @@
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
|
|
.top{
|
|
.top{
|
|
- margin-top: 18rpx;
|
|
|
|
|
|
+ margin-top: 32rpx;
|
|
border-radius: 16rpx;
|
|
border-radius: 16rpx;
|
|
border: 1rpx solid #EEEEEE;
|
|
border: 1rpx solid #EEEEEE;
|
|
padding: 16rpx 24rpx;
|
|
padding: 16rpx 24rpx;
|