feat(register): 移除注册页面并调整经销商申请流程

- 删除 passport/register.tsx 和 passport/register.config.ts 注册相关文件
- 从 app.config.ts 中移除 register 页面配置
- 将经销商申请页面标题从"邀请注册"改为"注册会员"
- 注释掉经销商申请表单中的邀请人ID字段
- 更新经销商申请页面导航栏标题文本
This commit is contained in:
2026-01-28 10:22:14 +08:00
parent ed02db5a8d
commit ed5ef3fb19
5 changed files with 4 additions and 56 deletions

View File

@@ -11,7 +11,6 @@ export default {
"root": "passport", "root": "passport",
"pages": [ "pages": [
"login", "login",
"register",
"forget", "forget",
"setting", "setting",
"agreement", "agreement",

View File

@@ -1,4 +1,4 @@
export default definePageConfig({ export default definePageConfig({
navigationBarTitleText: '邀请注册', navigationBarTitleText: '注册会员',
navigationBarTextStyle: 'black' navigationBarTextStyle: 'black'
}) })

View File

@@ -435,9 +435,9 @@ const AddUserAddress = () => {
> >
<View className={'bg-gray-100 h-3'}></View> <View className={'bg-gray-100 h-3'}></View>
<CellGroup style={{padding: '4px 0'}}> <CellGroup style={{padding: '4px 0'}}>
<Form.Item name="refereeId" label="邀请人ID" initialValue={FormData?.refereeId} required> {/*<Form.Item name="refereeId" label="邀请人ID" initialValue={FormData?.refereeId} required>*/}
<Input placeholder="邀请人ID" disabled={false}/> {/* <Input placeholder="邀请人ID" disabled={false}/>*/}
</Form.Item> {/*</Form.Item>*/}
<Form.Item name="phone" label="手机号" initialValue={FormData?.phone} required> <Form.Item name="phone" label="手机号" initialValue={FormData?.phone} required>
<View className="flex items-center justify-between"> <View className="flex items-center justify-between">
<Input <Input

View File

@@ -1,4 +0,0 @@
export default definePageConfig({
navigationBarTitleText: '注册账号',
navigationBarTextStyle: 'black'
})

View File

@@ -1,47 +0,0 @@
import {useEffect, useState} from "react";
import Taro from '@tarojs/taro'
import {Input, Radio, Button} from '@nutui/nutui-react-taro'
const Register = () => {
const [isAgree, setIsAgree] = useState(false)
const reload = () => {
Taro.hideTabBar()
}
useEffect(() => {
reload()
}, [])
return (
<>
<div className={'flex flex-col justify-center px-5 pt-3'}>
<div className={'text-xl font-bold py-2'}>14</div>
<div className={'text-sm py-1 font-normal text-gray-500'}></div>
<div className={'text-sm pb-4 font-normal text-gray-500'}>
WebSoft为您提供独立站的解决方案
</div>
<div className={'flex flex-col justify-between items-center my-2'}>
<Input type="text" placeholder="手机号" maxLength={11} style={{backgroundColor: '#ffffff', borderRadius: '8px'}}/>
</div>
<div className={'flex flex-col justify-between items-center my-2'}>
<Input type="password" placeholder="密码" style={{backgroundColor: '#ffffff', borderRadius: '8px'}}/>
</div>
<div className={'flex flex-col justify-between items-center my-2'}>
<Input type="password" placeholder="再次输入密码" style={{backgroundColor: '#ffffff', borderRadius: '8px'}}/>
</div>
<div className={'flex justify-center my-5'}>
<Button type="info" size={'large'} className={'w-full rounded-lg p-2'} disabled={!isAgree}></Button>
</div>
<div className={'my-2 flex text-sm items-center px-1'}>
<Radio style={{color: '#333333'}} checked={isAgree} onClick={() => setIsAgree(!isAgree)}></Radio>
<span className={'text-gray-400'} onClick={() => setIsAgree(!isAgree)}></span>
<a onClick={() => Taro.navigateTo({url: '/passport/agreement'})} className={'text-blue-600'}></a>
</div>
</div>
<div className={'w-full fixed bottom-20 my-2 flex justify-center text-sm items-center text-center'}>
<a className={'text-blue-600'} onClick={() => Taro.navigateBack()}></a>
</div>
</>
)
}
export default Register