path = r'c:\NeoZQYY\apps\miniprogram\miniprogram\pages\board-finance\board-finance.wxss'
with open(path, 'r', encoding='utf-8') as f:
    content = f.read()

old1 = '.flow-detail-right {\n  display: flex;\n  align-items: center;\n  gap: 8rpx;\n}'
new1 = '.flow-detail-right {\n  display: flex;\n  align-items: center;\n  gap: 0;\n}'

old2 = '.flow-total-right {\n  display: flex;\n  align-items: center;\n  gap: 12rpx;\n}'
new2 = '.flow-total-right {\n  display: flex;\n  align-items: center;\n  gap: 0;\n}'

content = content.replace(old1, new1, 1)
content = content.replace(old2, new2, 1)

with open(path, 'w', encoding='utf-8') as f:
    f.write(content)
print('OK')
