Commit 0117dda4 by zhangzhen

细节优化

parent 7c40d20a
...@@ -121,10 +121,10 @@ import moment from "@/common/moment"; ...@@ -121,10 +121,10 @@ import moment from "@/common/moment";
6:'已下架' 6:'已下架'
}, },
colorEnum:{ colorEnum:{
0:"#6fc544", 0:"#02F6FF",
1:"#e7a646", 1:"#e51771",
2:"#4aa3ff", 2:"#aaaaaa",
3:"#ff494e", 3:"#EE8A1A",
4:"#ff49ef", 4:"#ff49ef",
5:"#ff0000", 5:"#ff0000",
6:"#999999", 6:"#999999",
...@@ -133,22 +133,22 @@ import moment from "@/common/moment"; ...@@ -133,22 +133,22 @@ import moment from "@/common/moment";
{ {
label:"空闲中", label:"空闲中",
status:0, status:0,
color:"#6fc544" color:"#02F6FF"
}, },
{ {
label:"使用中", label:"使用中",
status:1, status:1,
color:"#e7a646" color:"#e51771"
}, },
{ {
label:"维护中", label:"维护中",
status:2, status:2,
color:"#4aa3ff" color:"#aaaaaa"
}, },
{ {
label:"待保洁", label:"待保洁",
status:3, status:3,
color:"#ff49ef" color:"#EE8A1A"
}, },
{ {
label:"保洁中", label:"保洁中",
......
...@@ -229,7 +229,7 @@ ...@@ -229,7 +229,7 @@
</uni-popup> </uni-popup>
<LoginPop ref="loginPop" /> <!-- <LoginPop ref="loginPop" /> -->
<f-tabbar></f-tabbar> <f-tabbar></f-tabbar>
</view> </view>
</template> </template>
...@@ -237,7 +237,7 @@ ...@@ -237,7 +237,7 @@
<script> <script>
import fTabbar from '@/components/module/f-tabbar/f-tabbar'; import fTabbar from '@/components/module/f-tabbar/f-tabbar';
import fNavbar from '@/components/module/f-navbar/f-navbar'; import fNavbar from '@/components/module/f-navbar/f-navbar';
import LoginPop from "@/components/login/login" // import LoginPop from "@/components/login/login"
import { import {
login, login,
dictList, dictList,
...@@ -261,7 +261,7 @@ ...@@ -261,7 +261,7 @@
fTabbar, fTabbar,
fNavbar, fNavbar,
ToolBox, ToolBox,
LoginPop // LoginPop
}, },
data() { data() {
return { return {
...@@ -367,7 +367,7 @@ ...@@ -367,7 +367,7 @@
this.onSetShowPoint(); this.onSetShowPoint();
// 隐藏原生的tabbar // 隐藏原生的tabbar
uni.hideTabBar(); uni.hideTabBar();
this.$refs.loginPop.open(); // this.$refs.loginPop.open();
}, },
methods: { methods: {
onStoreChage(id) { onStoreChage(id) {
......
...@@ -355,7 +355,7 @@ ...@@ -355,7 +355,7 @@
listSortDistance({ listSortDistance({
storeId: this.orderInfo.storeId, storeId: this.orderInfo.storeId,
roomId: this.orderInfo.roomId, roomId: this.orderInfo.roomId,
day: this.orderInfo.endDate, day: this.orderInfo.status ==1 ? this.orderInfo.endDate: moment().format("YYYY-MM-DD"),
orderType:2, orderType:2,
orderId: this.orderInfo.id orderId: this.orderInfo.id
}).then(res=>{ }).then(res=>{
......
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