diff --git a/src/App.vue b/src/App.vue index fcc453c..e483ce8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -76,6 +76,10 @@ onMounted(() => { width: 1200px; margin: 0 auto; overflow: hidden; + background: #FFFFFF; + border-radius: 30px; + padding: 20px 30px; + box-sizing: border-box; } .shop-header { diff --git a/src/compontents/equipCard.vue b/src/compontents/equipCard.vue index 428856b..debeeb3 100644 --- a/src/compontents/equipCard.vue +++ b/src/compontents/equipCard.vue @@ -62,7 +62,7 @@ display: flex; align-items: center; .avatar{ - width: 40%; + width: 37%; overflow: hidden; border-radius: 15px; .showImg{ @@ -86,7 +86,7 @@ flex: 1; overflow: hidden; .title{ - font-size: 20px; + font-size: 18px; font-weight: 400; color: #333333; overflow: hidden; @@ -95,7 +95,7 @@ } .tag{ display: flex; - margin-top: 5px; + margin-top: 8px; .item{ background: white; font-size: 14px; @@ -123,7 +123,8 @@ color: #FF4800; margin-top: 20px; span{ - font-size: 33px; + font-size: 25px; + font-weight: 600; } } } diff --git a/src/router/index.ts b/src/router/index.ts index 44fd1f8..4d40490 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -132,6 +132,18 @@ const routes: Array = [ AuthFlag: false }, + }, + { + path:'/equip', + name:'equip', + redirect: '/equip/list', + children:[ + { + path: 'list', + name: 'equipList', + component: () => import('views/equip/list.vue') + } + ] } ] diff --git a/src/views/equip/list.vue b/src/views/equip/list.vue index af967e5..d37f706 100644 --- a/src/views/equip/list.vue +++ b/src/views/equip/list.vue @@ -1,13 +1,416 @@ diff --git a/src/views/home/index.vue b/src/views/home/index.vue index f01c53a..7ca8339 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -22,7 +22,7 @@ import EquipCard from '../../compontents/equipCard.vue'