App.vue 696 Bytes
<!--
 * @Descripttion: 
 * @version: 0.0.0
 * @Author: genglw
 * @Date: 2022-01-29 16:40:40
 * @LastEditors: genglw
 * @LastEditTime: 2022-02-18 14:06:28
-->
<template>
	<view>
		<u-toast ref="uToast" />
	</view>
</template>

<script>
	export default {
		// 此处globalData为了演示其作用,不是uView框架的一部分
		globalData: {
			username: ''
		},

		onLaunch() {

		},

		onShow() {
			console.log("App onshow")
		},

		methods: {

		},

	}
</script>

<style lang="scss">
	/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
	@import '@/static/css/icon.css';
</style>