Description
- SIZE M 58mm - 15mm - 145mm
- BRAND LINE CLASSIC
- COLLECTION FALL WINTER
- GENDER MAN
- FITTING Asian Smart Fitting
- RXABLE Y
- COLOR
-
- FRONT BLACK
- TEMPLE BLACK
- LENS TRANSPARENT
-
- MATERIAL:
-
- FRONT MAIN ACETATE
- TEMPLE MAIN ACETATE
- TEMPLE SECONDARY RECYCLED ACETATE
- LENSES DEMO LENS AR (ANTI REFLECTIVE)
-
-
MADE IN ITALY
- COMES WITH LEATHER YSL CASE & SOFT SAINT LAURENT COTTON CLOTHS.
Details
${data.map(parameter => {
if (parameter.value && parameter.title) {
return `
`;
}
return '';
}).join('')}
`;
})()}
${parameter.title}:
${parameter.value}
${(function() {
const { frameWidth, lensWidth, bridgeWidth, lensHeight, unit } = data;
let unit_ = 'mm';
let proportion = '1'
if (unit === 'in') {
unit_ = 'in';
proportion = '0.03937'
}
if (!frameWidth && !lensWidth && !bridgeWidth && !lensHeight) {
return '';
}
const conversionParameter = (className, label, parameter, proportion) => {
const parameterValue = Number(parameter);
if (Number.isNaN(parameterValue) || parameter === '') {
return ''
}
return `
${parameters.map(parameter => {
if (parameter) {
return conversionParameter(parameter.className, parameter.label, parameter.value, proportion);
}
return '';
}).join('')}
`;
})()}
${label}: ${(parameterValue * Number(proportion)).toFixed(2)}${ unit }
${label == 'Frame width' ? `` : ''}
${label == 'Lens width' ? `` : ''}
${label == 'Bridge width' ? `` : ''}
${label == 'Lens height' ? `` : ''}
`;
}
const parameters = [
{ className: 'frame-width-parameter', label: 'Frame width', value: frameWidth },
{ className: 'lens-width-parameter', label: 'Lens width', value: lensWidth },
{ className: 'bridge-width-parameter', label: 'Bridge width', value: bridgeWidth },
{ className: 'lens-height-parameter', label: 'Lens height', value: lensHeight },
];
return`
${(function() {
let unit = 'mm';
let proportion = '1'
const templeLength = data.value;
if (data.unit === 'in') {
unit = 'in';
proportion = '0.03937'
}
const conversionParameter = (label, parameter, proportion) => {
const parameterValue = Number(parameter);
if (isNaN(parameterValue) || parameter === '') {
return '';
}
return `
${label}: ${(parameterValue * Number(proportion)).toFixed(2)}${unit}
`;
}
return conversionParameter('Temple length', templeLength, proportion)
})()}
${
(data.frameWidth || data.lensWidth || data.bridgeWidth || data.lensHeight || data.templeLength) ?
(data.unit === 'in' ? `
Show in mm
` : `
Show in inches
`) : ''
}