去掉购物车
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
12
pages.json
12
pages.json
@@ -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",
|
||||||
|
|||||||
@@ -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++) {
|
||||||
|
|||||||
@@ -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
|
||||||
|
// });
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user