index.tsx 910 B

1234567891011121314151617181920212223242526272829
  1. import { View } from "@tarojs/components";
  2. import { useAppStore } from "@/store/appStore";
  3. import Popup from "@/components/popup/popup";
  4. import { useState } from "react";
  5. import style from './index.module.less';
  6. import QrcodeUploadTips from "@/components/qrcode-upload-tips";
  7. interface IProps {
  8. show: boolean;
  9. setShow: (show: boolean) => void;
  10. }
  11. export default ({ show, setShow }: IProps) => {
  12. return (
  13. <View className="relative">
  14. <Popup setShow={setShow} show={show} title="二维码">
  15. <View className={style.container}>
  16. <View className={style.card}>
  17. <QrcodeUploadTips />
  18. </View>
  19. <View className={style.bottomButtons}>
  20. <View className="pr-16">替换</View>
  21. <View className="text-gray-25">|</View>
  22. <View className="pl-16">清空</View>
  23. </View>
  24. </View>
  25. </Popup>
  26. </View>
  27. );
  28. };