Commit 995eccad by 张立顺

fix bug

1 parent 31086533
......@@ -152,7 +152,7 @@ Page({
})
}
},
error: () => {}
error: () => { }
},
'#modal2'
)
......@@ -263,8 +263,8 @@ Page({
} else if (userType == 2) {
item
? this.showSelectType({
item
})
item
})
: wx.$router.go('tabWorkOrder.' + name, item)
} else {
wx.$util.showNoAccess()
......@@ -547,7 +547,7 @@ Page({
return (360 * Math.atan(_Y / _X)) / (2 * Math.PI)
},
init(userInfo) {},
init(userInfo) { },
search() {
wx.$orderListRefresh = false
let { searchObj, userInfo } = this.data
......@@ -665,12 +665,12 @@ Page({
let text = status[e.status].text
let color = status[e.status].color
let background = status[e.status].background
// 不是订单失效状态优先显示已施工
if (![9, 11, 12].includes(e.status) && e.constructionFlag == 'Y') {
text = '已施工'
color = '#347BFF'
background = '#F3F7FC'
}
// 不是订单失效状态优先显示已施工 现在不施工
// if (![9, 11, 12].includes(e.status) && e.constructionFlag == 'Y') {
// text = '已施工'
// color = '#347BFF'
// background = '#F3F7FC'
// }
e.statusText = text
e.statuscolor = color
e.statusbackground = background
......@@ -851,7 +851,7 @@ Page({
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {},
onReady: function () { },
/**
* 生命周期函数--监听页面显示
......@@ -863,22 +863,22 @@ Page({
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {},
onHide: function () { },
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {},
onUnload: function () { },
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {},
onPullDownRefresh: function () { },
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {},
onReachBottom: function () { },
scrollonReachBottom() {
let { total, pageNum } = this.data
wx.$util.onReachBottom(
......@@ -901,5 +901,5 @@ Page({
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {}
onShareAppMessage: function () { }
})
......@@ -247,6 +247,25 @@ page {
background-size: 100%;
}
.list .item .goods-list .pullDownArrow::after {
width: var(--fontSize32);
height: var(--fontSize32);
-webkit-transition: all 0.4s;
transition: all 0.4s;
background: url(https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/pullDownArrow.png);
background-size: 100%;
}
.list .item .goods-list .showAllGoodsListFlag::after {
// width: var(--fontSize32);
transform: rotate(180deg);
// height: var(--fontSize32);
// -webkit-transition: all 0.4s;
transition: all 0.4s;
// background: url(https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/pullDownArrow.png);
// background-size: 100%;
}
.list .item .goods-list .goods .goods-name {
font-size: var(--fontSize28);
// color: #292D33;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!