Commit 0e503dcd authored by qipeng's avatar qipeng

订单信息优化显示

parent c71f1b47
...@@ -151,13 +151,13 @@ ...@@ -151,13 +151,13 @@
</view> </view>
</view> </view>
<view class="order-mes order-allType order-positionTop"> <view class="order-mes order-allType order-positionTop">
<view class="alltype-title"> <view class="alltype-title" @click="orderTypeNumFun()">
<!-- <view class="title-line"> <!-- <view class="title-line">
<view></view> <view></view>
</view> --> </view> -->
<view class="title-label">订单信息</view> <view class="title-label">订单信息</view>
<u-icon name="arrow-down" v-if="orderTypeNum==0" @click="orderTypeNum=1" style="color: #999999 !important;"></u-icon> <u-icon name="arrow-down" v-if="orderTypeNum==0" style="color: #999999 !important;"></u-icon>
<u-icon name="arrow-up" v-if="orderTypeNum==1" @click="orderTypeNum=0" style="color: #999999 !important;"></u-icon> <u-icon name="arrow-up" v-if="orderTypeNum==1" style="color: #999999 !important;"></u-icon>
</view> </view>
<view class="mes-box" v-if="orderTypeNum==1"> <view class="mes-box" v-if="orderTypeNum==1">
<view class="box-case"> <view class="box-case">
...@@ -483,8 +483,8 @@ ...@@ -483,8 +483,8 @@
this.ifyukuaiCode = option.ifyukuaiCode||'' this.ifyukuaiCode = option.ifyukuaiCode||''
//this.id = "z00167956572219584dc15634b62cf75" //this.id = "z00167956572219584dc15634b62cf75"
this.openId = uni.getStorageSync("openid") //openid oroHZ5FaUQ_SOOC_uQQP92fJpBRE oh2UV1lyYABHMZ1rMlgjhVHyyYDQ //this.openId = uni.getStorageSync("openid") //openid oroHZ5FaUQ_SOOC_uQQP92fJpBRE oh2UV1lyYABHMZ1rMlgjhVHyyYDQ
//this.openId = "oh2UV1lyYABHMZ1rMlgjhVHyyYDQ" this.openId = "oh2UV1lyYABHMZ1rMlgjhVHyyYDQ"
this.getDetail(); this.getDetail();
}, },
...@@ -502,6 +502,13 @@ ...@@ -502,6 +502,13 @@
}) })
}, },
methods: { methods: {
orderTypeNumFun(){
if(this.orderTypeNum==0){
this.orderTypeNum=1
}else{
this.orderTypeNum=0
}
},
getDetail(){//*-----------------加载订单 getDetail(){//*-----------------加载订单
var postHttpUrl = ''; var postHttpUrl = '';
let data = {} let data = {}
......
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