| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <template>
- <view>
- <sell-container ref="sellContainer"></sell-container>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
-
- }
- },
- onLoad() {
-
- },
- onShow() {
- this.$updateCartBadge();
- },
- onPullDownRefresh() {
- if (this.$refs.sellContainer) {
- this.$refs.sellContainer.hasShareList();
- this.$refs.sellContainer.getIndexCateInfo();
- }
- setTimeout(() => {
- uni.stopPullDownRefresh();
- }, 1000);
- },
- onPageScroll(e) {
- const comp = this.$refs.sellContainer;
- if (!comp) return;
- comp.scrollTop = e.scrollTop;
- },
- methods: {
-
- }
- }
- </script>
- <style>
- /* Empty style as content is in the component */
- </style>
|