Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
liyeyun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cfld-frontend
liyeyun
Commits
75710589
Commit
75710589
authored
Dec 08, 2023
by
王玉鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 解锁联系我们
parent
97b11b4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
SecretInfo.vue
src/components/detail/SecretInfo.vue
+11
-1
No files found.
src/components/detail/SecretInfo.vue
View file @
75710589
...
...
@@ -6,7 +6,9 @@
解锁额度已用完,可通过
<span
class=
"mx-1 cursor-pointer font-bold text-[#C0322B]"
>
提交选址需求
</span>
或
<span
class=
"mx-1 cursor-pointer font-bold text-[#C0322B]"
>
联系我们
</span>
<span
class=
"mx-1 cursor-pointer font-bold text-[#C0322B]"
@
click=
"handleContactUs"
>
联系我们
</span>
获得专业选址顾问服务并获取更多信息
</div>
<div
v-else
class=
"flex items-center justify-center"
>
...
...
@@ -41,6 +43,8 @@ import { useAppStore } from '@/stores/app.ts';
import
{
useRequest
}
from
'@/composable/useRequest.ts'
;
import
{
RequestUrl
}
from
'@/types/api.ts'
;
import
{
useMessage
}
from
'@/composable/useMessage.ts'
;
import
{
useJump
}
from
'@/composable/useJump.ts'
;
import
{
RouteName
}
from
'@/router/router.ts'
;
import
{
useLoginModal
}
from
'../login/login.ts'
;
const
props
=
withDefaults
(
...
...
@@ -71,6 +75,8 @@ const { message } = useMessage();
const
{
open
:
showLogin
}
=
useLoginModal
();
const
{
open
:
openPage
}
=
useJump
();
/** 额度用光 */
const
isNoCount
=
computed
(()
=>
{
return
props
.
limitNum
===
0
;
...
...
@@ -124,4 +130,8 @@ const handleUnlock = async () => {
console
.
log
(
error
);
}
};
const
handleContactUs
=
()
=>
{
openPage
(
RouteName
.
contactUs
);
};
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment