添加个人中心及按角色展示内容
This commit is contained in:
11
fix_css2.py
Normal file
11
fix_css2.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import codecs
|
||||
import re
|
||||
file_path = r'd:\\骅锋\\mall\\layouts\\admin\\components\\AdminHeader.uvue'
|
||||
with codecs.open(file_path, 'r', 'utf-8') as f:
|
||||
text = f.read()
|
||||
|
||||
text = re.sub(r'(\.header\s*\{)', r'\1\n position: relative;\n z-index: 150;', text)
|
||||
text = re.sub(r'(\.header-right\s*\{)', r'\1\n position: relative;\n z-index: 100;\n pointer-events: auto;', text)
|
||||
|
||||
with codecs.open(file_path, 'w', 'utf-8') as f:
|
||||
f.write(text)
|
||||
Reference in New Issue
Block a user