index.js 517 B

123456789101112131415161718192021222324252627282930
  1. var app = getApp();
  2. Component({
  3. properties: {
  4. sharePacket: {
  5. type: Object,
  6. value: {
  7. isState: true,
  8. priceName: '',
  9. }
  10. }
  11. },
  12. data: {
  13. },
  14. attached: function () {},
  15. methods: {
  16. closeShare: function () {
  17. this.setData({
  18. "sharePacket.isState": true
  19. })
  20. },
  21. goShare: function () {
  22. this.triggerEvent('listenerActionSheet');
  23. },
  24. }
  25. })