1 Star 0 Fork 6

@guigu/ListenToBooks

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
App.vue 964 Bytes
Copy Edit Raw Blame History
xiumubai authored 2023-04-26 15:37 . feat: 关闭深色模式
<script>
export default {
onLaunch: function () {
// #ifdef APP-PLUS
plus.screen.lockOrientation("portrait-primary");
const dom = weex.requireModule("dom");
dom.addRule("fontFace", {
fontFamily: "graceIconfont",
src: "url('/static/font/grace.ttf')",
});
// #endif
},
onShow: function () {},
onHide: function () {},
};
</script>
<style lang="scss">
/* 加载阿里图标字体 */
@import "./static/font/ali/index.css";
/* 加载框架核心样式 */
@import "./Grace6/css/grace.scss";
/* 加载深色模式适配样式 */
// @import "./Grace6/css/graceDark.scss";
/* 加载自定义样式 */
@import "./custom/custom.scss";
/* 引入颜色库 */
@import "./Grace6/css/colors.css";
@import "./custom/iconfont.scss";
/* 加载图标字体 - 条件编译模式 */
/* #ifdef APP-PLUS-NVUE */
.gui-icons {
font-family: graceIconfont;
}
/* #endif */
/* #ifndef APP-NVUE */
page {
background: #fff;
}
/* #endif */
</style>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jim_guigu/listen-to-books.git
git@gitee.com:jim_guigu/listen-to-books.git
jim_guigu
listen-to-books
ListenToBooks
master

Search