-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed3a585
commit 10edecd
Showing
6 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import React from 'react'; | ||
// import Head from 'next/head'; | ||
|
||
export const FloatingMenu = function () { | ||
return ( | ||
<div class="fixed top-1/2 right-4 transform -translate-y-1/2 bg-white p-4 rounded-full shadow-lg z-10 flex flex-col items-center space-y-2"> | ||
<a href="https://sp0dtpsxxk.jiandaoyun.com/f/660a2de0b0a76aafa09bde68" target='_blank' class="flex flex-col items-center px-4 py-2 text-gray-800 text-sm hover:bg-blue-100 w-full rounded-lg"> | ||
<img src="/img/demo.png" alt="预约演示" class="mb-2 h-6 w-6"/> | ||
预约演示 | ||
</a> | ||
<a href="https://sp0dtpsxxk.jiandaoyun.com/f/660a2de0b0a76aafa09bde68" target='_blank' class="flex flex-col items-center px-4 py-2 text-gray-800 text-sm hover:bg-blue-100 w-full rounded-lg"> | ||
<img src="/img/online_consultation.png" alt="在线咨询" class="mb-2 h-6 w-6"/> | ||
在线咨询 | ||
</a> | ||
<div class="group relative px-4 py-2 text-gray-800 text-sm hover:bg-blue-100 w-full rounded-lg"> | ||
<a href="#" class="flex flex-col items-center w-full"> | ||
<img src="/img/mobile_consultation.png" alt="电话咨询" class="mb-2 h-6 w-6"/> | ||
电话咨询 | ||
</a> | ||
<div class="w-40 bg-white absolute right-28 top-[1rem] -translate-y-1/2 opacity-0 group-hover:opacity-100 flex flex-col items-center py-3 px-4 shadow-lg rounded-md transition-opacity duration-300 ease-in-out pointer-events-none group-hover:pointer-events-auto"> | ||
<span class="text-gray-700 text-sm">官网免费咨询热线</span> | ||
<span class="text-blue-700 text-lg font-semibold">400-820-1612</span> | ||
</div> | ||
</div> | ||
<div class="relative group px-4 py-2 text-gray-800 text-sm w-full rounded-lg hover:bg-blue-100"> | ||
<a href="#" class="flex flex-col items-center w-full"> | ||
<img src="/img/qywx.svg" alt="微信咨询" class="mb-2 h-6 w-6"/> | ||
微信咨询 | ||
</a> | ||
<div class="absolute right-28 top-[0.5rem] -translate-y-1/2 w-40 bg-white opacity-0 group-hover:opacity-100 flex flex-col items-center py-1 px-0.5 shadow-xl rounded-lg transition-all duration-300 ease-in-out pointer-events-none group-hover:pointer-events-auto"> | ||
<div class="text-gray-700 text-sm mt-3 mb-2 px-0.5">扫码获取产品介绍资料</div> | ||
<img src="https://console.steedos.cn/api/files/images/64631db2c106fe003e69cbac" alt="商务咨询 QR Code" class="h-32 w-32 m-0.5" /> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters