小程序完成(账号密码登录、风格修改、签字功能)

This commit is contained in:
2026-03-06 18:47:52 +08:00
parent 6f7604897f
commit 96be55b0be
13 changed files with 1173 additions and 186 deletions
+14 -3
View File
@@ -27,15 +27,26 @@
</template>
<script>
// Tab 页面常量
const TAB_PAGES = {
BASICS: 'basics',
COMPONENT: 'component',
PLUGIN: 'plugin'
};
export default {
data() {
return {
PageCur: 'basics',
PageCur: TAB_PAGES.BASICS,
}
},
methods: {
NavChange: function(e) {
this.PageCur = e.currentTarget.dataset.cur
/**
* 切换当前 Tab 页面
* @param {Object} e - 事件对象
*/
NavChange(e) {
this.PageCur = e.currentTarget.dataset.cur;
},
}
}