...
|
...
|
@@ -473,8 +473,6 @@ class DetailModel |
|
|
|
|
|
// 测量方式
|
|
|
if (!empty($sizeInfo['sizeImage'])) {
|
|
|
$sizeInfo['sizeImage'] = strtr($sizeInfo['sizeImage'], array('http://' => '//'));
|
|
|
|
|
|
$result['measurementMethod'] = array(
|
|
|
'title' => '测量方式',
|
|
|
'enTitle' => 'MEASUREMENT METHOD',
|
...
|
...
|
@@ -503,7 +501,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' => strtr($value['avatar'], array('http://' => '//')));
|
|
|
$result['reference']['detail']['list'][0]['params'][] = array('param' => $value['avatar']);
|
|
|
$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']);
|
...
|
...
|
@@ -533,7 +531,7 @@ class DetailModel |
|
|
);
|
|
|
foreach ($sizeInfo['productMaterialList'] as $value) {
|
|
|
$result['materials']['list'][] = array(
|
|
|
'img' => strtr($value['imageUrl'], array('http://' => '//')),
|
|
|
'img' => $value['imageUrl'],
|
|
|
'desc' => $value['remark'],
|
|
|
);
|
|
|
}
|
...
|
...
|
@@ -543,11 +541,7 @@ class DetailModel |
|
|
if (!empty($sizeInfo['washTipsBoList'])) {
|
|
|
$result['washTips']['list'] = array();
|
|
|
foreach ($sizeInfo['washTipsBoList'] as $value) {
|
|
|
//$result['washTips']['list'][] = $value;
|
|
|
$result['washTips']['list'][] = array(
|
|
|
'img' => strtr($value['img'], array('http://' => '//')),
|
|
|
'caption' => $value['caption'],
|
|
|
);
|
|
|
$result['washTips']['list'][] = $value;
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -563,7 +557,6 @@ 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=",
|
...
|
...
|
|