index.js 406 B

12345678910111213141516171819202122232425262728293031
  1. //Component Object
  2. Component({
  3. properties: {
  4. shops: { type: Array, value: [] },
  5. },
  6. data: {
  7. },
  8. methods: {
  9. getLocation: function(res){
  10. this.triggerEvent('getLocation', { });
  11. }
  12. },
  13. created: function(){
  14. },
  15. attached: function(){
  16. },
  17. ready: function(){
  18. },
  19. moved: function(){
  20. },
  21. detached: function(){
  22. },
  23. });