new SeatManager()
构造器
Returns:
- Type
- *
Methods
-
<static> defaultManager()
-
单例方法
Returns:
- Type
- SeatManager
-
<static> seatParasFromScreening(platform, screening)
-
获取座位图时需要的参数
Parameters:
Name Type Description platform平台类型 screening平台数据 Returns:
平台需要的参数- Type
- Object
-
<static> smartAutoSelected(smartSeats, count)
-
智能选座
Parameters:
Name Type Description smartSeatscountReturns:
- Type
- Promise
-
handleTaoBaoSeatData(seatData)
-
淘票票座位图处理
Parameters:
Name Type Description seatDataReturns:
- Type
- *
-
smartSeatDataFromSeats(type, seatData)
-
对原始座位图进行智能转换
Parameters:
Name Type Description type平台类型 seatData座位图原始数据 Returns:
智能座位图详细信息- Type
- Object
-
smartSeatDataFromSmartSeats(type, smartSeats)
-
获取智能座位图元数据
Parameters:
Name Type Description type平台类型 smartSeats智能座位图 Returns:
智能座位图详细信息- Type
- Object
-
smartSeatsFromSeats(type, seatData)
-
对原始座位图进行智能转换
Parameters:
Name Type Description type平台类型 seatData座位图原始数据 Returns:
智能座位图列表- Type
- Array
-
smartSeatsWithTBSeats(seatList)
-
获取淘票票智能座位图
Parameters:
Name Type Description seatListReturns:
- Type
- Array