repair_success.js 672 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. var app = getApp()
  2. Page({
  3. data: {
  4. },
  5. onLoad: function (options) {
  6. },
  7. home:function(){
  8. if(app.globalData.compatible){
  9. wx.reLaunch({
  10. url: '/pages/compatible/index/index',
  11. })
  12. }else{
  13. wx.reLaunch({
  14. url: '/pages/index/index',
  15. })
  16. }
  17. },
  18. phone: function (e) {
  19. wx.makePhoneCall({
  20. phoneNumber: wx.getStorageSync('home').customer_service_phone,
  21. })
  22. },
  23. onReady: function () {
  24. },
  25. onShow: function () {
  26. },
  27. onHide: function () {
  28. },
  29. onUnload: function () {
  30. },
  31. onPullDownRefresh: function () {
  32. },
  33. onReachBottom: function () {
  34. },
  35. onShareAppMessage: function () {
  36. }
  37. })