fix(h5): add comma after brand name on splash and photo guide
This commit is contained in:
@@ -140,8 +140,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"h5/index.html": {
|
||||
"mtime": 1791886665.6930811,
|
||||
"ast_hash": "f9f520bdd67e32920fc79d387de4a033",
|
||||
"mtime": 1791894154.8087292,
|
||||
"ast_hash": "f3c662c2976d141a844328daaf6269f3",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"h5/vendor/faceapi/README.md": {
|
||||
@@ -2020,8 +2020,8 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"h5/test/splash-brand-browser.mjs": {
|
||||
"mtime": 1791886665.6930811,
|
||||
"ast_hash": "99c9c93f6eab48ce6de0d88fa348c50f",
|
||||
"mtime": 1791894154.8087292,
|
||||
"ast_hash": "f0927d459653a70bb8fbc668fa066dad",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"docs/\u62cd\u6444\u89d2\u5ea6\u4e0d\u5408\u683c\u9707\u52a8\u63d0\u9192-2026-10-13.md": {
|
||||
|
||||
+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