Commit 3ce65318 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

fix: 修改采购门户链接的问题

parent 0232e789
......@@ -144,6 +144,8 @@ const ProductListLayout: React.FC<ProductListLayoutProps> = (props: any) => {
}
}, [data])
console.log(remind, 10086)
return (
<Card
id="productListLayout"
......
......@@ -19,6 +19,7 @@ export type RemindLayoutProps = {
message?: {[key: number]: string},
}
export const remindLayout = (int, giveType?, giftType?) => {
console.log(int, giveType, giftType, 'int, giveType?, giftType?')
const intl = getIntl();
const give = (giveType === 1 ? `${intl.formatMessage({ id: 'paltformSign.top-up'})}`: `${intl.formatMessage({ id: 'paltformSign.BuyGoods'})}`);
const gift = (giftType === 1 ? `${intl.formatMessage({ id: 'paltformSign.goods'})}` : `${intl.formatMessage({ id: 'paltformSign.coupon'})}`);
......@@ -34,7 +35,7 @@ export const remindLayout = (int, giveType?, giftType?) => {
label: {
1: `${intl.formatMessage({ id: 'paltformSign.preferentialThreshold'})}`,
2: giveType === 1 ? `${intl.formatMessage({ id: 'paltformSign.yuan'})}` : `${intl.formatMessage({ id: 'paltformSign.a'})}`,
3: giveType === 1 ? `${intl.formatMessage({ id: 'paltformSign.freeGoods'})}` : `${intl.formatMessage({ id: 'paltformSign.coupons'})}`,
3: giftType === 1 ? `${intl.formatMessage({ id: 'paltformSign.freeGoods'})}` : `${intl.formatMessage({ id: 'paltformSign.coupons'})}`,
4: `${intl.formatMessage({ id: 'paltformSign.giveTheNumber'})}`,
5: `${intl.formatMessage({ id: 'paltformSign.buy'})}`,
6: '',
......
......@@ -573,7 +573,7 @@ const RulesLayout: React.FC<RulesLayoutProps> = (props: any) => {
</Form.Item>
</Space>
</Form.Item>
<Form.Item
{/* <Form.Item
tooltip={intl.formatMessage({ id: 'selfManagement.tuxedoTuxedoGroup-buyingActivitiesWhetherGroup-buyingActivitiesEffectivelyWithoutLimitingUnlimitedRequiredNumberDefault'})}
label={intl.formatMessage({ id: 'selfManagement.userTuxedoLimit'})}
className={style.rulesLayout}
......@@ -617,7 +617,7 @@ const RulesLayout: React.FC<RulesLayoutProps> = (props: any) => {
)}
</Form.Item>
</Space>
</Form.Item>
</Form.Item> */}
</Fragment>
)
}
......
......@@ -371,7 +371,7 @@ const PurchasInfo: React.FC<PurchasInfoPropsType> = (props) => {
const handleMallSelectChange = (val, option) => {
setDoor(option.children);
if (option.url) {
checkUrl(option.url) ? setResUrl(`${checkUrl(option.url)}.${getTopDomainByHost(siteUrl, true)}`) : setResUrl(`${siteUrl}`)
checkUrl(option.url) ? (!isEmpty(shopInfo) ? setResUrl(`${checkUrl(option.url)}.${getTopDomainByHost(siteUrl, true)}/shopIndex/${shopInfo?.id}`) : setResUrl(`${checkUrl(option.url)}.${getTopDomainByHost(siteUrl, true)}`)) : setResUrl(`${siteUrl}`)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment