Code Monkey home page Code Monkey logo

wc-messagebox's People

Contributors

helicopters 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  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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wc-messagebox's Issues

prompt怎么用的

截图中展示了prompt的用法,文档里怎么没写怎么用?

document is undefined

按照文档在 main.js 里面引用如下
image
然后在index.vue 中执行this.$alert('这里是内容')
报错
image
image

请问是什么原因导致的,谢谢。

使用下面rem布局,任何人的ui都会变化,包括你的,虽然不该提issues,但是还是想知道,我这么布局行不行

(
function (doc, win) {
/** 获取像素比 /
var pixelRatio = 1 / window.devicePixelRatio
/
* 通过js动态设置视口(viewport) /
document.write('')
// document.write('')
/
* 条件:尺寸越大,则字体大小越大。尺寸越小,则字体大小越小。
获取html节点 */
var html = document.getElementsByTagName('html')[0]
// 获取屏幕宽度
var pageWidth = html.getBoundingClientRect().width
// 屏幕宽度 / 固定数值 = 基准值
html.style.fontSize = pageWidth / 16 + 'px'
}
)(document, window)

Toast的duration参数貌似无效

以这样的方式注册无效 Vue.use(Toast, {location: 'bottom', duration: 10000});
以这样的方式注册无效 Vue.use(Toast, 10000);
以这样的方式调用无效 this.$toast('手机号码不能为空',10000);
以这样的方式调用有效 this.$toast('手机号码不能为空',{ duration: 10000,location: 'top'});

v-html

用起来挺好的,但是content这块我需要定制换行,我就把{{content}}改了下,加了v-html

问题

哥,旧版文档你昨天更新了就不见了。建议在readme里面加上旧版文档的链接

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.