Commit 77b3d936 authored by xuchentao's avatar xuchentao

调整联系页邮件提示文案

parent a7af7cdf
Pipeline #416 passed with stages
in 17 seconds
...@@ -8,12 +8,7 @@ import { site } from "../../data/site"; ...@@ -8,12 +8,7 @@ import { site } from "../../data/site";
const title = `联系与合作|${site.brand.name}`; const title = `联系与合作|${site.brand.name}`;
const description = site.contact.intro; const description = site.contact.intro;
const pageUrl = new URL("/contact/", Astro.site).href; const pageUrl = new URL("/contact/", Astro.site).href;
const intent = Astro.url.searchParams.get("intent"); const intentCopy = "欢迎通过邮件联系我们。";
const intentCopy = intent === "store"
? "请在邮件中写明所在城市,我们将协助查询附近门店。"
: intent === "join"
? "请在邮件中写明所在城市、现有门店情况与合作需求。"
: "请在邮件中写明所在城市与具体需求。";
const jsonLd = [ const jsonLd = [
{ {
"@context": "https://schema.org", "@context": "https://schema.org",
...@@ -67,7 +62,7 @@ const jsonLd = [ ...@@ -67,7 +62,7 @@ const jsonLd = [
<a href="https://www.sumeiqiao.com">{site.contact.website} ↗</a> <a href="https://www.sumeiqiao.com">{site.contact.website} ↗</a>
</article> </article>
</div> </div>
<p class="contact-note">{intentCopy} 当前品牌资料未提供公开客服电话,因此本站不展示或虚构联系电话;邮件发出后请留意回复。</p> <p class="contact-note">请在邮件中写明所在城市与具体需求。邮件发出后请留意回复。</p>
</div> </div>
</section> </section>
<CTA eyebrow="CONTACT" title="塑美俏 · 联系与合作" text={intentCopy} /> <CTA eyebrow="CONTACT" title="塑美俏 · 联系与合作" text={intentCopy} />
......
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