Commit 7de71104 authored by lvtz's avatar lvtz

fix

parent 4a959864
......@@ -59,15 +59,25 @@ Component({
}
let url = '';
switch (dataset.type) {
case 'ucenter': // 跳转个人中心
case 'dc': // 跳转数据中心
url = `/business/pages/organizationalmgt/index?sid=${this.data.sid}`;
break
case 'message': // 跳转消息页面
case 'workbench': // 跳转工作台
url = `/business/pages/todotasks/index?sid=${this.data.sid}`;
break
case 'class': // 跳转课程管理
case 'class': // 跳转课
url = `/business/pages/schoolclasslist/index?sid=${this.data.sid}`;
break
case 'ucenter': // 跳转个人中心
url = `/business/pages/organizationalmgt/index?sid=${this.data.sid}`;
break
case 'message': // 跳转消息页面
url = `/business/pages/todotasks/index?sid=${this.data.sid}`;
break
// case 'class': // 跳转课程管理
// url = `/business/pages/schoolclasslist/index?sid=${this.data.sid}`;
// break
default:
break;
}
......
<!-- <view class="btabbar">
<view class="btabbaritem class {{current == 'class' ? 'active' : ''}}" bindtap="chooseTab" data-type="class">
<image class="icon class" wx:if="{{current != 'class'}}" src="/images/btabbar/home.png" ></image>
<image class="icon class" wx:if="{{current == 'class'}}" src="/images/btabbar/homeactive.png" ></image>
<text class="btabbaritemname" >首页</text>
</view>
<view class="btabbaritem message {{current == 'message' ? 'active' : ''}}" bindtap="chooseTab" data-type="message">
<image class="icon message" wx:if="{{current != 'message'}}" src="/images/btabbar/message.png" ></image>
<image class="icon message" wx:if="{{current == 'message'}}" src="/images/btabbar/messageactive.png" ></image>
<text class="btabbaritemname" >消息</text>
<view class="message-count" wx:if="{{waitJob > 0}}">{{waitJob > 99 ? '99+' : waitJob}}</view>
</view>
<view class="btabbaritem ucenter {{current == 'ucenter' ? 'active' : ''}}" bindtap="chooseTab" data-type="ucenter">
<image class="icon ucenter" wx:if="{{current != 'ucenter'}}" src="/images/btabbar/ucenter.png" ></image>
<image class="icon ucenter" wx:if="{{current == 'ucenter'}}" src="/images/btabbar/ucenteractive.png" ></image>
<text class="btabbaritemname" >我</text>
</view>
</view> -->
<view class="btabbar">
<view class="btabbaritem class {{current == 'class' ? 'active' : ''}}" bindtap="chooseTab" data-type="class" hover-class="none" hover-stop-propagation="false">
<image class="icon class" wx:if="{{current != 'class'}}" src="/images/btabbar/home.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="icon class" wx:if="{{current == 'class'}}" src="/images/btabbar/homeactive.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<text class="btabbaritemname" selectable="false" space="false" decode="false">首页</text>
<view class="btabbaritem class {{current == 'dc' ? 'active' : ''}}" bindtap="chooseTab" data-type="dc">
<image class="icon class" wx:if="{{current != 'dc'}}" src="/images/btabbar/dc.png" ></image>
<image class="icon class" wx:if="{{current == 'dc'}}" src="/images/btabbar/dcactive.png" ></image>
<text class="btabbaritemname" >数据中心</text>
</view>
<view class="btabbaritem message {{current == 'workbench' ? 'active' : ''}}" bindtap="chooseTab" data-type="workbench">
<image class="icon workbench" wx:if="{{current != 'workbench'}}" src="/images/btabbar/workbench.png" ></image>
<image class="icon workbench" wx:if="{{current == 'workbench'}}" src="/images/btabbar/workbenchactive.png" ></image>
<text class="btabbaritemname" >工作台</text>
<!-- <view class="message-count" wx:if="{{waitJob > 0}}">{{waitJob > 99 ? '99+' : waitJob}}</view> -->
</view>
<view class="btabbaritem message {{current == 'message' ? 'active' : ''}}" bindtap="chooseTab" data-type="message" hover-class="none" hover-stop-propagation="false">
<image class="icon message" wx:if="{{current != 'message'}}" src="/images/btabbar/message.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="icon message" wx:if="{{current == 'message'}}" src="/images/btabbar/messageactive.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<text class="btabbaritemname" selectable="false" space="false" decode="false">消息</text>
<view class="message-count" hover-class="none" hover-stop-propagation="false" wx:if="{{waitJob > 0}}">{{waitJob > 99 ? '99+' : waitJob}}</view>
<view class="btabbaritem class {{current == 'class' ? 'active' : ''}}" bindtap="chooseTab" data-type="class">
<image class="icon class" wx:if="{{current != 'class'}}" src="/images/btabbar/class.png" ></image>
<image class="icon class" wx:if="{{current == 'class'}}" src="/images/btabbar/classactive.png" ></image>
<text class="btabbaritemname" >课务</text>
</view>
<view class="btabbaritem ucenter {{current == 'ucenter' ? 'active' : ''}}" bindtap="chooseTab" data-type="ucenter" hover-class="none" hover-stop-propagation="false">
<image class="icon ucenter" wx:if="{{current != 'ucenter'}}" src="/images/btabbar/ucenter.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<image class="icon ucenter" wx:if="{{current == 'ucenter'}}" src="/images/btabbar/ucenteractive.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload=""></image>
<text class="btabbaritemname" selectable="false" space="false" decode="false">我</text>
<view class="btabbaritem ucenter {{current == 'ucenter' ? 'active' : ''}}" bindtap="chooseTab" data-type="ucenter">
<image class="icon ucenter" wx:if="{{current != 'ucenter'}}" src="/images/btabbar/ucenter.png" ></image>
<image class="icon ucenter" wx:if="{{current == 'ucenter'}}" src="/images/btabbar/ucenteractive.png" ></image>
<text class="btabbaritemname" >我</text>
</view>
</view>
\ No newline at end of file
images/btabbar/class.png

261 Bytes | W: | H:

images/btabbar/class.png

357 Bytes | W: | H:

images/btabbar/class.png
images/btabbar/class.png
images/btabbar/class.png
images/btabbar/class.png
  • 2-up
  • Swipe
  • Onion skin
images/btabbar/classactive.png

2.09 KB | W: | H:

images/btabbar/classactive.png

2.38 KB | W: | H:

images/btabbar/classactive.png
images/btabbar/classactive.png
images/btabbar/classactive.png
images/btabbar/classactive.png
  • 2-up
  • Swipe
  • Onion skin
images/btabbar/ucenter.png

677 Bytes | W: | H:

images/btabbar/ucenter.png

927 Bytes | W: | H:

images/btabbar/ucenter.png
images/btabbar/ucenter.png
images/btabbar/ucenter.png
images/btabbar/ucenter.png
  • 2-up
  • Swipe
  • Onion skin
images/btabbar/ucenteractive.png

1.71 KB | W: | H:

images/btabbar/ucenteractive.png

2.83 KB | W: | H:

images/btabbar/ucenteractive.png
images/btabbar/ucenteractive.png
images/btabbar/ucenteractive.png
images/btabbar/ucenteractive.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment