1+ /* eslint-disable jsx-a11y/accessible-emoji */
12/*
23 *
34 * MembershipContent
@@ -10,8 +11,9 @@ import type { TMetric } from '@/spec'
1011import { buildLog } from '@/utils/logger'
1112import { pluggedIn } from '@/utils/mobx'
1213import OrButton from '@/widgets/Buttons/OrButton'
13- import Button from '@/widgets/Buttons/Button'
14+ // import Button from '@/widgets/Buttons/Button'
1415import Checker from '@/widgets/Checker'
16+ import NoticeBar from '@/widgets/NoticeBar'
1517
1618import type { TStore } from './store'
1719import { PAY , PACKAGE } from './constant'
@@ -52,21 +54,21 @@ import {
5254/* eslint-disable-next-line */
5355const log = buildLog ( 'C:MembershipContent' )
5456
55- const PayButton = ( { pkgType, payType } ) => {
56- if ( pkgType === PACKAGE . GIRL ) {
57- return (
58- < Button type = "primary" ghost >
59- 验证
60- </ Button >
61- )
62- }
57+ // const PayButton = ({ pkgType, payType }) => {
58+ // if (pkgType === PACKAGE.GIRL) {
59+ // return (
60+ // <Button type="primary" ghost>
61+ // 验证
62+ // </Button>
63+ // )
64+ // }
6365
64- return (
65- < Button type = "primary" ghost >
66- { payType === PAY . YEARLY ? '扫码' : '试试看' }
67- </ Button >
68- )
69- }
66+ // return (
67+ // <Button type="primary" ghost>
68+ // {payType === PAY.YEARLY ? '扫码' : '试试看'}
69+ // </Button>
70+ // )
71+ // }
7072
7173type TProps = {
7274 membershipContent ?: TStore
@@ -87,7 +89,7 @@ const MembershipContentContainer: FC<TProps> = ({
8789 < Wrapper testid = { testid } >
8890 < InnerWrapper metric = { metric } >
8991 < BannerWrapper >
90- < Title > Hi, mydearxym </ Title >
92+ < Title > Hi,你好哇 👋 </ Title >
9193 < Desc > 欢迎来到 CoderPlanets,选择一个适合你的会员类型吧</ Desc >
9294 < PayButtonWrapper >
9395 < OrButton
@@ -149,7 +151,13 @@ const MembershipContentContainer: FC<TProps> = ({
149151 { item . pkgType === PACKAGE . FREE ? (
150152 < FreeNote > 当前为免费账户无需支付</ FreeNote >
151153 ) : (
152- < PayButton pkgType = { item . pkgType } payType = { payType } />
154+ < NoticeBar
155+ type = "info"
156+ content = "内测阶段开放"
157+ right = { 10 }
158+ noBg
159+ />
160+ // <PayButton pkgType={item.pkgType} payType={payType} />
153161 ) }
154162 </ PayBtnWrapper >
155163 </ Dashboard >
0 commit comments