<template>
	
</template>

<script setup>
import { onLaunch } from '@dcloudio/uni-app'   
//小程序加载的时候调用该方法
onLaunch(()=>{
	// console.log('onLaunch方法被触发');
	// getFonts()   //更改全局字体
})

// const getFonts = () => { //导入字体
// 	uni.loadFontFace({
// 		family: 'FangZhengFonts',
// 		source: `url("https://carbon2.obs.cn-north-4.myhuaweicloud.com/fonts/FangZhengFonts.TTF")`,
// 		success: (res) => {
// 			console.log('success', res);
// 		},
// 		fail: (err) => {
// 			console.log('err', err);
// 		}
// 	})
// }
</script>

<style>
/*每个页面公共css */
/* //设置圆角 */
checkbox.round .wx-checkbox-input,
checkbox.round .uni-checkbox-input {
	border-radius: 100upx;
	border: 1px solid #ec6330;
}
/* //设置背景色 */
checkbox.red[checked] .wx-checkbox-input,
checkbox.red.checked .uni-checkbox-input {
	background-color: #E79EA1 !important;
	border-color: #ebebeb !important;
	color: #ffffff !important;
}
/* //元素使用的时候就是使用 round 和 red */
</style>