page.js 667 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. import React from 'react';
  2. import './index.less';
  3. import Page from '@src/containers/Page';
  4. import Block from '@src/components/Block';
  5. export default class extends Page {
  6. renderProduct() {
  7. return <Block>
  8. <h1>包含商品</h1>
  9. </Block>;
  10. }
  11. renderMoney() {
  12. return <Block>
  13. <h1>订单金额</h1>
  14. </Block>;
  15. }
  16. renderGift() {
  17. return <Block>
  18. <h1>赠送服务</h1>
  19. </Block>;
  20. }
  21. renderTime() {
  22. return <Block>
  23. <h1>订单时间</h1>
  24. </Block>;
  25. }
  26. renderView() {
  27. return <div>
  28. {this.renderProduct()}
  29. {this.renderMoney()}
  30. {this.renderGift()}
  31. {this.renderTime()}
  32. </div>;
  33. }
  34. }