feat: pricing页增加售后微信联系方式
This commit is contained in:
1 parent
4614bdc116
commit
23944ced8c
1 file changed
+16
@@ -55,6 +55,17 @@ const paidFeatures = FEATURES.filter(f => f.path in PROTECTED_TOOLS);
|
||||
|
||||
const machineId = getMachineId();
|
||||
const copied = ref(false);
|
||||
const wechatCopied = ref(false);
|
||||
const WECHAT_ID = 'q3970260761';
|
||||
|
||||
async function copyWechat() {
|
||||
try {
|
||||
await navigator.clipboard.writeText(WECHAT_ID);
|
||||
wechatCopied.value = true;
|
||||
setTimeout(() => (wechatCopied.value = false), 1500);
|
||||
}
|
||||
catch { /* ignore */ }
|
||||
}
|
||||
|
||||
async function copyMachine() {
|
||||
try {
|
||||
@@ -153,6 +164,11 @@ async function copyMachine() {
|
||||
<a href="javascript:;" class="copy-link" @click="copyMachine">{{ copied ? '已复制 ✓' : '复制' }}</a>
|
||||
<span class="cta-machine-hint">(购买或激活遇到问题时提供给客服)</span>
|
||||
</div>
|
||||
<div class="cta-machine">
|
||||
售后客服微信:<code>q3970260761</code>
|
||||
<a href="javascript:;" class="copy-link" @click="copyWechat">{{ wechatCopied ? '已复制 ✓' : '复制' }}</a>
|
||||
<span class="cta-machine-hint">(购买不到、激活失败、换设备等问题均可咨询)</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cta-right">
|
||||
<c-button type="primary" class="cta-btn" tag="a" :href="BUY_URL" target="_blank" rel="noopener">
|
||||
|
||||
Reference in new issue
Block a user