Commit a00f7338 by 张立顺

fix 样式

1 parent 01585592
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
color: #8A8C90; color: #8A8C90;
overflow: scroll; overflow: scroll;
margin: 0 var(--fontSize20); margin: 0 var(--fontSize20);
padding-bottom: 30rpx; padding-bottom: 120rpx;
.tabContainer { .tabContainer {
height: 100rpx; height: 100rpx;
......
...@@ -9,9 +9,9 @@ function formatYMDHM(val) { ...@@ -9,9 +9,9 @@ function formatYMDHM(val) {
const yyyy = d.getFullYear() const yyyy = d.getFullYear()
const MM = String(d.getMonth() + 1).padStart(2, '0') const MM = String(d.getMonth() + 1).padStart(2, '0')
const DD = String(d.getDate()).padStart(2, '0') const DD = String(d.getDate()).padStart(2, '0')
const HH = String(d.getHours()).padStart(2, '0') // const HH = String(d.getHours()).padStart(2, '0')
const mm = String(d.getMinutes()).padStart(2, '0') // const mm = String(d.getMinutes()).padStart(2, '0')
return `${yyyy}-${MM}-${DD} ${HH}:${mm}` return `${yyyy}-${MM}-${DD}`
} }
Page({ Page({
/** /**
...@@ -60,12 +60,12 @@ Page({ ...@@ -60,12 +60,12 @@ Page({
const mapExpected = arr => const mapExpected = arr =>
Array.isArray(arr) Array.isArray(arr)
? arr.map(item => ({ ? arr.map(item => ({
...item, ...item,
expectedOperationDateFormatted: formatYMDHM( expectedOperationDateFormatted: formatYMDHM(
item.expectedOperationDate item.expectedOperationDate
), ),
signedTimeFormatted: formatYMDHM(item.signedTime) signedTimeFormatted: formatYMDHM(item.signedTime)
})) }))
: [] : []
const _backstop = mapExpected(backstopWarningList) const _backstop = mapExpected(backstopWarningList)
const _lostShop = mapExpected(lostShopWarningList) const _lostShop = mapExpected(lostShopWarningList)
...@@ -122,8 +122,8 @@ Page({ ...@@ -122,8 +122,8 @@ Page({
e.detail == 0 e.detail == 0
? backstopWarningList ? backstopWarningList
: e.detail == 1 : e.detail == 1
? lostShopWarningList ? lostShopWarningList
: lossWarningList : lossWarningList
this.setData({ this.setData({
activeIndex: e.detail, activeIndex: e.detail,
list: list || [] list: list || []
...@@ -151,40 +151,40 @@ Page({ ...@@ -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 @@ ...@@ -105,7 +105,7 @@
// flex: 1; // flex: 1;
color: #292d33; color: #292d33;
font-size: 32rpx; font-size: 32rpx;
font-weight: 500; font-weight: 600;
// width: 100%; // width: 100%;
// width: 120rpx; // width: 120rpx;
// height: 50rpx; // height: 50rpx;
...@@ -131,22 +131,24 @@ ...@@ -131,22 +131,24 @@
.newStore { .newStore {
box-sizing: border-box; box-sizing: border-box;
display: inline-block; display: inline-block;
background: #347bff14;
border-radius: 4rpx; border-radius: 4rpx;
color: #347bff; background: #35c37614;
color: #35C376;
font-size: 22rpx; font-size: 22rpx;
margin-right: 10rpx; margin-right: 10rpx;
line-height: 40rpx; line-height: 40rpx;
padding: 0rpx 8rpx; padding: 0rpx 8rpx;
font-weight: 500;
} }
.oldStore { .oldStore {
box-sizing: border-box; box-sizing: border-box;
display: inline-block; display: inline-block;
background: #35c37614; background: #347bff14;
color: #347bff;
border-radius: 4rpx; border-radius: 4rpx;
line-height: 40rpx; line-height: 40rpx;
color: #35C376; font-weight: 500;
font-size: 22rpx; font-size: 22rpx;
margin-right: 10rpx; margin-right: 10rpx;
line-height: 40rpx; line-height: 40rpx;
......
...@@ -25,9 +25,9 @@ ...@@ -25,9 +25,9 @@
.icon { .icon {
width: 32rpx; width: 32rpx;
height: 32rpx; height: 32rpx;
margin-left: 3rpx; margin-left: 5rpx;
// 旋转90度 // 旋转90度
transform: rotate(45deg); // transform: rotate(45deg);
// margin-left: 8rpx; // margin-left: 8rpx;
} }
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
color: #757b85; color: #757b85;
line-height: 56rpx; line-height: 56rpx;
text-align: center; text-align: center;
margin-right: 16px; margin-right: 16rpx;
} }
.active { .active {
...@@ -596,9 +596,9 @@ ...@@ -596,9 +596,9 @@
margin-left: auto; margin-left: auto;
.icon { .icon {
margin-top: 5rpx; display: inline-block;
width: 24rpx; width: 32rpx;
height: 24rpx; height: 32rpx;
} }
} }
......
...@@ -219,8 +219,9 @@ ...@@ -219,8 +219,9 @@
margin-left: auto; margin-left: auto;
.icon { .icon {
width: 24rpx; display: inline-block;
height: 24rpx; width: 32rpx;
height: 32rpx;
} }
} }
......
...@@ -217,6 +217,7 @@ ...@@ -217,6 +217,7 @@
.date { .date {
color: #5a5e66; color: #5a5e66;
margin-left: 16rpx; margin-left: 16rpx;
margin-top: 4rpx;
} }
} }
...@@ -227,9 +228,8 @@ ...@@ -227,9 +228,8 @@
.icon { .icon {
display: inline-block; display: inline-block;
margin-top: 5rpx; width: 32rpx;
width: 24rpx; height: 32rpx;
height: 24rpx;
} }
} }
......
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
margin-left: auto; margin-left: auto;
.icon { .icon {
margin-top: 4rpx; display: inline-block;
width: 24rpx; width: 32rpx;
height: 24rpx; height: 32rpx;
} }
} }
\ No newline at end of file \ 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!