path = r'c:\NeoZQYY\apps\miniprogram\miniprogram\pages\board-finance\board-finance.wxss'
with open(path, 'r', encoding='utf-8') as f:
    lines = f.readlines()
for i, line in enumerate(lines):
    if 'compare-text-up-xs' in line or 'compare-text-down-xs' in line or 'compare-text-up-sm' in line:
        print(f'{i+1}: {line}', end='')
