mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2025-05-20 10:30:14 +09:00
update: 调整插件配置为全局混入
This commit is contained in:
parent
620354b77a
commit
6684f80f02
@ -11,6 +11,8 @@
|
|||||||
*/
|
*/
|
||||||
import HaloConfig from '@/config/halo.config.js';
|
import HaloConfig from '@/config/halo.config.js';
|
||||||
import HaloAdConfig from '@/config/ad.config.js';
|
import HaloAdConfig from '@/config/ad.config.js';
|
||||||
|
import HaloPluginsConfig from '@/config/plugins.config.js';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
install(Vue) {
|
install(Vue) {
|
||||||
Vue.mixin({
|
Vue.mixin({
|
||||||
@ -18,7 +20,9 @@ export default {
|
|||||||
return {
|
return {
|
||||||
author: HaloConfig.author,
|
author: HaloConfig.author,
|
||||||
_isWechat: true,
|
_isWechat: true,
|
||||||
|
haloConfig: HaloConfig,
|
||||||
haloAdConfig: HaloAdConfig,
|
haloAdConfig: HaloAdConfig,
|
||||||
|
haloPluginsConfig: HaloPluginsConfig,
|
||||||
_aniWaitIndex: 0, // 动画索引
|
_aniWaitIndex: 0, // 动画索引
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -120,7 +120,7 @@
|
|||||||
|
|
||||||
<!-- 返回顶部 -->
|
<!-- 返回顶部 -->
|
||||||
<tm-flotbutton color="light-blue" @click="fnToTopPage" size="m" icon="icon-angle-up"></tm-flotbutton>
|
<tm-flotbutton color="light-blue" @click="fnToTopPage" size="m" icon="icon-angle-up"></tm-flotbutton>
|
||||||
<tm-flotbutton v-if="$haloPluginsConfig.autoSubmitLink.enabled" :offset="[16,80]" label="申请" actions-pos="left" :show-text="true" color="bg-gradient-orange-accent"
|
<tm-flotbutton v-if="haloPluginsConfig.autoSubmitLink.enabled" :offset="[16,80]" label="申请" actions-pos="left" :show-text="true" color="bg-gradient-orange-accent"
|
||||||
@click="toSubmitLinkPage"></tm-flotbutton>
|
@click="toSubmitLinkPage"></tm-flotbutton>
|
||||||
<!-- 详情弹窗 -->
|
<!-- 详情弹窗 -->
|
||||||
<tm-poup v-model="detail.show" :width="640" height="auto" position="center" :round="6">
|
<tm-poup v-model="detail.show" :width="640" height="auto" position="center" :round="6">
|
||||||
|
Loading…
Reference in New Issue
Block a user