Authored by yyq

fix

... ... @@ -12,7 +12,7 @@
<image wx:if="{{item.sort_ico}}" src="{{helper.image(item.sort_ico, 64, 84)}}" class="item-img"></image>
<view class="item-name">{{item.category_name}}</view>
</view>
<view class="category-sub-item more-item" data-cid="{{currentId}}" bindtap="goCategoryListWithId">
<view wx:if="{{currentId}}" class="category-sub-item more-item" data-cid="{{currentId}}" bindtap="goCategoryListWithId">
<view class="item-name">MORE</view>
</view>
</view>
... ...
... ... @@ -36,7 +36,11 @@ global.router = {
this.app = this.app || getApp();
if (rule.auth && !this.app.getUid()) {
return jump.navigateTo(rules.login.path);
return wx.showToast({
title: '请先完成登录/注册,再查看!',
icon: 'none',
duration: 2000
});
}
// 跳转类型
... ...