1/1
${data.index + 1}/${data.total}
Description
Description
https://i.postimg.cc/TYKcmCtt/xpmg05-a-man-in-a-red-velvet-cloak-with-fur-trim-and-hood-stand-225a0e8a-fdcc-43fe-aaf7-702374ee39d6.pnghttps://i.postimg.cc/gk1HK856/xpmg05-a-man-in-a-red-velvet-cloak-with-fur-trim-and-hood-stand-88fee851-39de-43cf-88e4-335993ddd8db.pnghttps://i.postimg.cc/k4MQ5cVZ/xpmg05-mens-Christmas-Cape-Coat-7dc2cb06-d531-4189-aa31-ff39a4fb009a.pnghttps://i.postimg.cc/gjTqQZ0P/xpmg05-mens-Christmas-cape-coat-b432d68a-1647-420e-9622-c59af68781d4.pnghttps://i.postimg.cc/CKgC3YS6/xpmg05-mens-Christmas-Cape-Coat-fffee7ae-bb90-46c9-8815-96f1e433e04c.pnghttps://i.postimg.cc/pTPZFvSj/xpmg05-Mens-Christmas-cape-coat-It-is-worn-by-a-man-with-a-big-64a22f6f-1a25-48a4-a851-0b193d50334b.pnghttps://i.postimg.cc/2y670wrL/xpmg05-Mens-Christmas-cape-coat-It-is-worn-by-a-man-with-a-big-7687c307-3332-4658-aaae-d5bcf7a56cdf.pnghttps://i.postimg.cc/XqJks84Z/xpmg05-Mens-Christmas-cape-coat-It-is-worn-by-a-man-with-a-big-dcac810a-ea78-4b32-a932-b8f2e02a2208.pnghttps://i.postimg.cc/yYxLjVNC/xpmg05-None-398950fd-f8a4-4084-9272-f4e9c1f3db92.pnghttps://i.postimg.cc/FRhZLv6d/xpmg05-None-8131773e-f170-4152-b666-995523c6b662.png
${data.starNum}/${data.starTotal}
${data.starNum}/${data.starTotal}
${!isPercentage ? `${data.count}` : `${data.count / data.total * 100}%`}
${data.count > 99 ? '99+' : data.count < 1 ? '' : data.count}
${function() {
if(data.imgCover) {
if(media.videosrc) {
let src = '';
if (media.videosrc) {
src = media.videosrc + '.' + media.ext;
}
const videoDom = `
`;
if(!isPC){
return `
`;
if(!isPC){
return `
`
}else{
return `
`
}
}
} else {
if (media.videosrc) {
let src = '';
if (media.videosrc) {
src = media.videosrc + '.' + media.ext;
}
return `
`
} else if(media.mp4 || media.hls) {
return `
`
} else {
return `
`
}
}
}()}
${videoDom}
`
}
return `
${videoDom}
`
} else if(media.mp4 || media.hls) {
const videoDom = `
${videoDom}
`
}
return `
${videoDom}
`
} else {
if(!isPC){
return `
Newest
Newest
Most liked
Highest ratings
Lowest ratings
Newest
Most liked
Highest ratings
Lowest ratings
All
All(${list.count})
With Photos(${list.image_count})
All(${list.count})
With Photos(${list.image_count})
${arrow}
`);
for (let i = startNumber; i <= endNumber; i++) {
if (i === pageNum) {
nums.push(
`${i}
`
);
} else {
// 第一段:不大于3
if (pageNum <= 3) {
if (i < pageNum + 2 || i > Math.max(endNumber - 4, 0)) {
nums.push(`${i}
`);
}
if (i === pageNum + 2 && i < endNumber - 3) {
nums.push(`...
`);
}
}
// 第二段:大于3 到 倒数第三个
if (pageNum > 3 && pageNum < endNumber - 3) {
if (i < 3 || i > endNumber - 3 || (pageNum - 2 < i && i < pageNum + 2)) {
nums.push(`${i}
`);
}
if (i === 3 && pageNum - 1 !== 3) {
nums.push(`...
`);
}
if (i === endNumber - 4) {
nums.push(`...
`);
}
}
// 第三段: 倒数4个
if (pageNum >= Math.max(endNumber - 3, 4)) {
if (i < 3 || i > endNumber - 3 || i == pageNum - 1) {
nums.push(`${i}
`);
}
if (i === 3 && pageNum > 4 && endNumber > 5) {
nums.push(`...
`);
}
}
}
}
nums.push(`
${arrow}
`);
return `${nums.join(' ')}
`;
}()}
${data.starNum}/${data.starTotal}
${data.starNum}/${data.starTotal}
Write a Review
${data.title}
Customer Reviews
(${data.comment_count > 500 ? '500+' : (data.comment_count || 0)})
Write a Review
View all
${item.username}
Verified
${item.content}
${data.shop_name} reply:
${item.reply && item.reply.length && item.reply[0].content}
${formatDate(item.created_at)}
View more
Wow you reached the bottom
View all
Write a Review
${data.comment_avg_star}
Total reviews: ${data.comment_count > 999 ? '999+' : data.comment_count}
${level}
Reviews
- All(${list.count})
- With Photos(${list.image_count})
Wow you reached the bottom
`;
} else {
return ``;
}
}()}
${function(){
return `
${function(){
if (media.videosrc) {
let src = '';
if (media.videosrc) {
src = media.videosrc + '.' + media.ext;
}
return `
`
} else if(media.mp4 || media.hls) {
return `
`
} else {
return `
`
}
}()}
No reviews available. The product reviews component has been hidden
Product Detail Reviews
