Commit 8d52613a authored by Morson's avatar Morson

页面样式微调

parent 0e74b5fe
......@@ -62,7 +62,7 @@
</view>
</view>
<view class="bottom-view">
<button class="btn, bottom-btn" @click="submitForm" :loading="submiting" :disabled="disabledSubmit"><text class="button-text">确定</text></button>
<button class="btn, bottom-btn" @click="$u.throttle(submitForm, 500)" :loading="submiting" :disabled="disabledSubmit"><text class="button-text">确定</text></button>
</view>
</view>
</template>
......@@ -342,6 +342,7 @@ export default {
self.submiting = false;
if(res && res.code == 200) {
self.$u.route({
type: 'redirect',
url: 'pages/order/detail',
params: {
id: self.orderId
......
......@@ -5,7 +5,7 @@
<u-search
v-model="search.keyword"
bg-color="#FFFFFF"
placeholder="搜订单"
placeholder="搜索:工单号·用户姓名·手机号·地址"
search-icon-color="#999999"
color="#333333"
placeholder-color="#999999"
......@@ -18,6 +18,7 @@
'font-weight': 500,
'color': '#2272FF'
}"
:focus="true"
@search="searchOrder"
@custom="searchOrder"
></u-search>
......@@ -77,8 +78,12 @@
},
// 页面数据
getOrderList() {
let self = this;
if(!self.search.keyword) {
return false
}
// 状态处理
var self = this;
self.search.pageNumber += 1
self.$u.api.listOrder(self.search).then((res) => {
if (res.code == 200) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment