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 '.rev-col {' in line:
        for j in range(i, min(i+10, len(lines))):
            print(f'{j+1}: {lines[j]}', end='')
            if '}' in lines[j] and j > i:
                break
        break
sys.stdout.flush()
