feat: 个人版本-我的-隐藏微信客服
This commit is contained in:
@@ -26,6 +26,7 @@ import {
|
||||
phoneLogin,
|
||||
updateTableid,
|
||||
} from "../../utils/index";
|
||||
import { type } from "../../../config";
|
||||
|
||||
const my = (props: any) => {
|
||||
// const [active, setActive] = react.useState(props?.active ?? 0);
|
||||
@@ -212,31 +213,34 @@ const my = (props: any) => {
|
||||
Taro.navigateTo({
|
||||
url: "/pages/my/components/CheckinDetail/index",
|
||||
});
|
||||
}else{
|
||||
} else {
|
||||
Toast.fail({
|
||||
message: '请先登录',
|
||||
selector: '#vanToast-demo2',
|
||||
})
|
||||
message: "请先登录",
|
||||
selector: "#vanToast-demo2",
|
||||
});
|
||||
}
|
||||
}}
|
||||
/>
|
||||
{/* <Cell icon="manager" title="个人资料" isLink /> */}
|
||||
|
||||
<Cell
|
||||
title="微信客服"
|
||||
icon="wechat"
|
||||
isLink
|
||||
value=""
|
||||
onClick={() => {
|
||||
Taro.openCustomerServiceChat({
|
||||
corpId: "wwb04af9a97514271c", //企业id
|
||||
extInfo: {
|
||||
url: "https://work.weixin.qq.com/kfid/kfc70f3f112c97a54c5",
|
||||
},
|
||||
success: function (res) {},
|
||||
});
|
||||
}}
|
||||
/>
|
||||
{type !== "people" && (
|
||||
<Cell
|
||||
title="微信客服"
|
||||
icon="wechat"
|
||||
isLink
|
||||
value=""
|
||||
onClick={() => {
|
||||
Taro.openCustomerServiceChat({
|
||||
corpId: "wwb04af9a97514271c", //企业id
|
||||
extInfo: {
|
||||
url: "https://work.weixin.qq.com/kfid/kfc70f3f112c97a54c5",
|
||||
},
|
||||
success: function (res) {},
|
||||
});
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
||||
<Cell
|
||||
icon="friends"
|
||||
title="关于我们"
|
||||
|
||||
Reference in New Issue
Block a user