wechat.js 796 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // pages/user/walletDetails/walletDetails.js
  2. import Date from '../../../utils/util.js'
  3. import APIClient from '../../../utils/APIClient.js'
  4. import utils from '../../../utils/util'
  5. Page({
  6. data: {
  7. buyBtnText: '立即开通',
  8. price: '29',
  9. bottomText: '原价99元/年',
  10. productId: 0,
  11. modalType: 'image',
  12. isModalShow: false,
  13. isVIP: false
  14. },
  15. onLoad: function (options) {
  16. if (options.title) {
  17. wx.setNavigationBarTitle({
  18. title: 服务中心
  19. });
  20. }
  21. },
  22. copyNumber(){
  23. wx.setClipboardData({
  24. data: 'efunbox123',
  25. success: function (res) {
  26. wx.getClipboardData({
  27. success: function (res) {
  28. wx.showToast({
  29. title: '复制成功'
  30. })
  31. }
  32. })
  33. }
  34. })
  35. },
  36. })