| | |
| | | @click="toDetail(item.id, item.type)" |
| | | /> |
| | | </z-paging> |
| | | <wd-toast /> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | import ProductCard from "@/components/product_card/index.vue"; |
| | | import { useUserStore } from "@/store/modules/user"; |
| | | import zPaging from "@/components/z-paging/z-paging.vue"; |
| | | import { useToast } from "wot-design-uni"; |
| | | |
| | | const toast = useToast(); |
| | | const userStore = useUserStore(); |
| | | const userInfo: any = computed(() => userStore.userInfo); |
| | | const pagingRef = ref(); |
| | |
| | | const list = ref<any[]>([]); |
| | | |
| | | const toDetail = (id: number, type: string) => { |
| | | toast.show("点击卡片"); |
| | | if (type == "拉丝") { |
| | | uni.navigateTo({ |
| | | url: `/pages/production/detail/wireDetail?id=${id}`, |
| | |
| | | |
| | | <style lang="scss" scoped> |
| | | .card_box { |
| | | height: calc(100vh - 140px); |
| | | height: calc(100vh - 120px); |
| | | } |
| | | </style> |