fix(h5): add comma after brand name on splash and photo guide
This commit is contained in:
+2
-2
@@ -45,7 +45,7 @@
|
||||
<div class="account-status account-status-home"><span data-auth-status></span><button type="button" class="account-logout" data-action="logout-wechat" hidden>退出登录</button></div>
|
||||
<div class="splash-slogan splash-slogan-updated" role="img" aria-label="1'me,FROM THE INSIDE OUT;以我为始 自有表现">
|
||||
<img class="splash-slogan-copy" src="assets/img/ui-20261012/splash-slogan.png" width="718" height="217" loading="lazy" alt="">
|
||||
<span class="splash-slogan-brand" aria-hidden="true">1'me</span>
|
||||
<span class="splash-slogan-brand" aria-hidden="true">1'me,</span>
|
||||
<span class="splash-slogan-english" aria-hidden="true">FROM THE INSIDE OUT</span>
|
||||
</div>
|
||||
<div class="splash-bottom">
|
||||
@@ -307,7 +307,7 @@
|
||||
<div class="guide-bg">
|
||||
<div class="splash-slogan splash-slogan-updated" role="img" aria-label="1'me,FROM THE INSIDE OUT;以我为始 自有表现">
|
||||
<img class="splash-slogan-copy" src="assets/img/ui-20261012/splash-slogan.png" width="718" height="217" loading="lazy" alt="">
|
||||
<span class="splash-slogan-brand" aria-hidden="true">1'me</span>
|
||||
<span class="splash-slogan-brand" aria-hidden="true">1'me,</span>
|
||||
<span class="splash-slogan-english" aria-hidden="true">FROM THE INSIDE OUT</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -17,9 +17,10 @@ try {
|
||||
assert.match(await brand.getAttribute('aria-label'), /^1'me/);
|
||||
await page.waitForFunction(() => [...document.querySelectorAll('#s-splash .splash-slogan img')].every(i => i.complete && i.naturalWidth));
|
||||
assert.equal(await page.locator('#s-splash .splash-slogan-brand').isVisible(), true);
|
||||
assert.equal(await page.locator('#s-splash .splash-slogan-brand').textContent(), "1'me");
|
||||
assert.equal(await page.locator('#s-splash .splash-slogan-brand').textContent(), "1'me,");
|
||||
assert.equal(await page.locator('#s-splash .splash-slogan-brand').evaluate(el => getComputedStyle(el).fontWeight), '400');
|
||||
for (const root of ['#s-splash', '#p-photoguide']) {
|
||||
assert.equal(await page.locator(root + ' .splash-slogan-brand').textContent(), "1'me,");
|
||||
const fonts = await page.locator(root + ' .splash-slogan').evaluate(el => {
|
||||
return ['.splash-slogan-brand', '.splash-slogan-english'].map(selector => {
|
||||
const s = getComputedStyle(el.querySelector(selector));
|
||||
|
||||
Reference in New Issue
Block a user