index.vue 362 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. <view class="main">
  3. <shopList ref="shopList"></shopList>
  4. </view>
  5. </template>
  6. <script>
  7. import shopList from "@/components/shopList.vue"
  8. export default {
  9. components: {
  10. shopList
  11. },
  12. data() {
  13. return {}
  14. },
  15. onPullDownRefresh() {
  16. this.$refs.shopList.init()
  17. },
  18. methods:{
  19. }
  20. }
  21. </script>
  22. <style lang="scss" scoped>
  23. </style>