diff --git a/pages/API/toast/toast.uvue b/pages/API/toast/toast.uvue
index 9e41d537adea7daa0fa4082ed3fea0b3ff322c51..ebdb2d572e9c737a6be42d8682e7babeef97b59b 100644
--- a/pages/API/toast/toast.uvue
+++ b/pages/API/toast/toast.uvue
@@ -10,7 +10,9 @@
-
+
+
+
@@ -88,7 +90,31 @@
},
})
},
- // #ifdef APP-PLUS
+ // #ifdef APP-PLUS
+ toast5TapTop: function () {
+ uni.showToast({
+ title: "显示一段轻提示",
+ position: 'top',
+ success: function (res) {
+ this.exeRet = "success:" + JSON.stringify(res) + new Date()
+ },
+ fail: function (res) {
+ this.exeRet = "fail:" + JSON.stringify(res)
+ },
+ })
+ },
+ toast5TapCenter: function () {
+ uni.showToast({
+ title: "显示一段轻提示",
+ position: 'center',
+ success: function (res) {
+ this.exeRet = "success:" + JSON.stringify(res) + new Date()
+ },
+ fail: function (res) {
+ this.exeRet = "fail:" + JSON.stringify(res)
+ },
+ })
+ },
toast5Tap: function () {
uni.showToast({
title: "显示一段轻提示",