diff --git a/common.scss b/common.scss index 5b84d4d..44fd493 100644 --- a/common.scss +++ b/common.scss @@ -47,4 +47,20 @@ .flex-column { flex-direction: column; +} + +.card { + background-color: #FFFFFF; + border-radius: 12rpx; + padding: 18rpx 20rpx; +} + +.btn-simple { + width: auto; + height: auto !important; + border: none !important; + box-shadow: none; + padding: 0 !important; + margin: 0; + line-height: 1 !important; } \ No newline at end of file diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue index 644b19f..babc973 100644 --- a/components/base/tabbar.vue +++ b/components/base/tabbar.vue @@ -36,11 +36,11 @@ key: 'home', }, { - "selectedIconPath": "/static/image/tabbar/order-a.png", - "iconPath": "/static/image/tabbar/order.png", + "selectedIconPath": "/static/image/tabbar/record-a.png", + "iconPath": "/static/image/tabbar/record.png", "pagePath": "/pages/index/record", "title": "分享记录", - key: 'order', + key: 'record', }, { "selectedIconPath": "/static/image/tabbar/center-a.png", diff --git a/pages/index/index.vue b/pages/index/index.vue index 02d67df..8442d43 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,22 +1,26 @@ @@ -60,9 +64,8 @@ } position: relative; - height: 100vh; - background-color: $uni-bg-color-highlight; + overflow: hidden; .btns { display: grid; @@ -83,5 +86,17 @@ padding: 55rpx 0; } } + + .bg { + width: 100vw; + height: 100vh; + } + + .content { + position: absolute; + width: 100vw; + height: 100vh; + top: 0; + } diff --git a/pages/index/record.vue b/pages/index/record.vue index db49dc0..6d1a4d9 100644 --- a/pages/index/record.vue +++ b/pages/index/record.vue @@ -1,88 +1,106 @@