✨ feat(ID1000775):搜索功能优化

This commit is contained in:
Haiyi
2022-12-10 16:30:19 +08:00
parent f11336f6c7
commit 8b7e0c45d7
14 changed files with 1240 additions and 221 deletions
+13 -1
View File
@@ -47,12 +47,24 @@ const LinkBlueTooth = () => {
const onFindDevice = () => {
check().then((res) => {
if (linkStatus == 1) {
// 暂时不开放蓝牙 有需要屏蔽此段代码
return Taro.showToast({
icon: 'none',
title: '【蓝牙设备】暂未对外开放敬请期待',
})
Taro.showToast({
title: '请打开手机蓝牙',
icon: 'none',
})
}
else {
// 暂时不开放蓝牙 有需要屏蔽此段代码
return Taro.showToast({
icon: 'none',
title: '【蓝牙设备】暂未对外开放敬请期待',
})
setPopupShow(true)
onFindEven()
}
@@ -68,7 +80,7 @@ const LinkBlueTooth = () => {
return (
<>
<View className={styles.main}>
<SearchInput title="蓝牙设备" showIcon>
<SearchInput title="取色设备" showIcon>
<View className={styles.bluetooth_link} onClick={onFindDevice}>
<View className={classnames(styles.link_status, linkStatus == 3 && styles.link_statused, linkStatus == 2 && styles.link_statused_no)}></View>
{