Sign in

wms / wms-cloud-ui · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • wms-cloud-ui
  • components
  • uni-popup
  • popup.js
  • commit
    00689798
    yuanshuhui authored
    2020-11-25 11:31:25 +0800  
    Browse Code »
popup.js 387 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 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],
}