Skip to content

Commit

Permalink
feat: community in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
yenche123 committed Dec 25, 2024
1 parent 0e790b3 commit 73d990a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -87,20 +87,14 @@ export function useSettingContent() {
const onTapContact = () => {
if(!contactLink) return
window.open(contactLink, "_blank")
// const cha = liuApi.getCharacteristic()
// if(cha.isWeChat || cha.isPC) {
// window.open(contactLink, "_blank")
// return
// }
// const src = contactQR.value
// cui.previewImage({
// imgs: [{ src, id: "contact-qrcode", width: 250, height: 250 }]
// })
// cui.showSnackBar({ text_key: "common.scan_with_wx" })
}

const onTapWxGzh = () => {

const src = "/images/third-party/follow-on-weixin.png"
cui.previewImage({
imgs: [{ src, id: "gzh-qrcode", width: 500, height: 150 }]
})
cui.showSnackBar({ text_key: "common.scan_with_wx" })
}

return {
Expand Down

0 comments on commit 73d990a

Please sign in to comment.