去掉购物车

This commit is contained in:
@fawn-nine
2024-07-03 10:36:53 +08:00
parent f5b053a8a0
commit 6ecec6289e
5 changed files with 27 additions and 24 deletions

View File

@@ -16,10 +16,10 @@
<u-icon name="bag" color="#fff" size="28"></u-icon> <u-icon name="bag" color="#fff" size="28"></u-icon>
<text>立即购买</text> <text>立即购买</text>
</view> </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> <uni-icons type="cart" size="28" style="color: #666;"></uni-icons>
<text>加入购物车</text> <text>加入购物车</text>
</view> </view> -->
</view> </view>
</view> </view>
</u-popup> </u-popup>

View File

@@ -80,12 +80,12 @@ export default {
selectedIconPath: "static/tab/icon1_y.png", selectedIconPath: "static/tab/icon1_y.png",
text: "首页", text: "首页",
}, },
{ // {
pagePath: "pages/peanut/shopping", // pagePath: "pages/peanut/shopping",
iconPath: "static/tab/tab_nor_02.png", // iconPath: "static/tab/tab_nor_02.png",
selectedIconPath: "static/tab/tab_cur_02.png", // selectedIconPath: "static/tab/tab_cur_02.png",
text: "购物车", // text: "购物车",
}, // },
{ {
pagePath: "pages/bookShop/orderList", pagePath: "pages/bookShop/orderList",
iconPath: "static/tab/order.png", iconPath: "static/tab/order.png",
@@ -112,12 +112,12 @@ export default {
selectedIconPath: "static/tab/icon1_y.png", selectedIconPath: "static/tab/icon1_y.png",
text: "首页", text: "首页",
}, },
{ // {
pagePath: "pages/peanut/shopping", // pagePath: "pages/peanut/shopping",
iconPath: "static/tab/tab_nor_02.png", // iconPath: "static/tab/tab_nor_02.png",
selectedIconPath: "static/tab/tab_cur_02.png", // selectedIconPath: "static/tab/tab_cur_02.png",
text: "购物车", // text: "购物车",
}, // },
{ {
pagePath: "pages/taihu/index", pagePath: "pages/taihu/index",

View File

@@ -561,12 +561,12 @@
"selectedIconPath": "static/tab/icon1_y.png", "selectedIconPath": "static/tab/icon1_y.png",
"text": "首页" "text": "首页"
}, },
{ // {
"pagePath": "pages/peanut/shopping", // "pagePath": "pages/peanut/shopping",
"iconPath": "static/tab/tab_nor_02.png", // "iconPath": "static/tab/tab_nor_02.png",
"selectedIconPath": "static/tab/tab_cur_02.png", // "selectedIconPath": "static/tab/tab_cur_02.png",
"text": "购物车" // "text": "购物车"
}, // },
{ {
"pagePath": "pages/bookShop/orderList", "pagePath": "pages/bookShop/orderList",
"iconPath": "static/tab/order.png", "iconPath": "static/tab/order.png",

View File

@@ -780,7 +780,7 @@ export default {
}, },
onLoad(options) { onLoad(options) {
this.options = options; this.options = options;
console.log('options',options)
// this.handleClickGetGoodsList(); // this.handleClickGetGoodsList();
// this.getUserInfo() // this.getUserInfo()
// this.getCateList() // this.getCateList()
@@ -1027,7 +1027,7 @@ export default {
that.curriculumData.productImageList == null || that.curriculumData.productImageList == null ||
that.curriculumData.productImageList == "" that.curriculumData.productImageList == ""
) { ) {
this.swiperList.push(that.curriculumData.explainsImg); this.swiperList.push(that.curriculumData.productImages);
} else { } else {
that.swiperList = that.curriculumData.productImageList.split(","); that.swiperList = that.curriculumData.productImageList.split(",");
// for (var i = 0; i < imgList.length; i++) { // for (var i = 0; i < imgList.length; i++) {

View File

@@ -254,7 +254,7 @@
icon: 'error', icon: 'error',
duration: 1000, duration: 1000,
}) })
}else{ }else{
uni.navigateTo({ uni.navigateTo({
url: '../bookShop/settlement?type=1&list='+JSON.stringify(shangList) url: '../bookShop/settlement?type=1&list='+JSON.stringify(shangList)
}); });
@@ -265,8 +265,11 @@
// 商品内容跳转 // 商品内容跳转
goDetail(id) { goDetail(id) {
uni.navigateTo({ uni.navigateTo({
url: '../bookShop/commodityDetail?id=' + id url: '/pages/goods/index/index?id=' + id
}); });
// uni.navigateTo({
// url: '../bookShop/commodityDetail?id=' + id
// });
}, },
}, },