完善预约待分配状态与月历工具栏布局
This commit is contained in:
@@ -53,7 +53,7 @@ async function run() {
|
||||
assert.ok(toolbarMarkup[1].indexOf('month-mode-switch') < toolbarMarkup[1].indexOf('row-name-switch'))
|
||||
const toolbarControlsStyle = planningWxss.match(/\.month-toolbar-controls\s*\{([^}]*)\}/)
|
||||
assert.ok(toolbarControlsStyle)
|
||||
assert.doesNotMatch(toolbarControlsStyle[1], /margin-left:\s*auto/)
|
||||
assert.match(toolbarControlsStyle[1], /margin-left:\s*auto/)
|
||||
|
||||
assert.deepStrictEqual(definition.data.viewModes.map(item => item.value), ['month', 'week', 'day'])
|
||||
assert.strictEqual(definition.data.viewMode, 'month')
|
||||
|
||||
@@ -540,6 +540,7 @@
|
||||
|
||||
.month-toolbar-title {
|
||||
flex: 0 0 auto;
|
||||
margin-right: auto;
|
||||
color: #615a51;
|
||||
font-size: 24rpx;
|
||||
font-weight: 800;
|
||||
@@ -550,6 +551,7 @@
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
gap: 12rpx;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.month-mode-switch {
|
||||
|
||||
Reference in New Issue
Block a user