Commit 5cf0f0f2 by lmf

优化评论列表样式

parent 144efa1f
...@@ -1770,3 +1770,18 @@ button.action.submit.primary { ...@@ -1770,3 +1770,18 @@ button.action.submit.primary {
} }
//商品评论
.amreview-submit-form .review-fieldset .review-legend.legend>span {
float: left;
margin: 0 5px 0 0;
font-weight: bold;
}
@media (min-width: 768px){
.product.info .review-add {
float: left;
width: 100% !important;
}
}
...@@ -56,7 +56,7 @@ class TransportTest extends TestCase ...@@ -56,7 +56,7 @@ class TransportTest extends TestCase
$exception = new RuntimeException('Invalid email; contains no at least one of "To", "Cc", and "Bcc" header'); $exception = new RuntimeException('Invalid email; contains no at least one of "To", "Cc", and "Bcc" header');
$this->loggerMock->expects(self::once())->method('error')->with($exception); $this->loggerMock->expects(self::once())->method('error')->with($exception);
$this->expectException('Magento\Framework\Exception\MailException'); $this->expectException('Magento\Framework\Exception\MailException');
$this->expectExceptionMessage('Unable to send mail. Please try again later.'); $this->expectExceptionMessage('3-Unable to send mail. Please try again later.');
$this->transport->sendMessage(); $this->transport->sendMessage();
} }
......
...@@ -57,7 +57,7 @@ class Transport implements TransportInterface ...@@ -57,7 +57,7 @@ class Transport implements TransportInterface
); );
} catch (\Exception $e) { } catch (\Exception $e) {
$this->logger->error($e); $this->logger->error($e);
throw new MailException(new Phrase('Unable to send mail. Please try again later.')); throw new MailException(new Phrase('4-Unable to send mail. Please try again later.'));
} }
} }
......
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