四零语境前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

51 lines
803 B

<script>
export default {
onLaunch() {
// 请求初始化一切配置
console.log('App OnLaunch')
},
async onShow() {
console.log('App Show')
await this.$store.dispatch('initData')
// console.log('配置数据初始化完成')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style lang="scss">
// @import '@/uni_modules/uv-ui-tools/index.scss';
/* 富文本全局样式 - rich-text组件的class样式必须写在全局中 */
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
margin: 10px 0;
line-height: 1.4;
}
h2 {
font-size: 20px;
color: #333;
}
p {
margin: 8px 0;
line-height: 1.6;
color: #666;
}
strong {
font-weight: bold;
color: #333;
}
/* 首行缩进样式 */
.text-indent {
text-indent: 2em;
}
</style>