修改
This commit is contained in:
parent
01d1215d5d
commit
fa782d2a51
@ -1,4 +1,4 @@
|
|||||||
<view class="search">
|
<view class="search">
|
||||||
<image></image>
|
<image src="../../../utils/img/search.png"></image>
|
||||||
<input type="text" confirm-type="search " bindconfirm="search" placeholder="输入您要搜索的产品" />
|
<input type="text" confirm-type="search " bindconfirm="search" placeholder="输入您要搜索的产品" />
|
||||||
</view>
|
</view>
|
@ -20,6 +20,8 @@ Component({
|
|||||||
}
|
}
|
||||||
}).then((res)=>{
|
}).then((res)=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
this.triggerEvent('shua', { bubbles: true,composed: true })
|
||||||
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -33,6 +35,7 @@ Component({
|
|||||||
}
|
}
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
this.triggerEvent('shua', { bubbles: true,composed: true })
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -52,7 +55,11 @@ Component({
|
|||||||
nonceStr:res.data.result.wdata.nonceStr,
|
nonceStr:res.data.result.wdata.nonceStr,
|
||||||
package:res.data.result.wdata.package,
|
package:res.data.result.wdata.package,
|
||||||
signType:"MD5",
|
signType:"MD5",
|
||||||
paySign:res.data.result.wdata.sign
|
paySign:res.data.result.wdata.sign,
|
||||||
|
complete(){
|
||||||
|
this.triggerEvent('shua', { bubbles: true,composed: true })
|
||||||
|
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -98,6 +98,11 @@ Component({
|
|||||||
} ,
|
} ,
|
||||||
receiving(){
|
receiving(){
|
||||||
|
|
||||||
|
},
|
||||||
|
shua(){
|
||||||
|
console.log(123)
|
||||||
|
this.getlist()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
<van-tabs class="tab" swipe-threshold="5">
|
<van-tabs class="tab" swipe-threshold="5">
|
||||||
<van-tab title="待付款" bind:tap="todetail">
|
<van-tab title="待付款" bind:tap="todetail">
|
||||||
<commodity wx:for="{{WAITPAY}}" wx:for-index="j" wx:key="{{j}}" data-id="{{item.order_id}}" num="{{item.goods_num}}" cprice="{{item.goods_price}}" freight="{{item.integral_money}}" goods="{{item.goods_list}}" gid="{{item.order_id}}" type="1"></commodity>
|
<commodity bind:shua="shua" wx:for="{{WAITPAY}}" wx:for-index="j" wx:key="{{j}}" data-id="{{item.order_id}}" num="{{item.goods_num}}" cprice="{{item.goods_price}}" freight="{{item.integral_money}}" goods="{{item.goods_list}}" gid="{{item.order_id}}" type="1"></commodity>
|
||||||
</van-tab>
|
</van-tab>
|
||||||
<van-tab title="待发货" bind:tap="receivings">
|
<van-tab title="待发货" bind:tap="receivings">
|
||||||
<commodity wx:for="{{WAITSEND}}" wx:for-index="j" wx:key="{{j}}" data-id="{{item.order_id}}" num="{{item.goods_num}}" cprice="{{item.goods_price}}" freight="{{item.integral_money}}" goods="{{item.goods_list}}"></commodity>
|
<commodity bind:shua="shua" wx:for="{{WAITSEND}}" wx:for-index="j" wx:key="{{j}}" data-id="{{item.order_id}}" num="{{item.goods_num}}" cprice="{{item.goods_price}}" freight="{{item.integral_money}}" goods="{{item.goods_list}}"></commodity>
|
||||||
</van-tab>
|
</van-tab>
|
||||||
<van-tab title="待收货" bind:tap="receivingw">
|
<van-tab title="待收货" bind:tap="receivingw">
|
||||||
<commodity wx:for="{{WAITRECEIVE}}" wx:for-index="j" wx:key="{{j}}" type="3" data-id="{{item.order_id}}" num="{{item.goods_num}}" cprice="{{item.goods_price}}" gid="{{item.order_id}}" freight="{{item.integral_money}}" goods="{{item.goods_list}}"></commodity>
|
<commodity bind:shua="shua" wx:for="{{WAITRECEIVE}}" wx:for-index="j" wx:key="{{j}}" type="3" data-id="{{item.order_id}}" num="{{item.goods_num}}" cprice="{{item.goods_price}}" gid="{{item.order_id}}" freight="{{item.integral_money}}" goods="{{item.goods_list}}"></commodity>
|
||||||
</van-tab>
|
</van-tab>
|
||||||
<van-tab title="已完成" bind:tap="receivingw">
|
<van-tab title="已完成" bind:tap="receivingw">
|
||||||
<commodity wx:for="{{FINISH}}" wx:for-index="j" wx:key="{{j}}" data-id="{{item.order_id}}" num="{{item.goods_num}}" cprice="{{item.goods_price}}" freight="{{item.integral_money}}" goods="{{item.goods_list}}"></commodity>
|
<commodity bind:shua="shua" wx:for="{{FINISH}}" wx:for-index="j" wx:key="{{j}}" data-id="{{item.order_id}}" num="{{item.goods_num}}" cprice="{{item.goods_price}}" freight="{{item.integral_money}}" goods="{{item.goods_list}}"></commodity>
|
||||||
</van-tab>
|
</van-tab>
|
||||||
<van-tab title="售后">
|
<van-tab title="售后">
|
||||||
<commodity wx:for="{{AFTERSALE}}" wx:for-index="j" wx:key="{{j}}" data-id="{{item.order_id}}" num="{{item.goods_num}}" cprice="{{item.goods_price}}" freight="{{item.integral_money}}" goods="{{item.goods_list}}"></commodity>
|
<commodity bind:shua="shua" wx:for="{{AFTERSALE}}" wx:for-index="j" wx:key="{{j}}" data-id="{{item.order_id}}" num="{{item.goods_num}}" cprice="{{item.goods_price}}" freight="{{item.integral_money}}" goods="{{item.goods_list}}"></commodity>
|
||||||
</van-tab>
|
</van-tab>
|
||||||
</van-tabs>
|
</van-tabs>
|
||||||
|
@ -73,13 +73,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.reverse {
|
.reverse {
|
||||||
width: 23rpx;
|
width: 63rpx;
|
||||||
height: 23rpx;
|
height: 63rpx;
|
||||||
/* background-color: #97DFB4; */
|
/* background-color: #97DFB4; */
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-top: 20rpx;
|
/* margin-top: 20rpx; */
|
||||||
line-height: 23rpx;
|
line-height: 63rpx;
|
||||||
font-size: 46rpx;
|
font-size: 46rpx;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.num {
|
.num {
|
||||||
@ -89,10 +90,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.add {
|
.add {
|
||||||
width: 23rpx;
|
width: 63rpx;
|
||||||
height: 23rpx;
|
height: 63rpx;
|
||||||
/* background-color: #242424; */
|
/* background-color: #242424; */
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-bottom: 17rpx;
|
/* margin-bottom: 17rpx; */
|
||||||
line-height: 23rpx;
|
font-size: 46rpx;
|
||||||
|
line-height: 63rpx;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
@ -135,7 +135,7 @@ Page({
|
|||||||
* 生命周期函数--监听页面显示
|
* 生命周期函数--监听页面显示
|
||||||
*/
|
*/
|
||||||
onShow: function() {
|
onShow: function() {
|
||||||
|
this.onLoad()
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
BIN
utils/img/search.png
Normal file
BIN
utils/img/search.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
Loading…
Reference in New Issue
Block a user