XML 125 R95.htm IDEA: XBRL DOCUMENT
v3.21.1

Fair Value Measurement (Details) - CNY (¥) ¥ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Fair Value Disclosures [Abstract] |  |  |
Impairment losses on ROU assets | ¥ 4,667 | ¥ 21,103 | ¥ 94,311
Impairment losses on property and equipment | ¥ 3,460 | ¥ 9,476 | ¥ 16,892

X
- Definition Impairment losses on property and equipment. + References No definition available. + Details
Name: | uk_GainLossOnImpairmentOnPropertyAndEquipment
Namespace Prefix: | uk_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Amount of gain (loss) from the difference between the sale price or salvage price and the book value of an asset that was sold or retired, and gain (loss) from the write down of assets from their carrying value to fair value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585 + Details
Name: | us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration