XML 101 R73.htm IDEA: XBRL DOCUMENT
v3.21.4

Business Acquisitions (Details) - Schedule of purchase price - Acquisition of Wujie Space [Member] ¥ in Thousands | Jun. 30, 2018 CNY (¥)
--- | ---
Business Acquisition [Line Items] |
Share consideration | ¥ 421,839
6.49% equity interest in Wujie Fair value: | 29,273
Carrying amount | 9,000
Remeasurement gain upon step acquisition | 20,273
Total purchase consideration | ¥ 451,112

X
- Definition Carrying amount. + References No definition available. + Details
Name: | uk_CarryingAmounts
Namespace Prefix: | uk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Equity interest in Wujie Fair value. + References No definition available. + Details
Name: | uk_EquityInterestInWujieFairValue
Namespace Prefix: | uk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Remeasurement gain upon step acquisition. + References No definition available. + Details
Name: | uk_RemeasurementGainUponStepAcquisitions
Namespace Prefix: | uk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Share consideration. + References No definition available. + Details
Name: | uk_ShareConsiderations
Namespace Prefix: | uk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Total purchase consideration. + References No definition available. + Details
Name: | uk_TotalPurchaseConsideration
Namespace Prefix: | uk_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=uk_AcquisitionOfWujieSpaceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |