XML 121 R93.htm IDEA: XBRL DOCUMENT
v3.21.4

Lease (Details) - Schedule of components of lease expenses - CNY (¥) ¥ in Thousands | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2021 | Jun. 30, 2020 | Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Schedule of components of lease expenses [Abstract] |  |  |  |  |
Operating lease expenses for variable payments | ¥ 193 | ¥ 233 | ¥ 453 | ¥ 1,151 | ¥ 34
Operating lease expenses for fixed payments | 119,729 | 210,398 | 337,608 | 506,026 | 381,306
Short-term lease expenses | 1,444 | 3,282 | 10,265 | 7,277 | 17,492
Total | 121,366 | 213,903 | 348,326 | 514,454 | 398,832
Operating cash flows for operating leases | ¥ 82,808 | ¥ 145,309 | ¥ 207,803 | ¥ 440,170 | ¥ 254,084

X
- Definition Operating lease expenses for fixed payments. + References No definition available. + Details
Name: | uk_OperatingLeaseExpensesForFixedPayments
Namespace Prefix: | uk_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Definition Amount of rent expense incurred for leased assets, including but not limited to, furniture and equipment, that is not directly or indirectly associated with the manufacture, sale or creation of a product or product line. + References No definition available. + Details
Name: | us-gaap_LeaseAndRentalExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of lease cost recognized by lessee for lease contract. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 55 -Paragraph 53 -URI http://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971 + Details
Name: | us-gaap_LeaseCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of operating lease income from variable lease payments paid and payable to lessor, excluding amount included in measurement of lease receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 270 -SubTopic 10 -Section 50 -Paragraph 6A -URI http://asc.fasb.org/extlink&oid=124502072&loc=SL77927221-108306 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 30 -Section 50 -Paragraph 5 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=124258985&loc=SL77919372-209981 + Details
Name: | us-gaap_OperatingLeaseVariableLeaseIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of short-term lease cost, excluding expense for lease with term of one month or less. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 55 -Paragraph 53 -URI http://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971 + Details
Name: | us-gaap_ShortTermLeaseCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration