style(escort): 预约表单行标签加浅底tag,医院下拉补遮罩与收起入口
- 行标题统一 190rpx 浅橙底 tag,整列对齐 - 医院下拉展开时加全屏遮罩,点空白处收起 - 下拉面板改白底橙边,收起文案换箭头图标,列表加高到 6 行 - 各 picker 补下拉箭头,行分隔线改点分线,底部占位加高避开固定栏
This commit is contained in:
@@ -60,7 +60,7 @@ Component({
|
||||
methods: {
|
||||
refreshFiltered(options = this.data.options, keyword = this.data.keyword) {
|
||||
const filtered = filterHospitals(options, keyword)
|
||||
const visibleRows = Math.min(filtered.length, 4)
|
||||
const visibleRows = Math.min(filtered.length, 6)
|
||||
this.setData({
|
||||
filtered,
|
||||
optionsHeight: visibleRows * OPTION_HEIGHT,
|
||||
@@ -112,6 +112,9 @@ Component({
|
||||
this.setData({ open: false, keyword: '', optionsHeight: 0, manualEntry: false })
|
||||
},
|
||||
|
||||
// 遮罩占位:catchtouchmove 阻止穿透滚动页面
|
||||
noop() {},
|
||||
|
||||
onKeywordInput(e) {
|
||||
const keyword = e.detail.value
|
||||
this.setData({ keyword })
|
||||
|
||||
Reference in New Issue
Block a user