diff --git a/components/my-tabbar.vue b/components/my-tabbar.vue index 6a30206..9748a16 100644 --- a/components/my-tabbar.vue +++ b/components/my-tabbar.vue @@ -5,23 +5,15 @@ - {{item.name}} - - - - - - {{item.name}} + + - - + + @@ -245,9 +237,10 @@ width: 100%; height: 100rpx; padding-bottom: 0; - background: url('/static/bottom_tab.png') no-repeat; - background-size: 100%; + background-color: #fff; box-sizing: border-box; + box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.07); + border-top: 1px solid #EEEEEE; .list { display: flex; @@ -283,6 +276,27 @@ font-size: 20rpx; } + .protrude-button { + text-align: center; + position: absolute; + bottom: 15rpx; + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + } + + .protrude-button-bg { + position: absolute; + top: -20rpx; + width: 120rpx; + height: 60rpx; + background-color: #fff; + border-radius: 60rpx 60rpx 0 0; + border-top: 1px solid #eeeeee; + z-index: 105; + } + .tab-list_ip { display: flex; justify-content: center; @@ -290,10 +304,10 @@ width: 100%; height: 160rpx; padding-bottom: 50rpx; - background: url('/static/bottom_tab.png') no-repeat; - background-size: 100%; box-sizing: border-box; z-index: 100; + background-color: #fff; + border-top: 1px solid #eeeeee; // box-shadow: 0rpx -1rpx 0rpx 0rpx #EEEEEE; .list { @@ -310,7 +324,6 @@ width: 44rpx; height: 44rpx; background-color: white; - margin-top: 12rpx; } text { diff --git a/packageA/center/detail.vue b/packageA/center/detail.vue index d7af6b7..d5eb6d0 100644 --- a/packageA/center/detail.vue +++ b/packageA/center/detail.vue @@ -68,7 +68,7 @@ :maxCount="4"> + style="width: 60rpx;height: 60rpx;margin-left:-20rpx;z-index: 1;"> {{ detail.join_info.people_number }}/{{ detail.join_info.stock >= 10000 ? '9999+' : detail.join_info.stock}} 人数 diff --git a/packageA/center/detailSys.vue b/packageA/center/detailSys.vue index 38eaddb..afd22d2 100644 --- a/packageA/center/detailSys.vue +++ b/packageA/center/detailSys.vue @@ -67,7 +67,7 @@ :maxCount="4"> + style="width: 60rpx;height: 60rpx;margin-left:-20rpx;z-index: 1;"> {{ detail.join_info.people_number }}/{{ detail.join_info.stock >= 10000 ? '9999+' : detail.join_info.stock}} diff --git a/static/bottom_tab.png b/static/bottom_tab.png index 9a5a0d6..7a7dfb4 100644 Binary files a/static/bottom_tab.png and b/static/bottom_tab.png differ