添加个人中心及按角色展示内容
This commit is contained in:
25
replace_user.py
Normal file
25
replace_user.py
Normal file
@@ -0,0 +1,25 @@
|
||||
import codecs
|
||||
|
||||
content = '''<template>
|
||||
<view class="user-center-container">
|
||||
<text style="font-size: 24px; color: red;">userCenter loaded!</text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="uts">
|
||||
console.log('[UserCenter] Component Setup Executed!')
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.user-center-container {
|
||||
padding: 50px;
|
||||
background-color: #fff;
|
||||
min-height: 500px;
|
||||
}
|
||||
</style>
|
||||
'''
|
||||
|
||||
with codecs.open(r'd:\\骅锋\\mall\\pages\\mall\\admin\\userCenter\\index.uvue', 'w', 'utf-8') as f:
|
||||
f.write(content)
|
||||
|
||||
print("userCenter replaced.")
|
||||
Reference in New Issue
Block a user