Commit 8727f5a9 by lmf

优化产品详情描述样式

parent 18dce526
...@@ -169,11 +169,17 @@ ...@@ -169,11 +169,17 @@
.joshine-desction .desction-info{ .joshine-desction .desction-info{
font-size: small; font-size: small;
} }
.joshine-desction .desction-info p{
max-width: 400px;
word-wrap: break-word;
}
@media (min-width: 780px){ @media (min-width: 780px){
.joshine-desction #description{ .joshine-desction #description{
max-height: 350px; max-height: 350px;
overflow: auto; overflow: auto;
} }
} }
span.swatch-attribute-selected-option{ span.swatch-attribute-selected-option{
margin-left: 20px; margin-left: 20px;
......
...@@ -177,19 +177,27 @@ class Zend_Loader ...@@ -177,19 +177,27 @@ class Zend_Loader
foreach (self::explodeIncludePath() as $path) { foreach (self::explodeIncludePath() as $path) {
if ($path == '.') { if ($path == '.') {
if (is_readable($filename)) { if (self::is_readable2($filename)) {
return true; return true;
} }
continue; continue;
} }
$file = $path . '/' . $filename; $file = $path . '/' . $filename;
if (is_readable($file)) { if (self::is_readable2($file)) {
return true; return true;
} }
} }
return false; return false;
} }
private static function is_readable2($filename) {
try {
return is_readable($filename);
} catch (Exception $ex) {
return false;
}
}
/** /**
* Explode an include path into an array * Explode an include path into an array
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment