yujialong 2 years ago
parent ec58ad8bba
commit 4e3111305f
  1. 13
      App.vue
  2. 8
      order/orderDetail/orderDetail.vue
  3. 7
      pages/send/send.vue

@ -16,18 +16,7 @@
// //
updateManager.onUpdateReady(function (res) { updateManager.onUpdateReady(function (res) {
console.log('onUpdateReady', res); updateManager.applyUpdate()
uni.showModal({
title: '更新提示',
content: '新版本已经准备好,点击确定重新启动',
showCancel:false,
success(res) {
if (res.confirm) {
// applyUpdate
updateManager.applyUpdate();
}
}
});
}); });
updateManager.onUpdateFailed(function (res) { updateManager.onUpdateFailed(function (res) {

@ -189,6 +189,14 @@
err: '' err: ''
} }
}, },
watch: {
keyword () {
clearTimeout(this.searchTimer)
this.searchTimer = setTimeout(() => {
this.filterCustomer()
}, 500)
}
},
onShow() { onShow() {
const pages = getCurrentPages() const pages = getCurrentPages()
const { options } = pages[pages.length - 1] const { options } = pages[pages.length - 1]

@ -6,6 +6,7 @@
<uni-data-checkbox v-model="myVal" :localdata="checkList" @change="myChange"></uni-data-checkbox> <uni-data-checkbox v-model="myVal" :localdata="checkList" @change="myChange"></uni-data-checkbox>
<text>我的邮箱</text> <text>我的邮箱</text>
<uni-easyinput v-model="email" disabled /> <uni-easyinput v-model="email" disabled />
<view class="bind" @click="$util.to('../email/email')">绑定</view>
</view> </view>
<view class="line"> <view class="line">
<uni-data-checkbox v-model="otherVal" :localdata="checkList" @change="otherChange"></uni-data-checkbox> <uni-data-checkbox v-model="otherVal" :localdata="checkList" @change="otherChange"></uni-data-checkbox>
@ -95,4 +96,10 @@
margin: 0 10px 0 -20px; margin: 0 10px 0 -20px;
} }
} }
.bind {
margin-left: 20rpx;
font-size: 26rpx;
color: #1f83ff;
white-space: nowrap;
}
</style> </style>

Loading…
Cancel
Save