优化工单台页面
This commit is contained in:
parent
93026479d3
commit
439e689671
@ -13,9 +13,9 @@
|
||||
<image class="bg-image" src="http://localhost:8080/test.png" mode="aspectFill"></image>
|
||||
<!-- <input class="search-box" placeholder='输入工单号进入工单' confirm-type='search' @input="searchInput"
|
||||
@confirm="searchInput" :value="selectKeyWord" /> -->
|
||||
<view class="search-box">
|
||||
<!-- <view class="search-box">
|
||||
<text class="search-placeholder">输入工单号进入工单</text>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="work-order-section">
|
||||
<view v-for="(item, index) in 9" :key="index">
|
||||
|
||||
@ -987,6 +987,13 @@ export default {
|
||||
|
||||
toggleDropdown() {
|
||||
this.showDropdown = !this.showDropdown;
|
||||
// 当展开下拉菜单时,页面向上滑动50px
|
||||
if (this.showDropdown) {
|
||||
uni.pageScrollTo({
|
||||
scrollTop: 2500,
|
||||
duration: 300
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
selectCategoryFromDropdown(id) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user