热门精选视频1783767054","lastmod":"2026-07-11","duration":"12:34","url":"/play/19153615.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNjA1MTMvMzIyNjg3NmU2YTRjZTg5MzYxNDljYzA5NTI2OWIwY2UuanBn.cache","vod_id":19150051,"title":"Học giả xuất sắc, quan hệ tình dục trên ghế sofa với một người phụ nữ đã kết hôn tốt bụng.","lastmod":"2026-06-06","duration":"16:24","url":"/play/19150051.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTAzMzEvMjBjZDk4YWM2ODAyNTM3NDUyZDFlNGNkZWQzM2UzYjkuanBn.cache","vod_id":18954308,"title":"MXDLP-168 Tuyển tập chưa cắt của Yui Hatano Tập 4 - CD1","lastmod":"2025-03-19","duration":"03:30:52","url":"/play/18954308.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTAzMzEvOWJjN2EzNzc0ZjM3YmM2ZmE4NjhmN2U0ZDEwNmIwODQuanBn.cache","vod_id":18963527,"title":"Tập thứ ba của vụ bê bối ngoại tình: màn trả thù cuối cùng trong cảnh 3 người đầy khiêu dâm, với sự góp mặt của nữ thần tuyệt sắc Jingjing trong màn thâm nhập kép.","lastmod":"2025-03-19","duration":"41:05","url":"/play/18963527.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTEyMjMvOWIyNGNiZGIzOTAxMDc1ZWQ1ZGViZGYwM2Q0ZDQ0NmYuanBn.cache","vod_id":19132615,"title":"Còn trẻ và không hề hay biết về việc người vợ trẻ đẹp đẽ, lẳng lơ, ngực khủng của dì mình đang bị quan hệ tình dục không dùng bao cao su.","lastmod":"2026-02-13","duration":"16:01","url":"/play/19132615.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTAzMzEvNDU5ZmZiODJmY2VhY2Q0MzZmYjNjZmIwMjRkNzIxNTEuanBn.cache","vod_id":19080297,"title":"Một người phụ nữ quyến rũ, thân hình gợi cảm và cực kỳ hấp dẫn bộc lộ toàn bộ sức mạnh của mình – thật sự rất kích thích!","lastmod":"2025-03-19","duration":"01:39","url":"/play/19080297.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTEyMjMvOWYwN2Y4M2I4OTMwY2QyNTE3NmRkZDllODcxOWY3ODIuanBn.cache","vod_id":19134088,"title":"Hai chị em gái xinh đẹp, trong lúc say xỉn, đã thay phiên nhau quan hệ tình dục.","lastmod":"2026-02-13","duration":"25:09","url":"/play/19134088.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTEyMjMvN2UxMzU1NWJiN2RlZTlmZWYxYzZiNmQ5ZjVlYjM2MTguanBn.cache","vod_id":19144471,"title":"Hai chị em gái đồng tính trẻ trung, đáng yêu và vô cùng gợi cảm đang nghịch ngợm kích thích âm đạo của nhau trong khi người dùng dùng dương vật to lớn, đen của người chị gái đâm mạnh vào.","lastmod":"2026-04-07","duration":"39:15","url":"/play/19144471.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTAzMzEvZGExMDZhNGJiYzRkZWQxOGI1MjJjYmEwZTJlNGFmODcuanBn.cache","vod_id":19077428,"title":"Ảnh tự sướng của một chú chó cái gợi cảm với tính cách trái ngược, khoe ngực và vùng kín nóng bỏng trong khi tự thỏa mãn trong vòi hoa sen. 4.","lastmod":"2025-03-19","duration":"00:00:59","url":"/play/19077428.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTAzMzEvZmY0MmNkYjgxY2RhZjNhOTU3NDJiM2I0OGNmM2QwYTIuanBn.cache","vod_id":19094050,"title":"Ảnh tự chụp: Một nữ sinh viên đại học đang chơi những trò chơi thú vị trong lớp học.","lastmod":"2025-03-19","duration":"01:32","url":"/play/19094050.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTAzMzEvZjMzMjY1MDBhODM0ZGMwNjYzN2ViZGJhYzkxNTRlNmIuanBn.cache","vod_id":19028458,"title":"Người mẫu châu Á chất lượng cao mới nhất, Messy, trong chiếc quần tất đen, kiếm thêm tiền bằng dịch vụ giao hàng tận nhà. Một gã gù lưng dâm dục, dương vật to lớn đã cưỡng hiếp cô một cách thô bạo trong bếp, cho cô một màn oral sex sâu và tận hưởng khoái cảm tột độ.","lastmod":"2025-03-19","duration":"19:35","url":"/play/19028458.html"},{"img":"https://cache.sgvafs.com/base/aHR0cHM6Ly92aWRlby5kYWdlLnRvcC9zdG9yYWdlL3VwbG9hZHMvMjAyNTAzMzEvNjhkMzcyZDBiZTUxOGNlOTVhNmUxZjM1M2M4NzMxNGEuanBn.cache","vod_id":19005683,"title":"Tuyển chọn các video tự quay không có hình mờ từ Trung Quốc đại lục - Cặp đôi đeo kính mặc nội y lưới màu tím, quan hệ tình dục","lastmod":"2025-03-19","duration":"18:53","url":"/play/19005683.html"}]},
videoTitle: '#Nổi bật #Ảnh tự sướng Có một nữ tiếp viên KTV hàng đầu 1',
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=/`;
}
};
}