Giter Club home page Giter Club logo

Comments (4)

xsf0105 avatar xsf0105 commented on May 14, 2024

建议修改下源码的外层,尝试下使用AMD的defined.

from weui.js.

progrape avatar progrape commented on May 14, 2024

@hyingreborn @allan2coder 你好,编译输出是 webpack 以 UMD 的形式输出的

from weui.js.

dao-zhang avatar dao-zhang commented on May 14, 2024

在页面直接引用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.

BearJ avatar BearJ commented on May 14, 2024

@wplin007 抱歉现在才看到:

  1. 你试试这个最新版:https://res.wx.qq.com/open/libs/weuijs/1.0.0/weui.min.js
  2. weui.js没有页面切换的功能,需要自己选择一个有路由功能的js库

from weui.js.

Related Issues (20)

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.