GITLAB

刘文博 / gulu-vue

Sign in
  • Sign in
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • gulu-vue
  • src
  • components
  • uni-popup
  • popup.js
  • 5bca13074   分享功能 Browse Code »
    mullins
    2020-06-08 11:19:09 +0800  
popup.js 423 Bytes
edit raw blame history
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],
}