import sys
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-row {' in line or 'compare-row {' in line and not 'inline' in line:
        print(f'{i+1}: {line}', end='')
        for j in range(i+1, min(i+8, len(lines))):
            print(f'{j+1}: {lines[j]}', end='')
            if '}' in lines[j]:
                break
        break
sys.stdout.flush()
