diff --git a/mobile-h5/pages.json b/mobile-h5/pages.json index 178663fe..69d648b2 100644 --- a/mobile-h5/pages.json +++ b/mobile-h5/pages.json @@ -75,20 +75,24 @@ { "path": "pages/oa/drafts/index", "style": { + "navigationStyle": "custom", "navigationBarTitleText": "草稿箱", "navigationBarBackgroundColor": "#ecfdf5", "navigationBarTextStyle": "black", "enablePullDownRefresh": true, + "onReachBottomDistance": 80, "backgroundTextStyle": "dark" } }, { "path": "pages/oa/pending/index", "style": { + "navigationStyle": "custom", "navigationBarTitleText": "待办中心", "navigationBarBackgroundColor": "#ecfdf5", "navigationBarTextStyle": "black", "enablePullDownRefresh": true, + "onReachBottomDistance": 80, "backgroundTextStyle": "dark" } }, @@ -99,6 +103,7 @@ "navigationBarBackgroundColor": "#ecfdf5", "navigationBarTextStyle": "black", "enablePullDownRefresh": true, + "onReachBottomDistance": 80, "backgroundTextStyle": "dark" } }, @@ -109,16 +114,17 @@ "navigationBarBackgroundColor": "#ecfdf5", "navigationBarTextStyle": "black", "enablePullDownRefresh": true, + "onReachBottomDistance": 80, "backgroundTextStyle": "dark" } }, { "path": "pages/oa/cc/index", "style": { + "navigationStyle": "custom", "navigationBarTitleText": "抄送我的", - "navigationBarBackgroundColor": "#ecfdf5", - "navigationBarTextStyle": "black", "enablePullDownRefresh": true, + "onReachBottomDistance": 80, "backgroundTextStyle": "dark" } }, diff --git a/mobile-h5/styles/components/oa-task-list.scss b/mobile-h5/styles/components/oa-task-list.scss index 12fcb02f..ee52e0d8 100644 --- a/mobile-h5/styles/components/oa-task-list.scss +++ b/mobile-h5/styles/components/oa-task-list.scss @@ -18,8 +18,15 @@ font-size: 28rpx; } +.oa-empty-wrap { + padding: 48rpx 24rpx 32rpx; + box-sizing: border-box; +} + .oa-task-card { position: relative; + width: 100%; + box-sizing: border-box; margin-bottom: 24rpx; border-radius: var(--radius-card, 28rpx); background: var(--surface, #fff); @@ -127,20 +134,22 @@ .oa-task-card__footer { display: flex; - flex-wrap: wrap; - justify-content: flex-end; + flex-wrap: nowrap; + align-items: stretch; gap: 16rpx; padding: 16rpx 24rpx 24rpx; border-top: 1rpx dashed rgba(140, 170, 155, 0.28); + box-sizing: border-box; } .oa-task-card__btn { + flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 72rpx; - min-width: 128rpx; - padding: 0 28rpx; + min-width: 0; + padding: 0 16rpx; box-sizing: border-box; border-radius: 16rpx; font-size: 26rpx; @@ -171,3 +180,33 @@ opacity: 0.45; pointer-events: none; } + +/* 钉钉风列表卡 · 左上折角序号(五中心共用) */ +.dd-card { + position: relative; + overflow: hidden; +} + +.dd-card__corner { + position: absolute; + top: 0; + left: 0; + width: 0; + height: 0; + border-style: solid; + border-width: 68rpx 68rpx 0 0; + border-color: #0a9f6d transparent transparent transparent; + pointer-events: none; + z-index: 1; +} + +.dd-card__corner-num { + position: absolute; + top: -60rpx; + left: 8rpx; + font-size: 20rpx; + font-weight: 800; + line-height: 1; + color: #fff; + letter-spacing: -0.02em; +}