mirror of
https://github.com/tidys/cc-inspector-chrome
synced 2025-04-16 07:01:03 +00:00
添加个人联系方式
This commit is contained in:
parent
645605c60d
commit
fdcb8ae1fb
@ -62,7 +62,28 @@ export default defineComponent({
|
|||||||
});
|
});
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
ccui.footbar.showTipsArray({
|
ccui.footbar.showTipsArray({
|
||||||
tips: ["press space in the hierarchy to quickly control the display and hiding of nodes"],
|
tips: [
|
||||||
|
"Press space in the hierarchy to quickly control the display and hiding of nodes", //
|
||||||
|
"If you encounter any problems during use, please feel free to contact me",
|
||||||
|
],
|
||||||
|
});
|
||||||
|
ccui.footbar.registerCmd({
|
||||||
|
icon: "github",
|
||||||
|
cb: () => {
|
||||||
|
window.open("https://github.com/tidys/cc-inspector-chrome");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
ccui.footbar.registerCmd({
|
||||||
|
icon: "qq",
|
||||||
|
cb: () => {
|
||||||
|
window.open("https://jq.qq.com/?_wv=1027&k=5SdPdy2");
|
||||||
|
},
|
||||||
|
});
|
||||||
|
ccui.footbar.registerCmd({
|
||||||
|
icon: "support",
|
||||||
|
cb: () => {
|
||||||
|
window.open("https://github.com/tidys/cc-inspector-chrome/issues");
|
||||||
|
},
|
||||||
});
|
});
|
||||||
Bus.on(BusMsg.EnableSchedule, funcEnableSchedule);
|
Bus.on(BusMsg.EnableSchedule, funcEnableSchedule);
|
||||||
timer.create();
|
timer.create();
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 194 KiB |
@ -1,7 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="options">
|
<div class="options">
|
||||||
<div class="text">哈哈,让你发现了</div>
|
<ul>
|
||||||
<div class="text">不过这里什么都没有</div>
|
<li>
|
||||||
|
<div class="money">
|
||||||
|
<div class="tips">support me with WeChat Pay</div>
|
||||||
|
<img class="png" src="./res/money.png" alt="" />
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a target="_blank" href="https://patreon.com/inspector_game?utm_medium=unknown&utm_source=join_link&utm_campaign=creatorshare_creator&utm_content=copyLink">support me with Patreon</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
@ -22,10 +31,17 @@ export default defineComponent({
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
font-size: 30px;
|
||||||
.text {
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
font-size: 40px;
|
.png {
|
||||||
|
width: auto;
|
||||||
|
height: 130px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tips {
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
color: #000000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 167 KiB |
@ -1,35 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="popup">
|
<div class="popup">
|
||||||
<div class="head">
|
<ol>
|
||||||
<div class="name">{{ title }}</div>
|
<li class="tips">Scan me on WeChat</li>
|
||||||
<div style="flex: 1"></div>
|
<li class="tips">Add me as a friend</li>
|
||||||
<CCButton @click="onClickOptions">
|
</ol>
|
||||||
<i class="iconfont icon_settings"></i>
|
|
||||||
</CCButton>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wechat">
|
|
||||||
<div class="money">
|
|
||||||
<img class="png" src="./res/money.png" alt="" />
|
|
||||||
<div class="tips">请我喝杯奶茶</div>
|
|
||||||
</div>
|
|
||||||
<div class="space"></div>
|
|
||||||
<div class="friends">
|
|
||||||
<img class="png" src="./res/friend.png" alt="" />
|
<img class="png" src="./res/friend.png" alt="" />
|
||||||
<div class="tips">交个朋友</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="foot">
|
<div class="foot">
|
||||||
<a href="https://tidys.gitee.io/doc/#" target="_blank">
|
|
||||||
<img class="icon" src="./res/tiezi.png" alt="" />
|
|
||||||
</a>
|
|
||||||
<a href="https://github.com/tidys/CocosCreatorPlugins/tree/master/CocosCreatorInspector" target="_blank">
|
|
||||||
<img class="icon" src="./res/github.png" alt="" />
|
|
||||||
</a>
|
|
||||||
<a href="https://jq.qq.com/?_wv=1027&k=5SdPdy2" target="_blank">
|
|
||||||
<img class="icon" src="./res/qq.png" alt="" />
|
|
||||||
</a>
|
|
||||||
<div class="space"></div>
|
<div class="space"></div>
|
||||||
<div v-if="version">ver:{{ version }}</div>
|
<div v-if="version">ver:{{ version }}</div>
|
||||||
</div>
|
</div>
|
||||||
@ -39,7 +15,7 @@
|
|||||||
import ccui from "@xuyanfeng/cc-ui";
|
import ccui from "@xuyanfeng/cc-ui";
|
||||||
import CCP from "cc-plugin/src/ccp/entry-render";
|
import CCP from "cc-plugin/src/ccp/entry-render";
|
||||||
import { ChromeConst } from "cc-plugin/src/chrome/const";
|
import { ChromeConst } from "cc-plugin/src/chrome/const";
|
||||||
import { defineComponent, nextTick, onMounted, provide, ref } from "vue";
|
import { defineComponent, onMounted, ref } from "vue";
|
||||||
const { CCInput, CCButton, CCInputNumber, CCSelect, CCCheckBox, CCColor } = ccui.components;
|
const { CCInput, CCButton, CCInputNumber, CCSelect, CCCheckBox, CCColor } = ccui.components;
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "popup",
|
name: "popup",
|
||||||
@ -94,41 +70,9 @@ export default defineComponent({
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
||||||
.head {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
.name {
|
|
||||||
user-select: none;
|
|
||||||
font-size: 18px;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.wechat {
|
|
||||||
margin: 10px 0;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
|
|
||||||
.space {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.png {
|
|
||||||
width: auto;
|
|
||||||
height: 130px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tips {
|
.tips {
|
||||||
font-size: 15px;
|
color: #000000;
|
||||||
user-select: none;
|
|
||||||
text-align: center;
|
|
||||||
width: 100%;
|
|
||||||
color: #6d6d6d;
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.foot {
|
.foot {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user