TSLiveWallpaperCopyrightVC.swift 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // TSLiveWallpaperCopyrightVC.swift
  3. // TSLiveWallpaper
  4. //
  5. // Created by 100Years on 2024/12/26.
  6. //
  7. class TSLiveWallpaperCopyrightVC: TSBaseVC {
  8. lazy var titleLabel: UILabel = {
  9. let view = UILabel.createLabel(text: "Copyright Notice",font: .font(size: 24,weight: .medium),textColor: UIColor.fromHex("FFFFFF",alpha: 0.8),numberOfLines: 0)
  10. return view
  11. }()
  12. lazy var contentLabel: UILabel = {
  13. let view = UILabel.createLabel(text: "100 Years Later Company attaches great importance to the copyright of images, but as a content provider, we cannot guarantee the accuracy of the reviewed content. If you find any infringing content, please inform us immediately and we will immediately remove it. Contact",font: .font(size: 14,weight: .regular),textColor: UIColor.fromHex("FFFFFF",alpha: 0.6),numberOfLines: 0)
  14. return view
  15. }()
  16. lazy var emailLabel: UILabel = {
  17. let view = UILabel.createLabel(text: "Email: snapmusic6688@gmail.com",font: .font(size: 16,weight: .regular),textColor: UIColor.fromHex("FFFFFF"),numberOfLines: 0)
  18. return view
  19. }()
  20. override func createView() {
  21. addNormalNavBarView()
  22. setPageTitle("")
  23. contentView.addSubview(titleLabel)
  24. contentView.addSubview(contentLabel)
  25. contentView.addSubview(emailLabel)
  26. titleLabel.snp.makeConstraints { make in
  27. make.top.equalTo(11)
  28. make.leading.equalTo(16)
  29. make.trailing.equalTo(-16)
  30. }
  31. contentLabel.snp.makeConstraints { make in
  32. make.top.equalTo(titleLabel.snp.bottom).offset(24)
  33. make.leading.equalTo(16)
  34. make.trailing.equalTo(-16)
  35. }
  36. emailLabel.snp.makeConstraints { make in
  37. make.top.equalTo(contentLabel.snp.bottom).offset(16)
  38. make.leading.equalTo(16)
  39. make.trailing.equalTo(-16)
  40. }
  41. }
  42. }