From bfc807ed1acd06060fe1c3b941f08ac643b9d81b Mon Sep 17 00:00:00 2001 From: queenwuli <942534046@qq.com> Date: Fri, 18 Dec 2020 15:41:49 +0800 Subject: [PATCH] gx --- hive-app/components/uni-popup/popup.js | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/hive-app/components/uni-popup/popup.js b/hive-app/components/uni-popup/popup.js new file mode 100644 index 0000000..2a7f22f --- /dev/null +++ b/hive-app/components/uni-popup/popup.js @@ -0,0 +1,25 @@ +import message from './message.js'; +// 定义 type 类型:弹出类型:top/bottom/center +const config = { + // 顶部弹出 + top:'top', + // 底部弹出 + bottom:'bottom', + // 居中弹出 + center:'center', + // 消息提示 + message:'top', + // 对话框 + dialog:'center', + // 分享 + share:'bottom', +} + +export default { + data(){ + return { + config:config + } + }, + mixins: [message], +} -- Gitblit v1.9.1