<template> <view class="flex-col page"> <text class="self-stretch font text">本次课程活动需要到达指定人数才能进行授课</text> <view class="flex-col justify-start items-center self-center text-wrapper mt-19" @click="closeTip()"> <text class="font text_2">知道了</text> </view> </view> </template> <script setup lang="ts"> import { onLoad } from "@dcloudio/uni-app"; import { getFonts } from '../../../common/globalFont'; import emitter from '../../../utils/emitter'; onLoad(() => { getFonts() }) const closeTip = () => { emitter.emit('closeyyxzTip') } </script> <style lang="scss" scoped> .mt-19 { margin-top: 58.88rpx; } .page { padding: 43.39rpx 80.58rpx 52.69rpx; background-color: #ffffff; border-radius: 30.99rpx; width: 80%; overflow-y: auto; overflow-x: hidden; height: 100%; margin: -200rpx auto 0; } .font { font-size: 33.39rpx; font-family: FangZhengFonts; } .text { color: #323233; line-height: 52.69rpx; text-align: center; } .text-wrapper { padding: 20.99rpx 0; background-color: #ffb6b9; border-radius: 30.99rpx; width: 287.4rpx; } .text_2 { color: #ffffff; line-height: 39.95rpx; } @import url(../../../common/css/global.css); </style>