Commit df5fec87 by 张立顺

fix bug

1 parent 4d24627c
......@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布
* 5cdptest
*/
let index = 2;
let index = 0;
const accountInfo = wx.getAccountInfoSync();
const systemInfo = wx.getSystemInfoSync();
const envName = accountInfo.miniProgram.envVersion;
......
......@@ -778,7 +778,7 @@
.modatcontent {
box-sizing: border-box;
padding: var(--fontSize48) var(--fontSize50);
padding: var(--fontSize48) 0;
}
.modal text,
......
......@@ -223,6 +223,7 @@
font-size: 28rpx;
color: #292D33;
padding-left: 24rpx;
margin: 0 auto;
&+.modalbox {
margin-top: 16rpx;
......@@ -238,5 +239,5 @@
.modatcontent {
box-sizing: border-box;
padding: var(--fontSize48) var(--fontSize50);
padding: var(--fontSize48) 0;
}
\ No newline at end of file
/* tabMine/pages/index/index.wxss */
\ No newline at end of file
......@@ -145,7 +145,7 @@
<image class="icon_image" src="{{IMG_URL}}mine_icon_7.png" mode="" />
</view> -->
</view>
<view class="logout-box">
<view class="logout-box {{!isForbidden?'fixbtn':''}}">
<view class="logout text-center" bindtap="logout">退出账号</view>
<view class="message-box">
<!-- <view class="message">为保障你的合法权益,请阅读并同意</view> -->
......
......@@ -488,4 +488,10 @@ page {
.message-box text {
color: #5092FF;
}
.fixbtn {
position: fixed;
bottom: 100rpx;
width: 100%;
}
\ No newline at end of file
......@@ -575,7 +575,7 @@ page {
font-size: 28rpx;
color: #292D33;
padding-left: 24rpx;
margin: 0 auto;
&+.modalbox {
margin-top: 16rpx;
}
......@@ -590,5 +590,5 @@ page {
.modatcontent {
box-sizing: border-box;
padding: var(--fontSize48) var(--fontSize50);
padding: var(--fontSize48) 0;
}
\ No newline at end of file
......@@ -383,7 +383,7 @@ page {
font-size: 28rpx;
color: #292D33;
padding-left: 24rpx;
margin: 0 auto;
&+.modalbox {
margin-top: 16rpx;
}
......@@ -398,5 +398,5 @@ page {
.modatcontent {
box-sizing: border-box;
padding: var(--fontSize48) var(--fontSize50);
padding: var(--fontSize48) 0;
}
\ No newline at end of file
......@@ -1292,7 +1292,7 @@ page ::-webkit-scrollbar {
font-size: 28rpx;
color: #292D33;
padding-left: 24rpx;
margin: 0 auto;
&+.modalbox {
margin-top: 16rpx;
}
......@@ -1307,5 +1307,5 @@ page ::-webkit-scrollbar {
.modatcontent {
box-sizing: border-box;
padding: var(--fontSize48) var(--fontSize50);
padding: var(--fontSize48) 0;
}
\ No newline at end of file
......@@ -98,7 +98,7 @@ Page({
});
}
},
error: () => {},
error: () => { },
},
"#modal3"
);
......@@ -121,8 +121,8 @@ Page({
item.status == 3
? "confirmOrder"
: item.status == 1
? "createOrder"
: "orderDetail";
? "createOrder"
: "orderDetail";
if (item.constructionFlag == "Y" && item.status != 10) {
wx.$router.go("constructionOrderDetail", item);
} else {
......@@ -152,7 +152,10 @@ Page({
});
},
// 确定是否要显示
targetError() {
async targetError() {
// 校验是否填写昨日日报
let staffCheck = await checkDailyReport();
if (staffCheck) return false;
wx.$modal(this, {
show: true,
title: "工单标记",
......@@ -160,7 +163,7 @@ Page({
success: (res) => {
this.showErrorType();
},
error: () => {},
error: () => { },
});
},
// 确定是否要显示
......@@ -206,7 +209,7 @@ Page({
});
}
},
error: () => {},
error: () => { },
},
"#modal2"
);
......@@ -406,9 +409,8 @@ Page({
if (data.orderTime)
data.time = new Date(data.orderTime).format("yyyy-MM-dd hh:mm:ss");
if (data.customer && data.customer.carSeriesName) {
data.carType = `${data.customer.carBrand || ""}-${
data.customer.carChildsBrandName || ""
}-${data.customer.carSeriesName || ""}`;
data.carType = `${data.customer.carBrand || ""}-${data.customer.carChildsBrandName || ""
}-${data.customer.carSeriesName || ""}`;
}
// 处理订单是否显示 操作按钮 支付方式为pos和微信 并且订单状态是 4和6
// data.failureFlag != 'Y'
......@@ -526,7 +528,7 @@ Page({
});
}
});
} catch (err) {}
} catch (err) { }
},
isArtificer(data) {
let { customerObj, orderInfo } = this.data;
......@@ -568,7 +570,7 @@ Page({
warrantyCardList,
});
})
.catch((err) => {});
.catch((err) => { });
}, 500 * index);
});
},
......@@ -737,7 +739,7 @@ Page({
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {},
onReady: function () { },
/**
* 生命周期函数--监听页面显示
......@@ -750,20 +752,20 @@ Page({
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {},
onHide: function () { },
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {},
onUnload: function () { },
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {},
onPullDownRefresh: function () { },
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {},
onReachBottom: function () { },
});
......@@ -737,7 +737,7 @@ page {
.modatcontent {
box-sizing: border-box;
padding: var(--fontSize48) var(--fontSize50);
padding: var(--fontSize48) 0;
}
.modal text,
......@@ -778,6 +778,7 @@ page {
font-size: 28rpx;
color: #292D33;
padding-left: 24rpx;
margin: 0 auto;
&+.modalbox {
margin-top: 16rpx;
......@@ -907,6 +908,7 @@ page {
font-size: 28rpx;
color: #292D33;
padding-left: 24rpx;
margin: 0 auto;
&+.modalbox {
margin-top: 16rpx;
......@@ -922,5 +924,5 @@ page {
.modatcontent {
box-sizing: border-box;
padding: var(--fontSize48) var(--fontSize50);
padding: var(--fontSize48) 0;
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!