import { Image, View } from "@tarojs/components";
import style from './index.module.less'
const WeComQRcode = ({text = '长按二维码 上传文件给知识库助手'}: {text?: string}) => {
  return (
    <View className="flex flex-col items-center gap-12">
      <View className={style.wrapper}>
        <View className={style.leftBlock}></View>
        <View className={style.topBlock}></View>
        <View className={style.rightBlock}></View>
        <View className={style.bottomBlock}></View>
        <Image
          showMenuByLongpress
          src="https://cdn.wehome.cn/cmn/jpg/141/META-H8UKWHWU-5YMWRSCR77VBOBA6AANE3-UFEPQICM-26.jpg"
          style={{ width: "180px", height: "180px" }}
        />
      </View>
      <View className="text-12 text-[#777E95] leading-16">{text}</View>
    </View>
  );
};

export default WeComQRcode;
