1
This commit is contained in:
11
tmp/fc2.py
Normal file
11
tmp/fc2.py
Normal file
@@ -0,0 +1,11 @@
|
||||
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()
|
||||
targets = ['flow-item-right {', 'flow-item-value {', 'flow-sum-right {', 'flow-sum-value {', 'coach-fin-col {', 'coach-fin-val {', 'coach-fin-bold {']
|
||||
for i, line in enumerate(lines):
|
||||
for t in targets:
|
||||
if t in line:
|
||||
print(f'{i+1}: {line}', end='')
|
||||
break
|
||||
sys.stdout.flush()
|
||||
Reference in New Issue
Block a user