84 Star 951 Fork 270

卓源软件 / JeeSite Mobile Uni-App

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
App.vue 547 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
<script>
/**
* Copyright (c) 2013-Now http://jeesite.com All rights reserved.
*/
export default {
onLaunch() {
// 国际化,设置当前语言
if (this.vuex_locale){
this.$i18n.locale = this.vuex_locale;
this.$u.api.lang({lang: this.vuex_locale});
}
// 设置底部导航栏角标
uni.setTabBarBadge({
index: 0,
text: '3'
});
// uni.removeTabBarBadge({
// index: 0
// });
}
}
</script>
<style lang="scss">
@import "uview-ui/index.scss";
@import "pages/common/jeesite.scss";
</style>
JavaScript
1
https://gitee.com/thinkgem/jeesite-uniapp.git
git@gitee.com:thinkgem/jeesite-uniapp.git
thinkgem
jeesite-uniapp
JeeSite Mobile Uni-App
master

搜索帮助

14c37bed 8189591 565d56ea 8189591