添加个人中心及按角色展示内容
This commit is contained in:
20
make_simple.py
Normal file
20
make_simple.py
Normal file
@@ -0,0 +1,20 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user