|
@@ -341,6 +341,12 @@ export default defineComponent({
|
|
|
handleSwipeChange(resourceIndex);
|
|
|
}, 0);
|
|
|
|
|
|
+
|
|
|
+ //检测是否录屏
|
|
|
+ if (data.disableScreenRecordingFlag === '1') {
|
|
|
+ handleLimitScreenRecord()
|
|
|
+ }
|
|
|
+
|
|
|
setTimeout(() => {
|
|
|
data.animationState = 'end';
|
|
|
}, 500);
|
|
@@ -408,12 +414,9 @@ export default defineComponent({
|
|
|
}).then((res: any) => {
|
|
|
const content = res.content
|
|
|
if (content?.status == '1') {
|
|
|
- // const activeItem = data.itemList[popupData.activeIndex]
|
|
|
- // togglePlay(activeItem, false)
|
|
|
resolve(false)
|
|
|
} else {
|
|
|
- // const activeItem = data.itemList[popupData.activeIndex]
|
|
|
- // togglePlay(activeItem, true)
|
|
|
+ data.itemList.forEach((item: any) => (item.autoPlay = true))
|
|
|
resolve(true)
|
|
|
}
|
|
|
})
|