Video được đề xuất
Tải thêm
Hội thi thể thao quy mô lớn 4 nam 4 nữ tiệc thác loạn Bạn gầy nhưng lại rất giỏi chuyện ấy. ","lastmod":"2026-07-11","duration":"01:14:52","url":"/play/19154306.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTEyMjMvNjVlYTUxNGFlODMwM2QyNzM0ZDc4ODViOWM3YTdiODEuanBn.cache","vod_id":19140339,"title":"Tôi phát cuồng vì quan hệ tình dục xuất tinh bên trong! 21 cô gái xinh đẹp mặc quần harem. Các diễn viên bao gồm Hanon Urara, Natsume Airi và Mitsui Hikari. K.M.P","lastmod":"2026-04-30","duration":"04:02:19","url":"/play/19140339.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTAzMzEvZmE1NmUwZWIzMGRhMmU0NzFlZWI2ZGE4MzM1NzdhYWYuanBn.cache","vod_id":19006004,"title":"Một cô gái quyến rũ với vòng một đầy đặn bị cưỡng hiếp dã man.","lastmod":"2025-03-28","duration":"18:03","url":"/play/19006004.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTEyMjMvOTcxNWY2NjYyODQ3MDMxYjE4YWU0NWM4ZDVhN2QwMTIuanBn.cache","vod_id":19120626,"title":"Một cô gái da trắng, dễ thương mặc váy Winnie the Pooh mà không mặc gì bên trong, để lộ vòng ba nhỏ nhắn, đang chào đón một dương vật từ phía sau.","lastmod":"2026-01-26","duration":"17:41","url":"/play/19120626.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTAzMzEvYmU5MzQ1ZGUxNDhlZWE5N2E2NmQyYjMwNmE4NWE3NDguanBn.cache","vod_id":19037016,"title":"Một nữ nhân viên văn phòng xinh đẹp đã bị tên thú vật FUCK05 theo dõi, xâm hại và làm cho có thai.","lastmod":"2025-03-29","duration":"02:32:02","url":"/play/19037016.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTAzMzEvOWNiZmJjODVkZmEyYjVkZmZkOTQyZjRmNDk5ZWQ0ZmIuanBn.cache","vod_id":19051912,"title":"NASH066 Một người phụ nữ trung niên xinh đẹp với đôi chân quyến rũ trong chiếc váy bó sát. Một người phụ nữ trưởng thành đầy quyến rũ đang trêu chọc bạn bằng cách khoe chiếc quần lót qua cặp đùi và mông đầy đặn của mình.","lastmod":"2025-03-29","duration":"02:01:46","url":"/play/19051912.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTAzMzEvMThiYTFlNDQ2ZThmOGM0ZmU5ZTJiYzhjODFkMGFmNmEuanBn.cache","vod_id":19057289,"title":"MKMP309CN Một khách hàng quen thuộc của dịch vụ đón khách ngược chiều, bất kể họ đi đến đâu! Một nữ diễn viên phim người lớn quyến rũ đang quan hệ tình dục tại một nhà nghỉ suối nước nóng...","lastmod":"2025-03-29","duration":"02:30:09","url":"/play/19057289.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTEyMjMvM2FhNjA0NTNkNGQ4Yzk4MGRlYTRjMzIxNDkxMDM1YzcuanBn.cache","vod_id":19137119,"title":"Một người phụ nữ trẻ xinh đẹp và chồng cô ấy đang quan hệ tình dục trong nhà vệ sinh. Cô ấy cố tình không mặc đồ lót để quyến rũ chồng mình quan hệ ở đó. Một khoảnh khắc phô bày hoàn hảo.","lastmod":"2026-04-15","duration":"22:54","url":"/play/19137119.html"}]},
videoTitle: 'Otowa Misuzu, vòng ba đầy đặn, nữ thần đèn lồng. Một cô gái xinh đẹp và một cô gái mũm mĩm mặc quần đèn lồng bó sát và đồ thể thao, cận cảnh nội y và vải dính. Otowa Misuzu, ảnh tự chụp cùng bố.',
language: 'vi',
dataKey: '01',
loadingPlayer: true,
showShare: false,
pageUrl: '',
// RecommendedMovies 组件状态
isSingleColumn: false,
pageSize: 8,
currentPage: 1,
// 计算属性(使用 getter)
get layoutIconClass() {
return this.isSingleColumn ? 'icon-view-list' : 'icon-grid';
},
get layoutClass() {
return [
'row',
'g-3',
'row-cols-1',
this.isSingleColumn ? '' : 'row-cols-2',
'row-cols-lg-4'
].filter(Boolean).join(' ');
},
// 方法
onAppMounted() {
// 设置页面 URL
this.pageUrl = window.location.href;
// 保存观看历史
this.saveWatchHistory();
// 更新标签统计
if (this.videoData.tag && this.videoData.tag.length > 0) {
this.updateTagStats(this.videoData.tag);
}
// 发送点击统计
this.hitVideoId(this.videoData.id);
// 从 Cookie 读取布局偏好
const layoutCookie = this.getCookie('list_layout');
if (layoutCookie === 'single') {
this.isSingleColumn = true;
}
// 监听 iframe 加载完成,隐藏骨架屏
// 使用 setTimeout 确保 DOM 已完全渲染
setTimeout(() => {
const iframe = document.getElementById('v2-player');
const skeleton = document.getElementById('player-skeleton');
if (iframe && skeleton) {
// 定义隐藏骨架屏的函数
const hideSkeleton = () => {
skeleton.style.transition = 'opacity 0.3s ease';
skeleton.style.opacity = '0';
setTimeout(() => {
skeleton.style.display = 'none';
}, 300);
};
// 检查 iframe 是否已经加载完成
if (iframe.contentDocument || iframe.contentWindow) {
try {
// 如果 iframe 已加载,直接隐藏骨架屏
if (iframe.contentWindow.document.readyState === 'complete') {
setTimeout(hideSkeleton, 500);
return;
}
} catch (e) {
console.log('[Video] 跨域 iframe,无法检查状态:', e.message);
// 跨域情况下无法访问 contentWindow,继续监听 load 事件
}
}
// 监听 load 事件
iframe.addEventListener('load', () => {
console.log('[Video] iframe load 事件触发');
setTimeout(hideSkeleton, 500);
});
// 添加超时保护,确保骨架屏最终会被隐藏
setTimeout(() => {
if (skeleton.style.display !== 'none') {
console.log('[Video] 超时保护触发,强制隐藏骨架屏');
hideSkeleton();
}
}, 5000); // 5秒后强制隐藏
} else {
console.error('[Video] 未找到 iframe 或 skeleton 元素');
}
}, 0);
},
// 随机跳转
async jumpToRandomVideo() {
try {
const response = await fetch(`/api/qun/randomid?t=${Date.now()}`, {
headers: {
'x-data-key': this.dataKey,
'x-api-key': 'dagexxx.com'
}
});
const data = await response.json();
if (data?.status === 1 && data?.data?.id) {
window.location.href = `/${this.language}/play/${data.data.id}.html`;
} else {
console.error('获取随机视频失败:', data?.message || '未知错误');
}
} catch (err) {
console.error('获取随机视频失败:', err);
}
},
// 复制分享链接
copyShareLink() {
const input = this.$refs.shareInput;
if (input) {
input.select();
input.setSelectionRange(0, 99999); // For mobile devices
// 尝试使用现代 API
if (navigator.clipboard && navigator.clipboard.writeText) {
navigator.clipboard.writeText(this.pageUrl).then(() => {
alert('Đã sao chép liên kết!');
}).catch(() => {
// 降级到旧方法
document.execCommand('copy');
alert('Đã sao chép liên kết!');
});
} else {
// 降级到旧方法
document.execCommand('copy');
alert('Đã sao chép liên kết!');
}
}
},
// 切换布局
toggleLayout() {
this.isSingleColumn = !this.isSingleColumn;
this.setCookie('list_layout', this.isSingleColumn ? 'single' : 'multi', 30);
},
// 加载更多
loadMore() {
this.currentPage++;
},
// 保存观看历史
saveWatchHistory() {
try {
const storageKey = 'watchHistory';
let history = JSON.parse(localStorage.getItem(storageKey) || '[]');
// 解码 HTML 实体编码的标题
const decodeHtmlEntities = (text) => {
const textarea = document.createElement('textarea');
textarea.innerHTML = text;
return textarea.value;
};
const video = {
id: this.videoData.id,
title: decodeHtmlEntities(this.videoData.title),
image: this.videoData.images || this.videoData.preview,
duration: this.videoData.duration || ''
};
// 过滤掉已存在的相同 ID 视频
history = history.filter(item => item.id !== video.id);
// 添加新记录到最前面
history.unshift(video);
// 限制最多保存 100 条
if (history.length > 100) {
history = history.slice(0, 100);
}
localStorage.setItem(storageKey, JSON.stringify(history));
} catch (e) {
console.error('Failed to save watch history:', e);
}
},
// 更新标签统计
updateTagStats(tags = []) {
// HTML 实体解码函数
const decodeHtmlEntities = (text) => {
const textarea = document.createElement('textarea');
textarea.innerHTML = text;
return textarea.value;
};
const storageKey = this.dataKey + 'tagWatchStats';
const lastWatchedKey = this.dataKey + 'tagLastWatched';
const raw = localStorage.getItem(storageKey);
const stats = raw ? JSON.parse(raw) : {};
// 解码标签并统计
const decodedTags = tags.map(tag => decodeHtmlEntities(tag));
decodedTags.forEach(tag => {
stats[tag] = (stats[tag] || 0) + 1;
});
localStorage.setItem(storageKey, JSON.stringify(stats));
localStorage.setItem(lastWatchedKey, JSON.stringify(decodedTags));
},
// 点击统计
hitVideoId(id) {
fetch(`/api/qun/hit?type=play&id=${id}`, {
method: 'GET',
headers: {
'x-data-key': this.dataKey,
'x-api-key': 'dagexxx.com'
}
}).catch(err => {
console.error('点击统计失败:', err);
});
},
// Cookie 工具方法
getCookie(name) {
const value = `; ${document.cookie}`;
const parts = value.split(`; ${name}=`);
if (parts.length === 2) return parts.pop().split(';').shift();
},
setCookie(name, value, days) {
const expires = new Date(Date.now() + days * 864e5).toUTCString();
document.cookie = `${name}=${value}; expires=${expires}; path=/`;
}
};
}
友情链接