Commit 41fcf4c9 authored by Facius's avatar Facius

详情页面微调

parent 0faf2195
<template> <template>
<view class="order-wrap"> <view class="order-wrap">
<u-navbar :title="title" title-color="#FFFFFF" title-size="32" back-icon-color="#FFFFFF" :background="background" :border-bottom="false"></u-navbar> <u-navbar :title="title" title-color="#FFFFFF" title-size="32" back-icon-color="#FFFFFF" :background="background" :border-bottom="false" title-bold></u-navbar>
<view class="header" v-if="order.currentOverTime && showTimeOut"> <view class="header" v-if="order.currentOverTime && showTimeOut || loading">
<image class="bottom-tag-view" :src="tagImage"></image> <image class="bottom-tag-view" :src="tagImage"></image>
<!-- 倒计时 --> <!-- 倒计时 -->
<view class="title"> <view class="title">
...@@ -167,6 +167,7 @@ ...@@ -167,6 +167,7 @@
timeout: false, timeout: false,
timestamp: 0, timestamp: 0,
showFile: false, // 显示查看业务文件 showFile: false, // 显示查看业务文件
loading: true
} }
}, },
onLoad(option) { onLoad(option) {
...@@ -344,6 +345,7 @@ ...@@ -344,6 +345,7 @@
'orderId': self.orderId 'orderId': self.orderId
}; };
self.$u.api.orderDetail(data, self.orderId).then((res) => { self.$u.api.orderDetail(data, self.orderId).then((res) => {
this.loading = false
if (res.code == 200) { if (res.code == 200) {
self.order = res.data self.order = res.data
this.getCurrentBtn() this.getCurrentBtn()
......
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