同步操作将从 兰德网络O2OA平台软件/O2OA 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
//// ZLAppCollectionModel.swift// O2Platform//// Created by 刘振兴 on 2017年3月6日.// Copyright © 2017年 zoneland. All rights reserved.//import UIKitclass ZLAppCollectionModel: NSObject {//APP实例数组fileprivate var apps:[O2App] {get {let app1 = O2App(title: "云盘", appId:"", storyBoard: "file", vcName: nil, segueIdentifier: "showFileCloudSegue", normalIcon: "", selectedIcon: "", order: 0, mainOrder: 0)let app2 = O2App(title: "会议管理", appId:"", storyBoard: "meeting", vcName: nil, segueIdentifier: "showMeetingSegue", normalIcon: "", selectedIcon: "", order: 0, mainOrder: 0)let app3 = O2App(title: "考勤管理", appId:"", storyBoard: "ic", vcName: nil, segueIdentifier: "showIcSegue", normalIcon: "", selectedIcon: "", order: 0, mainOrder: 0)let app4 = O2App(title: "BBS", appId:"", storyBoard: "bbs", vcName: nil, segueIdentifier: "showBBSSegue", normalIcon: "", selectedIcon: "", order: 0, mainOrder: 0)let app5 = O2App(title: "内容管理", appId:"", storyBoard: "cms", vcName: nil, segueIdentifier: "showCMSSegue", normalIcon: "", selectedIcon: "", order: 0, mainOrder: 0)let app6 = O2App(title: "待办", appId:"", storyBoard: "task", vcName: "todoTask", segueIdentifier: nil, normalIcon: "", selectedIcon: "", order: 0, mainOrder: 0)let app7 = O2App(title: "待阅", appId:"", storyBoard: "task", vcName: "todoTask", segueIdentifier: nil, normalIcon: "", selectedIcon: "", order: 0, mainOrder: 0)let app8 = O2App(title: "语音助手", appId: "", storyBoard: "file", vcName: nil, segueIdentifier: "showFileCloudSegue", normalIcon: "", selectedIcon: "", order: 0, mainOrder: 0)let app9 = O2App(title: "日程安排", appId: "", storyBoard: "calendar", vcName: nil, segueIdentifier: "", normalIcon: "", selectedIcon: "", order: 0, mainOrder: 0)return [app1,app2,app3,app4,app5,app6,app7, app8, app9]}}/// Item最小的尺寸private static let MIN_ITEM_SIZE = 80.0/// Item实际尺寸存储值private var itemSize = ZLAppCollectionModel.MIN_ITEM_SIZE/// 每行Item数量var itemNumberByLine:Int = 0 {willSet {if newValue > apps.count {itemNumberByLine = apps.count}else{itemNumberByLine = newValue}}didSet {///设置实际大小itemRectSize = max(ZLAppCollectionModel.MIN_ITEM_SIZE,Double(SCREEN_WIDTH)/Double(itemNumberByLine))}}/// Item实际大小var itemRectSize:Double = 0.0/// 根据宽度对齐后的总的item数量var appTotalItemNumber:Int {return 0}/// 总行数var totalLineNumber:Int {return 0}required override init() {super.init()}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。