无故事王国
2023-06-28 a56ff03fc62bb894160f9b71fc54f66e77e48712
WanPai/Root/Course/VC/CourseInfoVC.swift
@@ -128,6 +128,7 @@
        mentalCollectionView.dataSource = self
        mentalCollectionView.contentInset = UIEdgeInsets(top: 0, left: 58, bottom: 0, right: 58)
        mentalCollectionView.tag = 1000
        mentalCollectionView.isScrollEnabled = false
        mentalCollectionView.register(UINib(nibName: "StudentMedalCCell", bundle: nil), forCellWithReuseIdentifier: "_StudentMedalCCell")
        exerciseCollectionView.delegate = self
@@ -143,7 +144,7 @@
        mentals.append(MentalInfo(img: UIImage(named: "icon_coupon_5"), t1: "EVENTS", t2: "月度冠军"))
        mentals.append(MentalInfo(img: UIImage(named: "icon_coupon_6"), t1: "MORE", t2: "更多"))
        cons_mentalViewHei.constant = ceil(Double(mentals.count) / 2) * 91
        cons_mentalViewHei.constant = ceil(Double(mentals.count) / 3) * 91 + floor(Double(mentals.count) / 3) * 30
        navigationItem.leftBarButtonItem = UIBarButtonItem(customView: leftBtn)