Browse Source

一系列页面优化修改

master
Enzo 4 years ago
parent
commit
0075171313
  1. 2
      pages/index/index/index.vue
  2. 1
      pages/store/cart/cart.vue
  3. 13
      pages/user/my/center.vue
  4. 1
      pages/user/my/my.vue

2
pages/index/index/index.vue

@ -2,7 +2,7 @@
<block v-if="microData && microData.micro_page && microData.micro_page.meta">
<lf-nav title="主页" :spreadOut="false" :bgColor="nav_bg_color" :diy="true">
<view class="lf-nav-capsule" @click="$url('/pages/user/member/code')">
<text class="lf-iconfont icon-nv"></text>
<text class="lf-iconfont icon-erweima"></text>
<text class="lf-m-l-4">会员</text>
</view>
<view class="lf-nav-capsule" @click="$msg('敬请期待')">

1
pages/store/cart/cart.vue

@ -37,6 +37,7 @@
</view>
</view>
</view>
<view style="height: 60rpx;"></view>
<view class="cart-bottom">
<view class="lf-flex">
<u-checkbox-group>

13
pages/user/my/center.vue

@ -1,6 +1,6 @@
<template>
<view>
<lf-nav :spreadOut="false" :showIcon="false" titleColor="white" bgColor="transparent!important" title="会员中心"></lf-nav>
<lf-nav :spreadOut="false" :showIcon="false" titleColor="white" :bgColor="nav_bg_color" title="会员中心"></lf-nav>
<view class="center-top">
<view class="bg-left"></view>
<view class="bg-right"></view>
@ -102,6 +102,7 @@
},
data(){
return {
nav_bg_color: 'transparent' ,//
my_service_list: [{
name: '会员服务',
icon: 'icon-huiyuan',
@ -132,7 +133,15 @@
path: '/pages/business/center/center'
}]
}
}
},
//
onPageScroll(event){
if(event.scrollTop >= 50){
this.nav_bg_color = '#22A2A0';
}else{
this.nav_bg_color = 'transparent';
}
},
}
</script>

1
pages/user/my/my.vue

@ -68,6 +68,7 @@
</view>
</view>
</view>
<view style="height: 40rpx;"></view>
</view>
</template>

Loading…
Cancel
Save