I'm a web developer. I'm JohnsenZhou.
johnsenzhou / mpvue-modal-extend Goto Github PK
View Code? Open in Web Editor NEWmpvue小程序modal组件,对微信开发能力做了集成
License: MIT License
mpvue小程序modal组件,对微信开发能力做了集成
License: MIT License
I'm a web developer. I'm JohnsenZhou.
首先非常感谢提供组件,项目中刚好用到modal,因为考虑到兼容H5所以没有用小程序的,但实际应用中一个按钮的情况还是很普遍的,按文档的使用showCancel等于false还是会有取消按钮。
"mpvue": "^1.0.11",
"less": "^3.8.1",
"less-loader": "^4.1.0",
"px2rpx-loader": "^0.1.10",
基于mpvue-quickStart开发, 配置了px2rpxLoader的rpxUnit为1后 弹窗变的很小.
loader: 'px2rpx-loader',
options: {
baseDpr: 1,
rpxUnit: 1
}
设置为1的话能和设计稿1px=1rpx, 有办法解决吗?
To install it, you can run: npm install --save !!../../extract-text-webpack-plugin/loader.js?{"omit":1,"remove":true}!vue-style-loader!css-loader?{"minimize":false,"sourceMap":false}!../../mpvue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-1af9ff69","scoped":false,"hasInlineConfig":false}!postcss-loader?{"sourceMap":true}!px2rpx-loader?{"baseDpr":1,"rpxUnit":0.5}!less-loader?{"sourceMap":false}!../../mpvue-loader/lib/selector?type=styles&index=0!./modal.vue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.