页面优化
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-6">
|
||||
<view class="zd-col-5">
|
||||
<span class="filter_label">关键字</span>
|
||||
</view>
|
||||
<view class="zd-col-13">
|
||||
<search-box v-model="keyword"/>
|
||||
<view class="zd-col-14">
|
||||
<input type="text" placeholder="载具编码、任务号、起点、终点" class="filter_input" v-model="keyword">
|
||||
</view>
|
||||
<button class="mini-btn" type="primary" @tap="_queryTask">查询</button>
|
||||
</view>
|
||||
@@ -65,7 +65,7 @@
|
||||
data() {
|
||||
return {
|
||||
title: '',
|
||||
keyword: '',
|
||||
keyword: null,
|
||||
dataList: [],
|
||||
disabled1: false,
|
||||
disabled2: false,
|
||||
@@ -75,9 +75,11 @@
|
||||
},
|
||||
onLoad (options) {
|
||||
this.title = options.title
|
||||
this._queryTask()
|
||||
},
|
||||
methods: {
|
||||
handleFocus () {
|
||||
this.keyword = null
|
||||
},
|
||||
toJump (name) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/hdyy/tygn/${name}`
|
||||
|
||||
Reference in New Issue
Block a user