index.js 281 B

12345678910111213141516171819
  1. var app = getApp();
  2. Component({
  3. properties: {
  4. generalActive: {
  5. type: Boolean
  6. },
  7. generalContent: {
  8. type:Object
  9. }
  10. },
  11. data: {},
  12. attached: function () {
  13. },
  14. methods: {
  15. close: function (){
  16. this.triggerEvent('generalWindow');
  17. }
  18. }
  19. })