XML 103 R83.htm IDEA: XBRL DOCUMENT
v3.22.1

LONG-TERM INVESTMENTS - Additional Information (Details) ¥ in Thousands, $ in Millions, $ in Millions |  | 1 Months Ended | 12 Months Ended |
--- | --- | --- | --- | ---
Feb. 01, 2021 CNY (¥) shares | Feb. 01, 2021 HKD ($) shares | May 31, 2019 USD ($) shares | Dec. 31, 2021 CNY (¥) | Dec. 31, 2020 CNY (¥) | May 31, 2019 CNY (¥) | May 31, 2019 USD ($)
Equity method securities with readily determinable fair value,fair value |  |  |  | ¥ 153,326 | ¥ 94,552 |  |
Other Operating Income (Expense) [Member] | Enlarged A Group [Member] |  |  |  |  |  |  |
Gain loss on disposal of equity investments with no readily determinable fair value |  |  |  | ¥ 110,500 |  |  |
Non controlling interest ownership percentage |  |  |  | 2.26% |  |  |
Finance Income Expense [Member] | Enlarged A Group [Member] |  |  |  |  |  |  |
Equity securities without readily determinable fair value upward price adjustment annual amount |  |  |  | ¥ 79,541,000 |  |  |
Hongkong Listed Company GXG [Member] |  |  |  |  |  |  |
Equity securities with readily determinable fair value cost |  |  |  |  |  | ¥ 89,517 | $ 13
Unrealised gain/(loss) on equity securities with readily determinable fair value |  |  |  | (19,851) | 56,383 |  |
Equity method securities with readily determinable fair value,fair value |  |  |  | ¥ 153,326 | ¥ 94,552 |  |
Hongkong Listed Company GXG [Member] | Equity Securities With Readily Determinable Fair Value [Member] |  |  |  |  |  |  |
Number of shares invested during the period | shares |  |  | 22,740,000 |  |  |  |
Payment to acquire equity securities with readily determinable fair values | $ |  |  | $ 13 |  |  |  |
Hongkong Listed Company GXG [Member] | Equity Securities With Readily Determinable Fair Value [Member] | Tencent Zero even Zero Zero HK [Member] |  |  |  |  |  |  |
Number of shares invested during the period | shares | 106,600 | 106,600 |  |  |  |  |
Hongkong Listed Company GXG [Member] | Equity Securities With Readily Determinable Fair Value [Member] | Meituan Three Six Nine Zero HK [Member] |  |  |  |  |  |  |
Number of shares invested during the period | shares | 55,000 | 55,000 |  |  |  |  |
Hongkong Listed Company GXG [Member] | Equity Securities With Readily Determinable Fair Value [Member] | Tencent And Meituan [Member] |  |  |  |  |  |  |
Payment to acquire equity securities with readily determinable fair values | ¥ 65,065 | $ 77.3 |  |  |  |  |

X
- Definition Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740 + Details
Name: | us-gaap_EquitySecuritiesFvNi
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cost of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Excludes equity method investment and investment in equity security without readily determinable fair value. + References No definition available. + Details
Name: | us-gaap_EquitySecuritiesFvNiCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(d)) -URI http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123583765&loc=SL75117546-209714 + Details
Name: | us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of gain from upward price adjustment on investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The equity interest of noncontrolling shareholders, partners or other equity holders in consolidated entity. + References No definition available. + Details
Name: | us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of cash outflow to acquire investments classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireOtherInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Gain loss on disposal of equity investments with no readily determinable fair value. + References No definition available. + Details
Name: | yj_GainLossOnDisposalOfEquityInvestmentsWithNoReadilyDeterminableFairValue
Namespace Prefix: | yj_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of equity shares with readily determinable fair value acquired during the period. + References No definition available. + Details
Name: | yj_NumberOfEquitySharesWithReadilyDeterminableFairValueAcquiredDuringThePeriod
Namespace Prefix: | yj_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OtherOperatingIncomeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=yj_EnlargedAGroupMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=yj_FinanceIncomeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=yj_HongkongListedCompanyGxgMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=yj_EquitySecuritiesWithReadilyDeterminableFairValueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=yj_TencentZeroEvenZeroZeroHkMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=yj_MeituanThreeSixNineZeroHkMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=yj_TencentAndMeituanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |