From 9e52dcf4615e6b50cef57a56c37fd13b777d1051 Mon Sep 17 00:00:00 2001
From: whycq <you@example.com>
Date: 星期日, 02 四月 2023 18:25:45 +0800
Subject: [PATCH] #
---
pages/home/home.vue | 59 +++--------------------------
pages.json | 6 +++
App.vue | 1
3 files changed, 14 insertions(+), 52 deletions(-)
diff --git a/App.vue b/App.vue
index 5e34d7a..26e7621 100644
--- a/App.vue
+++ b/App.vue
@@ -127,6 +127,7 @@
flex-wrap: wrap;
padding: 0px 40upx 0px;
justify-content: space-between;
+ margin-top: 20px;
}
.nav-li {
diff --git a/pages.json b/pages.json
index 58548a8..3a22579 100644
--- a/pages.json
+++ b/pages.json
@@ -29,6 +29,12 @@
"style": {
"navigationBarTitleText": "涓� 椤�"
}
+ },
+ {
+ "path": "pages/login/logOut",
+ "style": {
+ "navigationBarTitleText": "閫�鍑虹櫥褰�"
+ }
}
],
"globalStyle": {
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 359a74d..7ed25f1 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -18,7 +18,8 @@
export default {
data() {
return {
- elements: [{
+ elements: [
+ {
title: '缁勬墭鍏ュ簱',
name: 'pakin',
color: 'purple',
@@ -26,59 +27,13 @@
url: '/pakin/pakin'
},
{
- title: '瀵艰埅鏍� ',
- name: 'nav',
- color: 'mauve',
- cuIcon: 'formfill'
- },
- {
- title: '鍒楄〃',
- name: 'list',
- color: 'pink',
- cuIcon: 'list'
- },
- {
- title: '鍗$墖',
- name: 'card',
- color: 'brown',
- cuIcon: 'newsfill'
- },
- {
- title: '琛ㄥ崟',
- name: 'form',
- color: 'red',
- cuIcon: 'formfill'
- },
- {
- title: '鏃堕棿杞�',
- name: 'timeline',
- color: 'orange',
- cuIcon: 'timefill'
- },
- {
- title: '鑱婂ぉ',
- name: 'chat',
- color: 'green',
- cuIcon: 'messagefill'
- },
- {
- title: '杞挱',
- name: 'swiper',
- color: 'olive',
- cuIcon: 'album'
- },
- {
- title: '妯℃�佹',
- name: 'modal',
+ title: '閫�鍑虹櫥褰�',
+ name: 'logOut',
color: 'grey',
- cuIcon: 'squarecheckfill'
+ cuIcon: 'vipcard',
+ url: '/login/logOut'
},
- {
- title: '姝ラ鏉�',
- name: 'steps',
- color: 'cyan',
- cuIcon: 'roundcheckfill'
- }
+
],
};
}
--
Gitblit v1.9.1