feat: 分享的文案 + 点击头像看模卡 + 提现文案 + 协议弹窗 + 进群限制
This commit is contained in:
@ -11,6 +11,7 @@ import { getCurrentCityCode } from '@/utils/location';
|
||||
import { getInviteCodeFromQueryAndUpdate } from '@/utils/partner';
|
||||
import { getPageQuery } from '@/utils/route';
|
||||
import { getCommonShareMessage } from '@/utils/share';
|
||||
import { checkCityCode } from '@/utils/user';
|
||||
import './index.less';
|
||||
|
||||
const PREFIX = 'group-v2-page';
|
||||
@ -26,6 +27,9 @@ export default function GroupV2() {
|
||||
useShareAppMessage(() => getCommonShareMessage(true, inviteCode));
|
||||
|
||||
const handleSelectCity = useCallback(cityCode => {
|
||||
if (!checkCityCode(cityCode)) {
|
||||
return;
|
||||
}
|
||||
const group = GROUPS.find(g => String(g.cityCode) === cityCode);
|
||||
if (group) {
|
||||
openCustomerServiceChat(group.serviceUrl);
|
||||
|
Reference in New Issue
Block a user