|
|
@@ -4,7 +4,7 @@
|
|
|
<u-navbar title-color="#fff" z-index="90" :border-bottom="false" :is-back="false" title="积分换礼"
|
|
|
:background="{'backgroundColor': vuex_theme.shopBg}"></u-navbar>
|
|
|
<!-- #endif -->
|
|
|
- <mescroll-body ref="mescrollRef" @init="mescrollInit" :down="downOption" @down="downCallback" @up="upCallback">
|
|
|
+ <mescroll-body ref="mescrollRef" @init="mescrollInit" :down="downOption" :up="upOption" @down="downCallback" @up="upCallback">
|
|
|
<view class="bg-card">
|
|
|
<view class="info" style="display: flex;justify-content: space-between;">
|
|
|
<view class="flex" v-if="vuex_userId">
|
|
|
@@ -24,7 +24,7 @@
|
|
|
</view>
|
|
|
<view class="center" style="margin-right: -30rpx;">
|
|
|
<view class="cu-btn round sm rule"
|
|
|
- @click="$jump('/pages/introduce/notice?title=积分规则&isGlobal=true')">
|
|
|
+ @click="$jump('/pages/introduce/notice?title=积分规则')">
|
|
|
积分兑换规则
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -59,8 +59,8 @@
|
|
|
</mescroll-body>
|
|
|
<login ref="login" @signIn="signIn" @phoneSuccess="phoneSuccess"></login>
|
|
|
|
|
|
- <u-tabbar :bg-color="tabbar.bgColor" :height="100" :border-top="tabbar.borderTop"
|
|
|
- :active-color="tabbar.activeColor" :list="tabbar.list">
|
|
|
+ <u-tabbar :bg-color="tabbar.bgColor" :icon-size="tabbar.iconSize" :height="100" :border-top="tabbar.borderTop"
|
|
|
+ :inactive-color="tabbar.inactiveColor" :active-color="tabbar.activeColor" :list="tabbar.list">
|
|
|
</u-tabbar>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -79,6 +79,9 @@
|
|
|
downOption: {
|
|
|
auto: false
|
|
|
},
|
|
|
+ upOption:{
|
|
|
+ auto:false
|
|
|
+ },
|
|
|
avatar: '',
|
|
|
userData: {},
|
|
|
list: []
|
|
|
@@ -87,11 +90,26 @@
|
|
|
onShow() {
|
|
|
this.init()
|
|
|
},
|
|
|
- onLoad() {
|
|
|
+ async onLoad() {
|
|
|
+ //加载底部导航栏
|
|
|
this.fetchTabbar()
|
|
|
+ //获取轮播图
|
|
|
this.fetchSwiperList()
|
|
|
+ //加载积分商城
|
|
|
+ this.fetchGoods()
|
|
|
},
|
|
|
methods: {
|
|
|
+ fetchGoods(){
|
|
|
+ // #ifdef MP-WEIXIN
|
|
|
+ this.mescroll.resetUpScroll();
|
|
|
+ // #endif
|
|
|
+
|
|
|
+ // #ifdef H5
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.mescroll.resetUpScroll();
|
|
|
+ },50)
|
|
|
+ // #endif
|
|
|
+ },
|
|
|
async fetchTabbar() {
|
|
|
this.tabbar = tabbar
|
|
|
if (this.vuex_theme.bgColor) {
|