dreamnight пре 5 година
родитељ
комит
4a2e458400

+ 1 - 0
src/components/activityFlow.vue

@@ -48,6 +48,7 @@
   background-color: #fff;
   .flow-item {
     .flow-image {
+      margin-right: 4px;
       width: 36px;
       height: 86px;
     }

+ 27 - 9
src/pages/index.vue

@@ -6,7 +6,13 @@
       <view class="index-header">
         <view class="index-banner"
               v-if="bannerList.length"
-              v-show="!isSticky">
+              v-show="!isSticky"
+              :style="{
+                Top: `${navHeight}rpx`
+              }">
+          <view class="index-logo">
+            <image src="../static/common/logo_bt.png" />
+          </view>
           <u-swiper mode="dot"
                     img-mode="scaleToFill"
                     :list="bannerList | bannerListFilter | imgListFilter(1)"
@@ -17,12 +23,15 @@
           </u-swiper>
         </view>
       </view>
-      <view class="activity-flow u-p-t-34"
-            v-show="!isSticky">
+      <view class="activity-flow"
+            v-show="!isSticky"
+            :style="{
+              paddingTop: '20rpx'
+            }">
         <activity-flow></activity-flow>
       </view>
     </view>
-    <view class="index-body u-m-t-16">
+    <view class="index-body u-m-t-36">
       <u-sticky :enable="enable"
                 offset-top="0"
                 h5-nav-height="0"
@@ -108,7 +117,7 @@ export default {
       isLocation: false,
       enable: true,
       isSticky: false,
-      firstHeight: 542,
+      firstHeight: 568,
       navTitleStyle: {
         paddingTop: 0,
         paddingBottom: 0,
@@ -225,7 +234,7 @@ export default {
     },
     unStickyFixed () {
       this.isSticky = false
-      this.firstHeight = 542
+      this.firstHeight = 568
       this.navTitleStyle = {
         paddingTop: 0,
         paddingBottom: 0,
@@ -297,16 +306,25 @@ export default {
     opacity: 0;
   }
   .index-header {
-    height: 254px;
+    height: 314px;
     background: url('~@/static/common/bg_sy.png') no-repeat center top;
-    background-size: contain;
+    background-size: cover;
     transition: height 2s;
     .index-banner {
       position: relative;
-      top: 112px;
       margin: 0 auto;
       width: 694px;
       transition: width 2s;
+      .index-logo {
+        margin-bottom: 36px;
+        text-align: center;
+        image {
+          width: 88px;
+          height: 44px;
+          background: url('~@/static/common/logo_bt.png') no-repeat top top;
+          background-size: cover;
+        }
+      }
     }
   }
   .activity-flow {

+ 1 - 0
src/pagesSub/activity/activityDetail.vue

@@ -322,6 +322,7 @@ export default {
       if (code === 200) {
         this.detail = data
       }
+      uni.stopPullDownRefresh()
     },
     // 报名活动/取消报名
     async joinActivity (type) {

BIN
src/static/common/bg_sy.png


BIN
src/static/common/logo_bt.png