购物车跳转

This commit is contained in:
jqtmviyu@gmail.com 2021-02-27 18:27:03 +08:00
parent 0b9fdb5c7a
commit 610af145d7
2 changed files with 7 additions and 2 deletions

View File

@ -89,6 +89,11 @@
"name": "商品列表", "name": "商品列表",
"path": "pages/goods_list/goods_list", "path": "pages/goods_list/goods_list",
"query": "id=33" "query": "id=33"
},
{
"name": "购物车",
"path": "pages/cart/cart",
"query": ""
} }
] ]
} }

View File

@ -36,10 +36,10 @@
<text class="icon_btn_text">联系客服</text> <text class="icon_btn_text">联系客服</text>
<button class="open_type_button" open-type="contact">客服按钮</button> <button class="open_type_button" open-type="contact">客服按钮</button>
</view> </view>
<view class="icon_btn"> <navigator url="/pages/cart/cart" class="icon_btn" open-type="switchTab" hover-class="none">
<view class="iconfont icon-gouwuche"></view> <view class="iconfont icon-gouwuche"></view>
<text class="icon_btn_text">购物车</text> <text class="icon_btn_text">购物车</text>
</view> </navigator>
<view class="button">加入购物车</view> <view class="button">加入购物车</view>
<view class="button">立即购买</view> <view class="button">立即购买</view>
</view> </view>