|
@@ -42,6 +42,8 @@ class View
|
|
$data['ratio'] = $this->ratio('x', $data['wh']);
|
|
$data['ratio'] = $this->ratio('x', $data['wh']);
|
|
} elseif (strstr($data['wh'], 'X')) {
|
|
} elseif (strstr($data['wh'], 'X')) {
|
|
$data['ratio'] = $this->ratio('X', $data['wh']);
|
|
$data['ratio'] = $this->ratio('X', $data['wh']);
|
|
|
|
+ } else {
|
|
|
|
+ $data['ratio'] = 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
$data['search_cate'] = 1;
|
|
$data['search_cate'] = 1;
|