Git Product home page Git Product logo

mpvue-toast's People

Contributors

noahlam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mpvue-toast's Issues

关于多参数调用的疑问

你好,我用
this.$mptoast('请输入正确网址,如xxxx.com', 'none', 3000)调用的时候会出现组件闪一下,不出提示框的情况,用对象调用的时候提示框正常,请问你有遇见过这种情况吗?

this.$mptoast指定样式后, 显示不正常问题

this.$mptoast({ text: err, icon: 'error', duration: 2000, textClass: 'toast_error', iconClass: 'toast_image' })

样式定义如下:
`

.toast_image {
width: 75rpx;
height: 75rpx;
margin-bottom: 10rpx;
}

.toast_error {
min-height: 60rpx;
min-width: 150rpx;
max-width: 50%;
max-height: 50%;
border-radius: 10rpx;
z-index: 9999;
position: fixed;
font-size: 28rpx;
color: #fff;
top: 50%;
left: 50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transform: translate(-50%, -50%);
background: rgba(0,0,0,.65);
padding: 20rpx;
opacity: 0;
}
`
这样设置后, 显示就不正常了. toast内容在文档流里面, 不是浮层的.

在main.js注册报错

thirdScriptError
sdk uncaught third Error
Object(...) is not a function
TypeError: Object(...) is not a function

完全按照步骤来的,麻烦有时间看下谢谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.