去掉购物车
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
<u-icon name="bag" color="#fff" size="28"></u-icon>
|
||||
<text>立即购买</text>
|
||||
</view>
|
||||
<view class="saveBtnss gouwuche flexbox" @click="oprate('gouwuche')">
|
||||
<!-- <view class="saveBtnss gouwuche flexbox" @click="oprate('gouwuche')">
|
||||
<uni-icons type="cart" size="28" style="color: #666;"></uni-icons>
|
||||
<text>加入购物车</text>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
|
||||
@@ -80,12 +80,12 @@ export default {
|
||||
selectedIconPath: "static/tab/icon1_y.png",
|
||||
text: "首页",
|
||||
},
|
||||
{
|
||||
pagePath: "pages/peanut/shopping",
|
||||
iconPath: "static/tab/tab_nor_02.png",
|
||||
selectedIconPath: "static/tab/tab_cur_02.png",
|
||||
text: "购物车",
|
||||
},
|
||||
// {
|
||||
// pagePath: "pages/peanut/shopping",
|
||||
// iconPath: "static/tab/tab_nor_02.png",
|
||||
// selectedIconPath: "static/tab/tab_cur_02.png",
|
||||
// text: "购物车",
|
||||
// },
|
||||
{
|
||||
pagePath: "pages/bookShop/orderList",
|
||||
iconPath: "static/tab/order.png",
|
||||
@@ -112,12 +112,12 @@ export default {
|
||||
selectedIconPath: "static/tab/icon1_y.png",
|
||||
text: "首页",
|
||||
},
|
||||
{
|
||||
pagePath: "pages/peanut/shopping",
|
||||
iconPath: "static/tab/tab_nor_02.png",
|
||||
selectedIconPath: "static/tab/tab_cur_02.png",
|
||||
text: "购物车",
|
||||
},
|
||||
// {
|
||||
// pagePath: "pages/peanut/shopping",
|
||||
// iconPath: "static/tab/tab_nor_02.png",
|
||||
// selectedIconPath: "static/tab/tab_cur_02.png",
|
||||
// text: "购物车",
|
||||
// },
|
||||
|
||||
{
|
||||
pagePath: "pages/taihu/index",
|
||||
|
||||
12
pages.json
12
pages.json
@@ -561,12 +561,12 @@
|
||||
"selectedIconPath": "static/tab/icon1_y.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/peanut/shopping",
|
||||
"iconPath": "static/tab/tab_nor_02.png",
|
||||
"selectedIconPath": "static/tab/tab_cur_02.png",
|
||||
"text": "购物车"
|
||||
},
|
||||
// {
|
||||
// "pagePath": "pages/peanut/shopping",
|
||||
// "iconPath": "static/tab/tab_nor_02.png",
|
||||
// "selectedIconPath": "static/tab/tab_cur_02.png",
|
||||
// "text": "购物车"
|
||||
// },
|
||||
{
|
||||
"pagePath": "pages/bookShop/orderList",
|
||||
"iconPath": "static/tab/order.png",
|
||||
|
||||
@@ -780,7 +780,7 @@ export default {
|
||||
},
|
||||
onLoad(options) {
|
||||
this.options = options;
|
||||
|
||||
console.log('options',options)
|
||||
// this.handleClickGetGoodsList();
|
||||
// this.getUserInfo()
|
||||
// this.getCateList()
|
||||
@@ -1027,7 +1027,7 @@ export default {
|
||||
that.curriculumData.productImageList == null ||
|
||||
that.curriculumData.productImageList == ""
|
||||
) {
|
||||
this.swiperList.push(that.curriculumData.explainsImg);
|
||||
this.swiperList.push(that.curriculumData.productImages);
|
||||
} else {
|
||||
that.swiperList = that.curriculumData.productImageList.split(",");
|
||||
// for (var i = 0; i < imgList.length; i++) {
|
||||
|
||||
@@ -254,7 +254,7 @@
|
||||
icon: 'error',
|
||||
duration: 1000,
|
||||
})
|
||||
}else{
|
||||
}else{
|
||||
uni.navigateTo({
|
||||
url: '../bookShop/settlement?type=1&list='+JSON.stringify(shangList)
|
||||
});
|
||||
@@ -265,8 +265,11 @@
|
||||
// 商品内容跳转
|
||||
goDetail(id) {
|
||||
uni.navigateTo({
|
||||
url: '../bookShop/commodityDetail?id=' + id
|
||||
url: '/pages/goods/index/index?id=' + id
|
||||
});
|
||||
// uni.navigateTo({
|
||||
// url: '../bookShop/commodityDetail?id=' + id
|
||||
// });
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user