Commit e0799b5c by sunchao

积分详情跳转到订单详情

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