Commit a00f7338 by 张立顺

fix 样式

1 parent 01585592
......@@ -6,7 +6,7 @@
color: #8A8C90;
overflow: scroll;
margin: 0 var(--fontSize20);
padding-bottom: 30rpx;
padding-bottom: 120rpx;
.tabContainer {
height: 100rpx;
......
......@@ -9,9 +9,9 @@ function formatYMDHM(val) {
const yyyy = d.getFullYear()
const MM = String(d.getMonth() + 1).padStart(2, '0')
const DD = String(d.getDate()).padStart(2, '0')
const HH = String(d.getHours()).padStart(2, '0')
const mm = String(d.getMinutes()).padStart(2, '0')
return `${yyyy}-${MM}-${DD} ${HH}:${mm}`
// const HH = String(d.getHours()).padStart(2, '0')
// const mm = String(d.getMinutes()).padStart(2, '0')
return `${yyyy}-${MM}-${DD}`
}
Page({
/**
......@@ -60,12 +60,12 @@ Page({
const mapExpected = arr =>
Array.isArray(arr)
? arr.map(item => ({
...item,
expectedOperationDateFormatted: formatYMDHM(
item.expectedOperationDate
),
signedTimeFormatted: formatYMDHM(item.signedTime)
}))
...item,
expectedOperationDateFormatted: formatYMDHM(
item.expectedOperationDate
),
signedTimeFormatted: formatYMDHM(item.signedTime)
}))
: []
const _backstop = mapExpected(backstopWarningList)
const _lostShop = mapExpected(lostShopWarningList)
......@@ -122,8 +122,8 @@ Page({
e.detail == 0
? backstopWarningList
: e.detail == 1
? lostShopWarningList
: lossWarningList
? lostShopWarningList
: lossWarningList
this.setData({
activeIndex: e.detail,
list: list || []
......@@ -151,40 +151,40 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {},
onLoad(options) { },
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {},
onReady() { },
/**
* 生命周期函数--监听页面显示
*/
onShow() {},
onShow() { },
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {},
onHide() { },
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {},
onUnload() { },
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {},
onPullDownRefresh() { },
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {},
onReachBottom() { },
/**
* 用户点击右上角分享
*/
onShareAppMessage() {}
onShareAppMessage() { }
})
......@@ -105,7 +105,7 @@
// flex: 1;
color: #292d33;
font-size: 32rpx;
font-weight: 500;
font-weight: 600;
// width: 100%;
// width: 120rpx;
// height: 50rpx;
......@@ -131,22 +131,24 @@
.newStore {
box-sizing: border-box;
display: inline-block;
background: #347bff14;
border-radius: 4rpx;
color: #347bff;
background: #35c37614;
color: #35C376;
font-size: 22rpx;
margin-right: 10rpx;
line-height: 40rpx;
padding: 0rpx 8rpx;
font-weight: 500;
}
.oldStore {
box-sizing: border-box;
display: inline-block;
background: #35c37614;
background: #347bff14;
color: #347bff;
border-radius: 4rpx;
line-height: 40rpx;
color: #35C376;
font-weight: 500;
font-size: 22rpx;
margin-right: 10rpx;
line-height: 40rpx;
......
......@@ -25,9 +25,9 @@
.icon {
width: 32rpx;
height: 32rpx;
margin-left: 3rpx;
margin-left: 5rpx;
// 旋转90度
transform: rotate(45deg);
// transform: rotate(45deg);
// margin-left: 8rpx;
}
......@@ -154,7 +154,7 @@
color: #757b85;
line-height: 56rpx;
text-align: center;
margin-right: 16px;
margin-right: 16rpx;
}
.active {
......@@ -596,9 +596,9 @@
margin-left: auto;
.icon {
margin-top: 5rpx;
width: 24rpx;
height: 24rpx;
display: inline-block;
width: 32rpx;
height: 32rpx;
}
}
......
......@@ -219,8 +219,9 @@
margin-left: auto;
.icon {
width: 24rpx;
height: 24rpx;
display: inline-block;
width: 32rpx;
height: 32rpx;
}
}
......
......@@ -217,6 +217,7 @@
.date {
color: #5a5e66;
margin-left: 16rpx;
margin-top: 4rpx;
}
}
......@@ -227,9 +228,8 @@
.icon {
display: inline-block;
margin-top: 5rpx;
width: 24rpx;
height: 24rpx;
width: 32rpx;
height: 32rpx;
}
}
......
......@@ -72,8 +72,8 @@
margin-left: auto;
.icon {
margin-top: 4rpx;
width: 24rpx;
height: 24rpx;
display: inline-block;
width: 32rpx;
height: 32rpx;
}
}
\ 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!