Commit 1875c67f by lmf

优化发送邮件脚本

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