|
@@ -38,15 +38,15 @@
|
|
|
const regex = new RegExp(`\\${placeholder}`, 'g');
|
|
|
if (!this.isplaying) {
|
|
|
result = result.replace(regex,
|
|
|
- `<view class="yy-box"><view class="yingyu canplay" id="t_${this.question.stId}_${index}">【图片1】</view></view>`
|
|
|
+ `<view class="yy-box"><view class="yingyu-canplay-img" id="t_${this.question.stId}_${index}">【图片1】</view></view>`
|
|
|
);
|
|
|
} else if (this.question.stId == this.isplaying.stId && this.isplaying.index == index) {
|
|
|
result = result.replace(regex,
|
|
|
- `<view class="yy-box"><view class="yingyu playing" id="t_${this.question.stId}_${index}">【图片2】</view></view>`
|
|
|
+ `<view class="yy-box"><view class="yingyu-playing-img" id="t_${this.question.stId}_${index}">【图片2】</view></view>`
|
|
|
);
|
|
|
} else {
|
|
|
result = result.replace(regex,
|
|
|
- `<view class="yy-box"><view class="yingyu canplay" id="t_${this.question.stId}_${index}">【图片1】</view></view>`
|
|
|
+ `<view class="yy-box"><view class="yingyu-canplay-img" id="t_${this.question.stId}_${index}">【图片1】</view></view>`
|
|
|
);
|
|
|
}
|
|
|
});
|