index.wxml
1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<view wx:if="{{isClose}}" class="float-menu-cover" bindtap="open">
<image class="arrows" src="/images/icon/go-l.svg"></image>
<view class="r">
<text>快速</text>
<text>导航</text>
</view>
</view>
<view wx:else class="float-menu-cover float-menu-cover-open" bindtap="close">
<image class="arrows" src="/images/icon/go-r.svg"></image>
<view class="r">
<text>快速</text>
<text>导航</text>
</view>
</view>
<view wx:if="{{!isClose}}" class="float-menu-items">
<navigator url="/pages/index/index" open-type="switchTab">
<view class="item">
<image src="/images/nav/home-off.png"></image>
<text>首页</text>
</view>
</navigator>
<navigator url="/pages/category/category" open-type="switchTab">
<view class="item">
<image src="/images/nav/ic_catefory_normal.png"></image>
<text>分类</text>
</view>
</navigator>
<navigator url="/pages/shop-cart/index" open-type="switchTab">
<view class="item">
<image src="/images/nav/cart-off.png"></image>
<text>购物车</text>
</view>
</navigator>
<navigator url="/pages/my/index" open-type="switchTab">
<view class="item">
<image src="/images/nav/my-off.png"></image>
<text>我的</text>
</view>
</navigator>
</view>