Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
german_mihuanggame
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
xiaotuoluo
german_mihuanggame
Commits
6fcfbdeb
提交
6fcfbdeb
authored
10月 03, 2025
作者:
xiaotuoluo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更换聊天
上级
64242ab2
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
53 行增加
和
29 行删除
+53
-29
.gitignore
.gitignore
+1
-0
index.html
public/index.html
+16
-0
base.css
src/assets/css/base.css
+2
-2
index1.vue
src/pages/guide/index1.vue
+2
-2
index3.vue
src/pages/guide/index3.vue
+2
-2
home.vue
src/pages/home/home.vue
+13
-13
personDetail.vue
src/pages/home/personDetail.vue
+2
-2
index.vue
src/pages/mine/index.vue
+2
-2
chat.js
src/utils/chat.js
+13
-6
没有找到文件。
.gitignore
浏览文件 @
6fcfbdeb
...
@@ -21,3 +21,4 @@ pnpm-debug.log*
...
@@ -21,3 +21,4 @@ pnpm-debug.log*
*.njsproj
*.njsproj
*.sln
*.sln
*.sw?
*.sw?
dist.zip
public/index.html
浏览文件 @
6fcfbdeb
...
@@ -34,10 +34,26 @@
...
@@ -34,10 +34,26 @@
position
:
relative
;
position
:
relative
;
container-type
:
inline-size
;
container-type
:
inline-size
;
}
}
</style>
</style>
</head>
</head>
<script
src=
"https://plugin-code.salesmartly.com/js/project_479304_493947_1759495212.js"
></script>
<script>
// 隐藏图标(注: 代码放在引入聊天插件js之后执行)
window
.
__ssc
.
setting
=
{
hideIcon
:
true
};
//true为隐藏,false为不隐藏
</script>
<body>
<body>
<script
defer
src=
"/chat.js"
></script>
<!-- 你的代码放在官方脚本之后 -->
<noscript>
<noscript>
<strong>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled.
<strong>
We're sorry but
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
doesn't work properly without JavaScript enabled.
Please enable it to continue.
</strong>
Please enable it to continue.
</strong>
...
...
src/assets/css/base.css
浏览文件 @
6fcfbdeb
...
@@ -170,4 +170,5 @@ p {
...
@@ -170,4 +170,5 @@ p {
/* margin-left: 0 auto;
/* margin-left: 0 auto;
left: 0;
left: 0;
right: 0; */
right: 0; */
}
}
\ No newline at end of file
src/pages/guide/index1.vue
浏览文件 @
6fcfbdeb
...
@@ -314,7 +314,7 @@
...
@@ -314,7 +314,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
openChat
}
from
'@/utils/chat'
import
{
openChat
1
}
from
'@/utils/chat'
// import Footer from '@/components/footer'
// import Footer from '@/components/footer'
// import index2 from './index2.vue'
// import index2 from './index2.vue'
...
@@ -348,7 +348,7 @@ export default {
...
@@ -348,7 +348,7 @@ export default {
this
.
$router
.
replace
(
router
)
this
.
$router
.
replace
(
router
)
},
},
openSecondChat
(){
openSecondChat
(){
openChat
()
openChat
1
()
}
}
},
},
}
}
...
...
src/pages/guide/index3.vue
浏览文件 @
6fcfbdeb
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
<
script
>
<
script
>
import
{
jiudianList
,
lunbo
}
from
'@/api/contract'
import
{
jiudianList
,
lunbo
}
from
'@/api/contract'
import
{
openChat
}
from
'@/utils/chat'
import
{
openChat
1
}
from
'@/utils/chat'
import
{
nowLocationUrl
}
from
'@/utils/tools'
import
{
nowLocationUrl
}
from
'@/utils/tools'
// import Footer from '@/components/footer';
// import Footer from '@/components/footer';
...
@@ -167,7 +167,7 @@ export default {
...
@@ -167,7 +167,7 @@ export default {
this
.
$router
.
push
({
path
:
"/detail"
,
query
:
{
id
:
String
(
item
.
id
)
}
},)
this
.
$router
.
push
({
path
:
"/detail"
,
query
:
{
id
:
String
(
item
.
id
)
}
},)
},
},
openHotelChat
(){
openHotelChat
(){
openChat
()
openChat
1
()
}
}
},
},
mounted
()
{
mounted
()
{
...
...
src/pages/home/home.vue
浏览文件 @
6fcfbdeb
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
class=
"van-image__img"
/>
class=
"van-image__img"
/>
</div>
</div>
</div>
</div>
<div
@
click=
"on
OpenChat
"
class=
"van-nav-bar__right"
>
<div
@
click=
"on
openChat1
"
class=
"van-nav-bar__right"
>
<i
class=
"van-icon van-icon-chat-o"
style=
"color:#fff; font-size:24px;"
></i>
<i
class=
"van-icon van-icon-chat-o"
style=
"color:#fff; font-size:24px;"
></i>
</div>
</div>
</div>
</div>
...
@@ -97,7 +97,7 @@ import tagImg from '@/assets/tag.jpg'
...
@@ -97,7 +97,7 @@ import tagImg from '@/assets/tag.jpg'
import
starsImg
from
'@/assets/stars.jpg'
import
starsImg
from
'@/assets/stars.jpg'
import
{
nowLocationUrl
}
from
'@/utils/tools'
import
{
nowLocationUrl
}
from
'@/utils/tools'
import
{
lunbo
,
xuanfeiList
,
gongGao
}
from
'@/api/contract'
import
{
lunbo
,
xuanfeiList
,
gongGao
}
from
'@/api/contract'
import
{
openChat
}
from
'@/utils/chat'
import
{
openChat
1
}
from
'@/utils/chat'
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -229,21 +229,21 @@ export default {
...
@@ -229,21 +229,21 @@ export default {
// console.log('图片地址:',nowLocationUrl + imgUrl)
// console.log('图片地址:',nowLocationUrl + imgUrl)
return
nowLocationUrl
+
imgUrl
return
nowLocationUrl
+
imgUrl
},
},
on
OpenChat
(){
on
openChat1
(){
openChat
()
openChat
1
()
}
}
}
}
}
}
var
Tawk_API
=
Tawk_API
||
{},
Tawk_LoadStart
=
new
Date
();
// (function(){
(
function
(){
// var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
var
s1
=
document
.
createElement
(
"script"
),
s0
=
document
.
getElementsByTagName
(
"script"
)[
0
]
;
// s1.async=true
;
s1
.
async
=
true
;
// s1.src='https://embed.tawk.to/68cbe92fb285fd192a490592/1j5e8dp99'
;
s1
.
src
=
'https://embed.tawk.to/68cbe92fb285fd192a490592/1j5e8dp99
'
;
// s1.charset='UTF-8
';
s1
.
charset
=
'UTF-8'
;
// s1.setAttribute('crossorigin','*')
;
s1
.
setAttribute
(
'crossorigin'
,
'*'
);
// s0.parentNode.insertBefore(s1,s0
);
s0
.
parentNode
.
insertBefore
(
s1
,
s0
);
// })(
);
})();
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
src/pages/home/personDetail.vue
浏览文件 @
6fcfbdeb
...
@@ -66,7 +66,7 @@ import img4 from '@/assets/user/4.jpg'
...
@@ -66,7 +66,7 @@ import img4 from '@/assets/user/4.jpg'
import
img5
from
'@/assets/user/5.jpg'
import
img5
from
'@/assets/user/5.jpg'
import
{
xuanfeiDetail
}
from
'@/api/contract'
import
{
xuanfeiDetail
}
from
'@/api/contract'
import
{
nowLocationUrl
}
from
'@/utils/tools'
import
{
nowLocationUrl
}
from
'@/utils/tools'
import
{
openChat
}
from
'@/utils/chat'
import
{
openChat
1
}
from
'@/utils/chat'
export
default
{
export
default
{
data
(){
data
(){
...
@@ -117,7 +117,7 @@ export default{
...
@@ -117,7 +117,7 @@ export default{
this
.
$router
.
push
({
path
:
'/imgShow'
,
query
:{
nowIndex
:
this
.
nowImgIndex
,
data
:
payload
}})
this
.
$router
.
push
({
path
:
'/imgShow'
,
query
:{
nowIndex
:
this
.
nowImgIndex
,
data
:
payload
}})
},
},
openDetailChat
(){
openDetailChat
(){
openChat
()
openChat
1
()
}
}
}
}
}
}
...
...
src/pages/mine/index.vue
浏览文件 @
6fcfbdeb
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
<
script
>
<
script
>
import
{
languageList
}
from
'@/lang'
;
import
{
languageList
}
from
'@/lang'
;
import
{
openChat
}
from
'@/utils/chat'
;
import
{
openChat
1
}
from
'@/utils/chat'
;
import
emitter
from
'@/utils/emitter'
import
emitter
from
'@/utils/emitter'
export
default
{
export
default
{
data
()
{
data
()
{
...
@@ -341,7 +341,7 @@ export default {
...
@@ -341,7 +341,7 @@ export default {
this
.
$router
.
push
({
path
:
"/Login"
});
this
.
$router
.
push
({
path
:
"/Login"
});
},
},
openMyChat
(){
openMyChat
(){
openChat
()
openChat
1
()
}
}
},
},
created
()
{
created
()
{
...
...
src/utils/chat.js
浏览文件 @
6fcfbdeb
export
function
openChat
()
{
export
function
openChat
1
()
{
if
(
window
.
Tawk_API
.
showWidget
)
window
.
Tawk_API
.
showWidget
();
// if (window.Tawk_API.showWidget) window.Tawk_API.showWidget();
if
(
window
.
Tawk_API
.
maximize
)
window
.
Tawk_API
.
maximize
();
// if (window.Tawk_API.maximize) window.Tawk_API.maximize();
}
\ No newline at end of file
window
.
ssq
.
push
(
'chatOpen'
);
// 打开聊天窗口
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论