...
|
...
|
@@ -473,6 +473,8 @@ class DetailModel |
|
|
|
|
|
// 测量方式
|
|
|
if (!empty($sizeInfo['sizeImage'])) {
|
|
|
$sizeInfo['sizeImage'] = strtr($sizeInfo['sizeImage'], array('http://' => '//'));
|
|
|
|
|
|
$result['measurementMethod'] = array(
|
|
|
'title' => '测量方式',
|
|
|
'enTitle' => 'MEASUREMENT METHOD',
|
...
|
...
|
@@ -501,7 +503,7 @@ class DetailModel |
|
|
$result['reference']['detail']['list'][6]['params'] = array(0 => array('param' => '试穿描述')); // 试穿描述
|
|
|
|
|
|
foreach ($sizeInfo['modelBos'] as $value) {
|
|
|
$result['reference']['detail']['list'][0]['params'][] = array('param' => $value['avatar']);
|
|
|
$result['reference']['detail']['list'][0]['params'][] = array('param' => strtr($value['avatar'], array('http://' => '//')));
|
|
|
$result['reference']['detail']['list'][1]['params'][] = array('param' => $value['modelName']);
|
|
|
$result['reference']['detail']['list'][2]['params'][] = array('param' => $value['height']);
|
|
|
$result['reference']['detail']['list'][3]['params'][] = array('param' => $value['weight']);
|
...
|
...
|
@@ -531,7 +533,7 @@ class DetailModel |
|
|
);
|
|
|
foreach ($sizeInfo['productMaterialList'] as $value) {
|
|
|
$result['materials']['list'][] = array(
|
|
|
'img' => $value['imageUrl'],
|
|
|
'img' => strtr($value['imageUrl'], array('http://' => '//')),
|
|
|
'desc' => $value['remark'],
|
|
|
);
|
|
|
}
|
...
|
...
|
@@ -541,7 +543,11 @@ class DetailModel |
|
|
if (!empty($sizeInfo['washTipsBoList'])) {
|
|
|
$result['washTips']['list'] = array();
|
|
|
foreach ($sizeInfo['washTipsBoList'] as $value) {
|
|
|
$result['washTips']['list'][] = $value;
|
|
|
//$result['washTips']['list'][] = $value;
|
|
|
$result['washTips']['list'][] = array(
|
|
|
'img' => strtr($value['img'], array('http://' => '//')),
|
|
|
'caption' => $value['caption'],
|
|
|
);
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -557,6 +563,7 @@ class DetailModel |
|
|
'title' => '商品详情',
|
|
|
'enTitle' => 'DETAILS',
|
|
|
'desc' => strtr($productIntro, array(
|
|
|
'http://' => '//',
|
|
|
'\r\n\t' => '',
|
|
|
'</p>' => '',
|
|
|
'<img src=' => "<img class=\"lazy\" src=\"data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==\" data-original=",
|
...
|
...
|
|