XML 56 R39.htm IDEA: XBRL DOCUMENT
v3.21.1

Discontinued operations (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2020
Discontinued operations |
Schedule of statement of operations and cash flows of discontinued operations | The following tables set forth the statement of operations and cash flows of discontinued operations which were included in the Group’s consolidated financial statements (in thousands): ​
​ | ​ | ​ | ​ | ​
​ | ​ | For the year ended December 31,
​ | ​ | 2018 | ​ | 2019***
​ |  | RMB |  | RMB
Net revenues | ​ | 15,977,878 | ​ | 10,571,406
Cost of revenues |  | (14,920,531) |  | (9,620,388)
Gross profit |  | 1,057,347 |  | 951,018
Operating expenses: |  |  |  |
Selling and marketing expenses |  | (2,614,760) |  | (1,258,413)
General and administrative expenses |  | (112,902) |  | (79,985)
Research and development expenses |  | (414,090) |  | (326,127)
Total operating expenses |  | (3,141,752) |  | (1,664,525)
Operating loss |  | (2,084,405) |  | (713,507)
Other expenses |  | (48,246) |  | (69,282)
Loss from discontinued operations |  | (2,132,651) |  | (782,789)
Income tax |  | (6,031) |  | (5,857)
Loss from discontinued operations, net of tax |  | (2,138,682) |  | (788,646)
Gains on disposal, net of tax |  | — |  | 8,751,165
Net (loss)/income from discontinued operations |  | (2,138,682) |  | 7,962,519
​
​ | ​ | ​ | ​ | ​
​ | ​ | For the years ended December 31,
​ | ​ | 2018 | ​ | 2019***
​ | ​ | RMB | ​ | RMB
Net cash (used in)/provided by discontinued operating activities |  | (1,243,966) |  | 305,487
Net cash provided by/ (used in) discontinued investing activities |  | 1,430,181 |  | (832,252)
​ *** Included financial results of discontinued operations from January 1, 2019 to September 6, 2019.

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

X
- Definition Tabular disclosure of information related to a disposal group. Includes, but is not limited to, a discontinued operation, disposal classified as held-for-sale or disposed of by means other than sale or disposal of an individually significant component. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3A -URI http://asc.fasb.org/extlink&oid=109226691&loc=SL51724579-110230 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109222650&loc=d3e1474-107760 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5D -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721677-107760 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 3A -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721659-107760 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 4B -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721665-107760 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760 Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 10: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760 Reference 11: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5A -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721671-107760 Reference 12: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 Reference 13: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 4A -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721663-107760 + Details
Name: | us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration