Guoguo-notes
主页
  • 常用笔记
  • 飞码篇
  • Java
  • React笔记
  • 袁果锅生态
GitHub
主页
  • 常用笔记
  • 飞码篇
  • Java
  • React笔记
  • 袁果锅生态
GitHub
  • 飞码篇

    • CSS--common.md
    • ES6.md
    • Git提交.md
    • Js获取当前时间的方法.md
    • Uni-App笔记.md
    • Uni-app API.md
    • Uniapp-插件.md
    • VueX 笔记.md
    • js函数封装.md
    • js常规.md
    • uView基本使用.md
    • uniapp 引入组件库.md
    • 常用正则表达式.md
    • 界面类.md
    • 笔记.md
    • 组件封装.md
    • 编程逻辑整理.md
    • 调用接口.md

Toast消息提示

<u-toast ref="uToast"></u-toast>
this.$refs.uToast.show({
					type: 'success',
					title: '成功主题(带图标)',
					message: "庄生晓梦迷蝴蝶",
					iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/success.png'
				})
				
this.$u.toast(261)

页面加载

<view class="pageloading" v-if="isloading">
    <u-loading-page :loading="isloading" loading-text="loading..." bgColor="#ff0000"></u-loading-page>
</view>
isloading: true
.pageloading{
		position: fixed;
		top:0;
		left: 0;
		width: 100vw;
		height: 100vh;
		z-index: 3;
	}
Edit this page
Last Updated:
Contributors: 袁果锅
Prev
js常规.md
Next
uniapp 引入组件库.md