XML 120 R90.htm IDEA: XBRL DOCUMENT
v3.21.1

Lease (Details) - CNY (¥) ¥ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Lease (Details) [Line Items] |  |  |
Lease termination losses | ¥ 168,722 |  |
Minimum [Member] |  |  |
Lease (Details) [Line Items] |  |  |
Real estate leases | 2 years |  |
Maximum [Member] |  |  |
Lease (Details) [Line Items] |  |  |
Real estate leases | 20 years |  |

X
- References No definition available. + Details
Name: | uk_LeaseDetailsLineItems
Namespace Prefix: | uk_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Real estate leases term. + References No definition available. + Details
Name: | uk_RealEstateLeasesTerm
Namespace Prefix: | uk_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gain (loss) on termination of lease before expiration of lease term. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 40 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121604053&loc=SL77918607-209975 + Details
Name: | us-gaap_GainLossOnTerminationOfLease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |