Comments (4)
建议修改下源码的外层,尝试下使用AMD的defined.
from weui.js.
@hyingreborn @allan2coder 你好,编译输出是 webpack 以 UMD 的形式输出的
from weui.js.
在页面直接引用weui.js和css后
1、weui.alert('test');
页面无反应。
2、通过按钮点击调用函数调用alert,弹出框出来了。
在weui.js alert 函数中加的打印日志都执行了。不知道为什么第一种方式不生效。。。
另外想知道:如何通过weui.css 和weui.js 实现一个页面内的page切换。类似jquery mobile
里面data-role="page"
,div会解析成一个页面,请指教.
急,在线等
from weui.js.
@wplin007 抱歉现在才看到:
- 你试试这个最新版:https://res.wx.qq.com/open/libs/weuijs/1.0.0/weui.min.js
- weui.js没有页面切换的功能,需要自己选择一个有路由功能的js库
from weui.js.
Related Issues (20)
- 这次更新的什么鬼,组建出问题了 HOT 4
- Picker问题
- 建议大家使用weui之马版,是别人改良好的版本 HOT 3
- 为什么高版本不能兼容低版本勒 HOT 1
- input输入框在ios暗色模式下,显示异常,请问这个要怎么处理呢?
- 简直了:引用weui.css和weui.min.css导致Half-screen Dialog的展示结果不一样,这算BUG吗? HOT 1
- Body设置居中后,Slider点击滑块值问题 HOT 1
- 示例中uploader图片手动上传的问题 HOT 1
- picker关闭没效果,closeText也没有效果
- 不支持夜间模式啊。。。
- 安卓手机(小米) 系统浏览器使用Uploader组件上传多张图片时,页面会自动刷新 HOT 1
- uploader如何在上载的时候添加其他表单数据?
- 是否可以设置isAndroid的默认值
- weui.uploader 在安卓系统效果正常,但是在IOS系统失效
- 华为mate 20 pro ,荣耀10,内嵌h5页面在使用weui-uploader拍照,点击确定后不回显图片,相册原本图片都不显示了,请问能否提供下解决问题思路,其他手机正常。 HOT 1
- uploader的 input file 多图上传BUG
- 安卓手机浏览器使用actionSheet弹出来的样式不对 是一个弹窗了
- 1.2.19 js 移动端 picker 点击会多次触发 onChange HOT 1
- bala.js 已经改名成 tsimmes 了,应该更新下依赖
- 只需要使用到某个组件,有单个组件对应的代码文件吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weui.js.