Commit e0799b5c by sunchao

积分详情跳转到订单详情

parent f6ab116d
...@@ -236,9 +236,6 @@ ...@@ -236,9 +236,6 @@
li:nth-child(2){ li:nth-child(2){
width: 40%; width: 40%;
} }
li:nth-child(2){
width: 30%;
}
.get_point{ .get_point{
color: #FF0000; color: #FF0000;
} }
......
<template> <template>
<view class="container"> <view class="container">
<<<<<<< Updated upstream
<view class="top"> <view class="top">
<picker @change="changeProductType" :value="dropOptionName" :range="productTypeList" <picker @change="changeProductType" :value="dropOptionName" :range="productTypeList"
range-key="dropOptionName"> range-key="dropOptionName">
...@@ -38,7 +37,8 @@ ...@@ -38,7 +37,8 @@
{{fortuneItem.nowSumCommissionAmount}} {{fortuneItem.nowSumCommissionAmount}}
</view> </view>
</view> </view>
<view class="fortuneExchangeList" v-for="(item,index) in fortuneItem.cffpFortuneExchangeList"> <view class="fortuneExchangeList" v-for="(item,index) in fortuneItem.cffpFortuneExchangeList"
@click="viewDetail(item.orderId)">
<text>{{item.productTypeName}}</text> <text>{{item.productTypeName}}</text>
<text class="iconfont icon-youjiantou"></text> <text class="iconfont icon-youjiantou"></text>
</view> </view>
...@@ -64,11 +64,12 @@ ...@@ -64,11 +64,12 @@
maxDate:`${new Date().getFullYear()}-${new Date().getMonth() + 1}`, maxDate:`${new Date().getFullYear()}-${new Date().getMonth() + 1}`,
commissionTypeList:[{dropOptionName:null,dropOptionCode:null}], commissionTypeList:[{dropOptionName:null,dropOptionCode:null}],
productTypeList:[{dropOptionName:null,dropOptionCode:null}], productTypeList:[{dropOptionName:null,dropOptionCode:null}],
sumCommissionAmount:null, sumCommissionAmount:null
} }
}, },
components:{}, components:{},
onLoad(){ onLoad(){
this.fortuneDate = common.getQueryString('fortuneDate'); this.fortuneDate = common.getQueryString('fortuneDate');
this.productType = common.getQueryString('productType'); this.productType = common.getQueryString('productType');
this.timeFlag = common.getQueryString('timeFlag'); this.timeFlag = common.getQueryString('timeFlag');
...@@ -143,13 +144,18 @@ ...@@ -143,13 +144,18 @@
} }
console.log(this.commissionTypeIdx) console.log(this.commissionTypeIdx)
}) })
},
// 查看订单详情
viewDetail(id){
uni.navigateTo({
url:`/pages/orderDetail/orderDetail?id=${id}`
})
} }
} }
} }
</script> </script>
<style lang="scss"> <style lang="scss">
.container{ .container{
.top{ .top{
padding: 30rpx; padding: 30rpx;
...@@ -204,4 +210,4 @@ ...@@ -204,4 +210,4 @@
} }
} }
</script> </style>
\ No newline at end of file \ No newline at end of file
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