Browse Source

【修复】 搜索页面商品瀑布流显示BUG

【修复】 我的活动报名活动信息没有回显导致报错BUG
【修改】 积分商城分类接口
master
邓平艺 4 years ago
parent
commit
4faf201863
  1. 2
      pages/point/shoppingMall/shoppingMall.vue
  2. 4
      pages/shop/searchList.vue
  3. 1
      pages/user/my/myEventRegistrationList.vue

2
pages/point/shoppingMall/shoppingMall.vue

@ -147,7 +147,7 @@
title: '正在获取分类' title: '正在获取分类'
}) })
this.$http.get({ this.$http.get({
api: 'api/category/list',
api: 'api/category/point_category',
header: { header: {
Authorization: this.token Authorization: this.token
} }

4
pages/shop/searchList.vue

@ -15,7 +15,7 @@
<swiper :current="tab_current" @change="swiperChange" :style="{height: autoHeight}"> <swiper :current="tab_current" @change="swiperChange" :style="{height: autoHeight}">
<swiper-item v-for="(tab_item, tab_index) in tab_list" :key="tab_index"> <swiper-item v-for="(tab_item, tab_index) in tab_list" :key="tab_index">
<scroll-view :scroll-y="true" :style="{height: autoHeight}" @scrolltolower="scrolltolower"> <scroll-view :scroll-y="true" :style="{height: autoHeight}" @scrolltolower="scrolltolower">
<view class="scroll-content" v-if="tab_index == 0">
<view v-if="tab_index == 0">
<shop-list :list="goods_list" ref="searchWaterfall"></shop-list> <shop-list :list="goods_list" ref="searchWaterfall"></shop-list>
<!-- <lf-nocontent src="/static/images/empty.png" v-if="goods_list.length <= 0"></lf-nocontent> --> <!-- <lf-nocontent src="/static/images/empty.png" v-if="goods_list.length <= 0"></lf-nocontent> -->
</view> </view>
@ -208,7 +208,7 @@
.shop-img{ .shop-img{
width: 100rpx; width: 100rpx;
height: 100rpx; height: 100rpx;
background-color: #EEEEEE;
// background-color: #EEEEEE;
border-radius: 5rpx; border-radius: 5rpx;
margin-right: 15rpx; margin-right: 15rpx;
} }

1
pages/user/my/myEventRegistrationList.vue

@ -85,6 +85,7 @@
}, },
methods: { methods: {
goDetails(item) { goDetails(item) {
if(!this.$isRight(item.activity)) return;
if(item.activity.is_expired) { if(item.activity.is_expired) {
this.$msg('该活动已过期!'); this.$msg('该活动已过期!');
}else { }else {

Loading…
Cancel
Save