mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-19 16:38:41 +00:00
update doc qq
This commit is contained in:
parent
9c33219a72
commit
1f1a01b7c0
@ -94,6 +94,7 @@ export enum GA_EventName {
|
|||||||
* 用户主动关闭store广告
|
* 用户主动关闭store广告
|
||||||
*/
|
*/
|
||||||
CloseAd = "close_ad",
|
CloseAd = "close_ad",
|
||||||
|
OpenDoc = "open_doc",
|
||||||
/**
|
/**
|
||||||
* 展示广告
|
* 展示广告
|
||||||
*/
|
*/
|
||||||
@ -106,6 +107,7 @@ export enum GA_EventName {
|
|||||||
export enum GA_Button {
|
export enum GA_Button {
|
||||||
Github = "github",
|
Github = "github",
|
||||||
Issues = "issues",
|
Issues = "issues",
|
||||||
|
Docs = "docs",
|
||||||
QQ = "qq",
|
QQ = "qq",
|
||||||
/**
|
/**
|
||||||
* 当页面不支持cocos时,用户手动点击了刷新
|
* 当页面不支持cocos时,用户手动点击了刷新
|
||||||
|
@ -88,6 +88,16 @@ export default defineComponent({
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
icon: "icon_book",
|
||||||
|
txt: "插件完整功能介绍(Gif动画)",
|
||||||
|
contextmenu: () => {},
|
||||||
|
visible: true,
|
||||||
|
click: () => {
|
||||||
|
sendGaEvent(GA_EventName.OpenDoc);
|
||||||
|
window.open("https://juejin.cn/post/7463836172559024179");
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
icon: "icon_do_play",
|
icon: "icon_do_play",
|
||||||
click: (event: MouseEvent, item: ListItem) => {
|
click: (event: MouseEvent, item: ListItem) => {
|
||||||
|
@ -75,11 +75,20 @@ export default defineComponent({
|
|||||||
});
|
});
|
||||||
ccui.footbar.registerCmd({
|
ccui.footbar.registerCmd({
|
||||||
icon: "qq",
|
icon: "qq",
|
||||||
|
title: "加入QQ群,一起吐槽唠嗑",
|
||||||
cb: () => {
|
cb: () => {
|
||||||
window.open("https://jq.qq.com/?_wv=1027&k=5SdPdy2");
|
window.open("http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=Bb-7s7qr2C30Ys8HTkni5wnuyxw6UoDA&authKey=M5yO2j0bTRHo1e8tlTU%2FGMGya1gW03ZhRbApZBkycwnXMxpDzwibWaJtrXZyxXYl&noverify=0&group_code=591101717");
|
||||||
ga.clickButton(GA_Button.QQ);
|
ga.clickButton(GA_Button.QQ);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
ccui.footbar.registerCmd({
|
||||||
|
icon: "book",
|
||||||
|
title: "插件完整功能介绍(Gif动画)",
|
||||||
|
cb: () => {
|
||||||
|
ga.clickButton(GA_Button.Docs);
|
||||||
|
window.open("https://juejin.cn/post/7463836172559024179");
|
||||||
|
},
|
||||||
|
});
|
||||||
ccui.footbar.registerCmd({
|
ccui.footbar.registerCmd({
|
||||||
icon: "support",
|
icon: "support",
|
||||||
cb: () => {
|
cb: () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user