Commit 998ed530 authored by Mac's avatar Mac

跳转发圈

parent 3ed50f83
...@@ -107,6 +107,12 @@ ...@@ -107,6 +107,12 @@
</view> </view>
</view> </view>
</view> </view>
<view class="sku-box u-skeleton-rect" style="align-items: flex-start;" @click="goCoiling(g.friendUrl)">
<view class="label" style="margin-top: 5px;">发圈</view>
<view class="content" style="display: flex;flex-direction: column">
</view>
</view>
<view class="sku-box u-skeleton-rect" style="align-items: flex-start;"> <view class="sku-box u-skeleton-rect" style="align-items: flex-start;">
<view class="label" style="margin-top: 5px;">活动</view> <view class="label" style="margin-top: 5px;">活动</view>
<view class="content" style="display: flex;flex-direction: column"> <view class="content" style="display: flex;flex-direction: column">
...@@ -784,6 +790,9 @@ export default { ...@@ -784,6 +790,9 @@ export default {
//点击跳转 //点击跳转
startPlay(item){ startPlay(item){
uni.navigateTo({ url: '/pages/video/index?GoodsId='+this.id+'&VideoUrl='+item.pic_url }) uni.navigateTo({ url: '/pages/video/index?GoodsId='+this.id+'&VideoUrl='+item.pic_url })
},
goCoiling(url){//跳转发圈页面
uni.navigateTo({ url: url })
} }
}, },
}; };
......
...@@ -233,6 +233,7 @@ ...@@ -233,6 +233,7 @@
pageIndex: 1, pageIndex: 1,
pageSize: 10, pageSize: 10,
total: 0, total: 0,
GoodsId:0,
}, },
//第一层数据 //第一层数据
dataFirst: [], dataFirst: [],
...@@ -288,6 +289,13 @@ ...@@ -288,6 +289,13 @@
}, 1000); }, 1000);
}, },
onLoad(option) { onLoad(option) {
console.log(option)
if(option && option.KeyWords){
this.conMsg.KeyWords = option.KeyWords;
}
if(option && option.GoodsId){
this.conMsg.GoodsId = option.GoodsId;
}
this.getList(); this.getList();
this.u = uni.getStorageSync("mall_UserInfo"); this.u = uni.getStorageSync("mall_UserInfo");
}, },
...@@ -370,6 +378,8 @@ ...@@ -370,6 +378,8 @@
this.active2 = -1; this.active2 = -1;
this.active3 = -1; this.active3 = -1;
this.conMsg.CateId = this.dataFirst[index].Id; this.conMsg.CateId = this.dataFirst[index].Id;
this.conMsg.pageIndex = 1
this.getContent(); this.getContent();
this.getChang(); this.getChang();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment