Commit f9620873 authored by Facius's avatar Facius

工单cell 增加location传参

parent ac5f81fd
...@@ -32,7 +32,8 @@ ...@@ -32,7 +32,8 @@
<u-count-down :timestamp="orderData.currentWillOverTime || orderData.currentOverTime" font-size="44" <u-count-down :timestamp="orderData.currentWillOverTime || orderData.currentOverTime" font-size="44"
color="#FF930D" @change="handleChange" ref="order-count-down"></u-count-down> color="#FF930D" @change="handleChange" ref="order-count-down"></u-count-down>
</view> </view>
<u-button class="right-btn" @click.stop="handleClick" :custom-style="buttonStyle" type="primary" shape="circle"> <u-button class="right-btn" @click.stop="handleClick" :custom-style="buttonStyle" type="primary"
shape="circle">
{{orderText}} {{orderText}}
</u-button> </u-button>
</view> </view>
...@@ -64,10 +65,10 @@ ...@@ -64,10 +65,10 @@
} }
}, },
orderType: Number, // 0:待接单 1:'去预约', 2:'去签到', 3:'去完工', 4:'审核中', 5:'去处理', 6'已完工' orderType: Number, // 0:待接单 1:'去预约', 2:'去签到', 3:'去完工', 4:'审核中', 5:'去处理', 6'已完工'
location: { location: { // 当前坐标
type: Array, type: Array,
default () { default () {
return [116.3896, 39.91917] return [116.3896, 39.91917] // 经度,纬度
} }
} }
}, },
...@@ -294,8 +295,6 @@ ...@@ -294,8 +295,6 @@
.address-right-view {} .address-right-view {}
} }
} }
.line-view { .line-view {
...@@ -310,6 +309,7 @@ ...@@ -310,6 +309,7 @@
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-top: 30rpx; margin-top: 30rpx;
.bottom-left-view { .bottom-left-view {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -323,6 +323,7 @@ ...@@ -323,6 +323,7 @@
font-size: 26rpx; font-size: 26rpx;
background-color: #FA5A49; background-color: #FA5A49;
margin-right: 20rpx; margin-right: 20rpx;
&.will { &.will {
background-color: #FF930D; background-color: #FF930D;
} }
......
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