[vivo_cn] 新增 vivo X Fold3 系列, iQOO Pad Air

This commit is contained in:
Kevin Huang
2024-02-29 15:04:42 +08:00
parent 08bb7fe0e4
commit 42bc332d03
4 changed files with 54 additions and 13 deletions

View File

@@ -33,7 +33,7 @@ _re_non_word = re.compile(r'[\W_]+')
_re_model_ver = re.compile(r'^`(([^`]+)`\s*)+:\s*')
_re_model_item = re.compile(r'`([^`]+)`')
# 匹配设备类型的正则
_re_device_type = re.compile(r'(手机|手表|手环|平板|电视主机|盒子|(智能)?电视|笔记本电脑|设备|Mobile|Phone|Pad|Pod|Tablet|Watch|WATCH|Device|\bTV\b|学习智慧屏|智慧屏)')
_re_device_type = re.compile(r'(手机|手表|手环|平板|电视主机|盒子|(智能)?电视|笔记本电脑|设备|Mobile|Phone|Pad|Pod|Tablet|Watch|Band|WATCH|Device|\bTV\b|学习智慧屏|智慧屏)')
_device_map = dict(
手机='mob',
mobile='mob',
@@ -45,6 +45,7 @@ _device_map = dict(
设备='device',
手表='watch',
手环='band',
Band='band',
笔记本电脑='computer',
tablet='pad',
平板='pad',