Commit 75f590b9 authored by yqz's avatar yqz

小组件

parent c96c6e84
......@@ -145,8 +145,22 @@ class SettingViewController : BaseViewController , UITableViewDelegate, UITableV
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
let signOutTipView = SignOutTipView(frame: self.view.frame)
self.view.addSubview(signOutTipView)
switch indexPath.section {
case 0:
break
case 1:
break
case 2: // 小组件
let widget = WidgetViewController()
self.navigationController?.pushViewController(widget, animated: true)
break
case 3:
break
default:
break
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment