| | |
| | | </CardTitle> |
| | | </template> |
| | | <MonofilCard v-for="(item, index) in cardList" :key="index" /> |
| | | <template #bottom> |
| | | <view class="flex justify-center items-center"> |
| | | <wd-button block> |
| | | <text class="text-[#fff]" @click="save">保存</text> |
| | | </wd-button> |
| | | </view> |
| | | </template> |
| | | </z-paging> |
| | | </view> |
| | | <Scan ref="scanRef" /> |
| | |
| | | import ManageApi from "@/api/product/manage"; |
| | | import TwistApi from "@/api/product/twist"; |
| | | import zPaging from "@/components/z-paging/z-paging.vue"; |
| | | import { useMessage } from "@/uni_modules/wot-design-uni"; |
| | | import { useMessage } from "wot-design-uni"; |
| | | // import { useZebraScan } from "@/hooks/useZebraScan"; |
| | | // const { init, start, stop, triggerScan } = useZebraScan(); |
| | | |
| | |
| | | } |
| | | }; |
| | | |
| | | const save = () => {}; |
| | | |
| | | onLoad((options: any) => { |
| | | // 开启广播监听事件 |
| | | uni.$on("scan", getScanCode); |