revert ad
This commit is contained in:
@ -2,7 +2,7 @@ import Taro from '@tarojs/taro';
|
||||
|
||||
import { Button } from '@taroify/core';
|
||||
import classNames from 'classnames';
|
||||
import { Fragment, useCallback, useEffect, useState } from 'react';
|
||||
import { useCallback, useEffect, useState } from 'react';
|
||||
|
||||
import Badge from '@/components/badge';
|
||||
import { PREFIX } from '@/components/product-dialog/const';
|
||||
@ -16,7 +16,6 @@ import { postSubscribe, subscribeMessage } from '@/utils/subscribe';
|
||||
import Toast from '@/utils/toast';
|
||||
|
||||
interface IProps {
|
||||
justBuy?: boolean;
|
||||
onConfirm: () => void;
|
||||
}
|
||||
|
||||
@ -30,23 +29,23 @@ interface Item {
|
||||
}
|
||||
|
||||
const LIST: Item[] = [
|
||||
{ id: ProductSpecId.DailyVIP, title: '日会员', content: '1天内免广告', price: '60播豆', amt: 6, badge: '限时体验' },
|
||||
{ id: ProductSpecId.WeeklyVIP, title: '非会员', content: '每日2次', price: '免费', amt: 0 },
|
||||
{
|
||||
id: ProductSpecId.DailyVIP,
|
||||
title: '日会员',
|
||||
content: '每日+5次',
|
||||
price: '60播豆',
|
||||
amt: 6,
|
||||
badge: '限时体验',
|
||||
},
|
||||
{
|
||||
id: ProductSpecId.WeeklyVIP,
|
||||
title: '周会员',
|
||||
content: '7天内免广告',
|
||||
content: '每日+5次',
|
||||
price: '180播豆',
|
||||
amt: 18,
|
||||
badge: '4.2折',
|
||||
badge: ' 超值',
|
||||
},
|
||||
// {
|
||||
// id: ProductSpecId.NewMonthlyVIP,
|
||||
// title: '月会员',
|
||||
// content: '30天内免广告',
|
||||
// price: '300播豆',
|
||||
// amt: 30,
|
||||
// badge: '1.6折',
|
||||
// },
|
||||
];
|
||||
|
||||
const log = logWithPrefix('job-buy');
|
||||
@ -108,26 +107,14 @@ export default function JobBuy(props: IProps) {
|
||||
return (
|
||||
<div className={`${PREFIX}__job-buy`}>
|
||||
<div className={`${PREFIX}__job-buy__header`}>
|
||||
{props.justBuy ? (
|
||||
<div>开通播络会员即可直接查看联系方式</div>
|
||||
) : (
|
||||
<Fragment>
|
||||
<div>今日通告对接次数</div>
|
||||
<div className="highlight">已用完</div>
|
||||
</Fragment>
|
||||
)}
|
||||
<div>今日通告对接次数</div>
|
||||
<div className="highlight">已用完</div>
|
||||
</div>
|
||||
<div className={`${PREFIX}__job-buy__describe`}>
|
||||
{props.justBuy ? (
|
||||
<div>每天可查看10个联系方式</div>
|
||||
) : (
|
||||
<Fragment>
|
||||
<div>请</div>
|
||||
<div className="highlight">明日</div>
|
||||
<div>再来</div>
|
||||
<div className="highlight">升级会员</div>
|
||||
</Fragment>
|
||||
)}
|
||||
<div>请</div>
|
||||
<div className="highlight">明日</div>
|
||||
<div>再来 或 </div>
|
||||
<div className="highlight">升级会员</div>
|
||||
</div>
|
||||
<div className={`${PREFIX}__job-buy__container`}>
|
||||
{LIST.map(item => (
|
||||
|
Reference in New Issue
Block a user