|
|
@@ -127,19 +127,7 @@
|
|
|
},
|
|
|
|
|
|
onLoad(options) {
|
|
|
- /**
|
|
|
- * 修复app端点击除全部订单外的按钮进入时不加载数据的问题
|
|
|
- * 替换onLoad下代码即可
|
|
|
- */
|
|
|
- this.tabCurrentIndex = +options.state;
|
|
|
- // #ifndef MP
|
|
|
this.loadData();
|
|
|
- // #endif
|
|
|
- // #ifdef MP
|
|
|
- if (options.state == 0) {
|
|
|
- this.loadData();
|
|
|
- }
|
|
|
- // #endif
|
|
|
},
|
|
|
// #ifdef APP-PLUS || H5
|
|
|
onBackPress(e) {
|
|
|
@@ -328,25 +316,26 @@
|
|
|
|
|
|
<style lang="scss">
|
|
|
.content {
|
|
|
- min-height: 100vh;
|
|
|
- background: linear-gradient(90deg, #3C82E6, #5395F5);
|
|
|
+ height: 100%;
|
|
|
+ background: linear-gradient(180deg, rgba(#3C82E6,0.3), rgba(#5395F5,0));
|
|
|
background-size: 100% 645rpx;
|
|
|
+ background-repeat: no-repeat;
|
|
|
}
|
|
|
|
|
|
.header {
|
|
|
padding-top: var(--status-bar-height);
|
|
|
|
|
|
.title {
|
|
|
- height: 50rpx;
|
|
|
- font-size: 36rpx;
|
|
|
- line-height: 50rpx;
|
|
|
+ height: 50px;
|
|
|
+ font-size: 18px;
|
|
|
+ line-height: 50px;
|
|
|
text-align: center;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.swiper-box {
|
|
|
- // height: calc(100% - 40px);
|
|
|
+ height: calc(100% - 90px);
|
|
|
}
|
|
|
|
|
|
.list-scroll-content {
|
|
|
@@ -357,35 +346,28 @@
|
|
|
.navbar {
|
|
|
display: flex;
|
|
|
height: 40px;
|
|
|
- padding: 0 5px;
|
|
|
- background: #fff;
|
|
|
+ padding: 6px;
|
|
|
+ background:$bg-gradual;
|
|
|
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
|
|
|
position: relative;
|
|
|
z-index: 10;
|
|
|
-
|
|
|
+ margin: 0 30rpx;
|
|
|
+ border-radius: 99rpx;
|
|
|
.nav-item {
|
|
|
flex: 1;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
- height: 100%;
|
|
|
+ height: 28px;
|
|
|
font-size: 15px;
|
|
|
- color: $font-color-dark;
|
|
|
+ line-height: 28px;
|
|
|
+ color: #FFF;
|
|
|
position: relative;
|
|
|
|
|
|
&.current {
|
|
|
color: $base-color;
|
|
|
-
|
|
|
- &:after {
|
|
|
- content: '';
|
|
|
- position: absolute;
|
|
|
- left: 50%;
|
|
|
- bottom: 0;
|
|
|
- transform: translateX(-50%);
|
|
|
- width: 44px;
|
|
|
- height: 0;
|
|
|
- border-bottom: 2px solid $base-color;
|
|
|
- }
|
|
|
+ background-color: #FFF;
|
|
|
+ border-radius: 99rpx;
|
|
|
}
|
|
|
}
|
|
|
}
|