Commit 1875c67f by lmf

优化发送邮件脚本

优化首页样式
parent f1cd3619
......@@ -496,7 +496,8 @@ class Config
*/
public function isNewSender($version)
{
$currentVersion = $this->productMetadata->getVersion();
//$currentVersion = $this->productMetadata->getVersion();
$currentVersion = "2.4.3";
return version_compare($currentVersion, $version, '>=');
}
......
......@@ -43,25 +43,13 @@ if ($_attributeType && $_attributeType == 'text') {
} else {
$_attributeValue = $_helper->productAttribute($_product, $_product->$_call(), $_code);
}
?>
<?php if ($_attributeValue) :?>
<div class="product attribute <?= $block->escapeHtmlAttr($_className) ?>">
<div class="product attribute <?= $block->escapeHtmlAttr($_className) ?>">
<?php if ($renderLabel) :?>
<strong class="type"><?= $block->escapeHtml($_attributeLabel) ?></strong>
<?php endif; ?>
<div class="value" <?= /* @noEscape */ $_attributeAddAttribute ?>>
<?php if($_attributeAddAttribute != 'itemprop="description"'): ?>
<?= /* @noEscape */ $_attributeValue ?>
<?php endif; ?>
<div class="value" <?= /* @noEscape */ $_attributeAddAttribute ?>><?= /* @noEscape */ $_attributeValue ?></div>
</div>
</div>
<?php endif; ?>
......@@ -93,11 +93,9 @@
if (this._obj.btn){
$("<input type='button' id='left' value='<'>").css({
left:0,
marginLeft:20
}).appendTo(this).
after($("<input type='button' id='right' value='>'>").css({
right:0,
marginRight:20
})).parent()
.children("input").css({
position:"absolute",
......
......@@ -1512,7 +1512,7 @@ footer{
}
.flash_sale.news-arrivals{
margin-top: -100px;
margin-top: -75px;
}
}
@media (min-width: 670px) {
......
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