Commit 7875b2fe authored by xiangzj's avatar xiangzj

UI优化

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