Commit b04aaab5 authored by zhangjianguo's avatar zhangjianguo

分类的传值和物流的显示

parent 7298621a
...@@ -83,7 +83,8 @@ export default { ...@@ -83,7 +83,8 @@ export default {
clickHandler(item) { clickHandler(item) {
let Id1=this.d[this.tid].Id; let Id1=this.d[this.tid].Id;
let Id2=item.Id; let Id2=item.Id;
let CategoryIds=Id1+','+Id2; // let CategoryIds=Id1+','+Id2;
let CategoryIds=Id2;
uni.navigateTo({ url: '/pages/goods/list?CategoryIds='+CategoryIds }); uni.navigateTo({ url: '/pages/goods/list?CategoryIds='+CategoryIds });
} }
}, },
......
...@@ -73,7 +73,8 @@ export default { ...@@ -73,7 +73,8 @@ export default {
clickHandler(item) { clickHandler(item) {
let Id1=this.d[this.tid].Id; let Id1=this.d[this.tid].Id;
let Id2=item.Id; let Id2=item.Id;
let CategoryIds=Id1+','+Id2; // let CategoryIds=Id1+','+Id2;
let CategoryIds=Id2;
uni.navigateTo({ url: '/pages/goods/list?CategoryIds='+CategoryIds }); uni.navigateTo({ url: '/pages/goods/list?CategoryIds='+CategoryIds });
}, },
}, },
......
...@@ -73,7 +73,8 @@ export default { ...@@ -73,7 +73,8 @@ export default {
clickHandler(item) { clickHandler(item) {
let Id1=this.d[this.tid].Id; let Id1=this.d[this.tid].Id;
let Id2=item.Id; let Id2=item.Id;
let CategoryIds=Id1+','+Id2; // let CategoryIds=Id1+','+Id2;
let CategoryIds=Id2;
uni.navigateTo({ url: '/pages/goods/list?CategoryIds='+CategoryIds }); uni.navigateTo({ url: '/pages/goods/list?CategoryIds='+CategoryIds });
}, },
}, },
......
...@@ -85,7 +85,8 @@ export default { ...@@ -85,7 +85,8 @@ export default {
clickHandler(item) { clickHandler(item) {
let Id1=this.d[this.tid].Id; let Id1=this.d[this.tid].Id;
let Id2=item.Id; let Id2=item.Id;
let CategoryIds=Id1+','+Id2; // let CategoryIds=Id1+','+Id2;
let CategoryIds=Id2;
uni.navigateTo({ url: '/pages/goods/list?CategoryIds='+CategoryIds }); uni.navigateTo({ url: '/pages/goods/list?CategoryIds='+CategoryIds });
}, },
}, },
......
...@@ -159,6 +159,7 @@ export default { ...@@ -159,6 +159,7 @@ export default {
this.msg.OrderBy=sort; this.msg.OrderBy=sort;
} }
this.g = []; this.g = [];
this.msg.pageIndex=1
this.init(); this.init();
}, },
init() { init() {
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
> >
<view class="orderList"> <view class="orderList">
<view class="listBox" v-for="(item, index) in g" :key="index"> <view class="listBox" v-for="(item, index) in g" :key="index">
<view class="listBox_t"> <view class="listBox_t" @click="redirectToDetail(item.OrderId)">
<Text>订单号:{{ item.OrderNo }}</Text> <Text>订单号:{{ item.OrderNo }}</Text>
<Text style="color: gray;">{{ item.OrderStatusName }}</Text> <Text style="color: gray;">{{ item.OrderStatusName }}</Text>
</view> </view>
......
...@@ -78,8 +78,8 @@ ...@@ -78,8 +78,8 @@
</view> </view>
</view> </view>
<template v-for="(e, ei) in expressInfo"> <template v-for="(e, ei) in expressInfo">
<view :key="ei" class="order-info-item peisong"> <view :key="ei" class="order-info-item peisong" v-for="(ec, eci) in e.GoodsList" v-if=" ec.Id == x.DetailId">
<template v-for="(ec, eci) in e.GoodsList"> <template >
<view <view
class="field" class="field"
:key="eci" :key="eci"
......
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