index.js 598 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. const app = getApp();
  2. Page({
  3. data: {
  4. CustomBar: app.globalData.CustomBar,
  5. value: [
  6. { name: "vmodel", require, value: '', msg: "成型不能为空" },
  7. ]
  8. },
  9. // 提交
  10. submitFunc () {
  11. const query = wx.createSelectorQuery();
  12. query.select('.form').boundingClientRect();
  13. query.exec(res => {
  14. console.log(res)
  15. })
  16. },
  17. onLoad: function (options) {
  18. },
  19. onReady: function () {
  20. },
  21. onShow: function () {
  22. },
  23. onHide: function () {
  24. },
  25. onUnload: function () {
  26. },
  27. onPullDownRefresh: function () {
  28. },
  29. onReachBottom: function () {
  30. },
  31. })