Commit 7875b2fe authored by xiangzj's avatar xiangzj

UI优化

parent 2d6d7e19
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
</view> </view>
<view class="text-block-box text-block-box-last"> <view class="text-block-box text-block-box-last">
<view class="text-block text-block-last"> <view class="text-block text-block-last">
<view class="middle-date">{{INFO.ZZFLD000099==='X'?'是':'否'}} <view class="middle-date">{{DIYC==='X'?'是':'否'}}
<button class="diy-entry" type="default" @click="goDiyPage" v-if="INFO.ZZFLD000099==='X'"> <button class="diy-entry" type="default" @click="goDiyPage" v-if="DIYC==='X'">
<image class="diy-icon" src="../../static/image/address@3x.png" mode=""> <image class="diy-icon" src="../../static/image/address@3x.png" mode="">
</image> </image>
<text class="diy-entry-text">定制酒</text> <text class="diy-entry-text">定制酒</text>
...@@ -115,7 +115,6 @@ ...@@ -115,7 +115,6 @@
</view> </view>
</view> </view>
</view> </view>
<view class="float-btn-block"> <view class="float-btn-block">
<view class="float-btn" @click="handleShowReceiveDetail"> <view class="float-btn" @click="handleShowReceiveDetail">
<text class="float-btn__text">{{ishowReceiveDetail?'收起':'展示完整信息'}}</text> <text class="float-btn__text">{{ishowReceiveDetail?'收起':'展示完整信息'}}</text>
...@@ -175,6 +174,7 @@ ...@@ -175,6 +174,7 @@
ATTACHMENT: [] ATTACHMENT: []
}, },
receiveInfoHeight: '132', receiveInfoHeight: '132',
DIYC: ''
} }
}, },
computed: { computed: {
...@@ -210,11 +210,17 @@ ...@@ -210,11 +210,17 @@
}, },
methods: { methods: {
async getOrderDetail() { async getOrderDetail() {
const params = { try{
OBJECT_ID: this.orderItem.object_id const params = {
OBJECT_ID: this.orderItem.object_id
}
const res = await apiGetSalesOrderDetail(params)
this.orderDetail = res.DATA
this.DIYC = res.DIYC
}catch(e){
//TODO handle the exception
} }
const res = await apiGetSalesOrderDetail(params)
this.orderDetail = res.DATA
}, },
handleShowReceiveDetail() { handleShowReceiveDetail() {
this.ishowReceiveDetail = !this.ishowReceiveDetail this.ishowReceiveDetail = !this.ishowReceiveDetail
......
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
}, },
scrollHeight() { scrollHeight() {
return { return {
'height': `${this.sysinfo.safeArea.height - 297- 44 - 20}px` 'height': `${this.sysinfo.safeArea.height - 215 - 44 }px`
} }
} }
}, },
...@@ -284,7 +284,7 @@ ...@@ -284,7 +284,7 @@
flex-direction: column; flex-direction: column;
overflow-y: scroll; overflow-y: scroll;
background: #f0f4f5; background: #f0f4f5;
height: 100vh; // height: 100vh;
} }
.main { .main {
......
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