mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 07:06:44 +08:00
Merge branch 'feature/【GFRS-2215】重新投保' into dev
This commit is contained in:
10
src/main.js
10
src/main.js
@@ -132,7 +132,15 @@ permission()
|
|||||||
|
|
||||||
//ios点击300毫秒时延
|
//ios点击300毫秒时延
|
||||||
FastClick.attach(document.body)
|
FastClick.attach(document.body)
|
||||||
|
// 监听input弹窗滚动到可视区域
|
||||||
|
window.addEventListener('resize', function () {
|
||||||
|
if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') {
|
||||||
|
console.log('asdasdaaaaaaaaaaaa======================')
|
||||||
|
window.setTimeout(function () {
|
||||||
|
document.activeElement.scrollIntoViewIfNeeded()
|
||||||
|
}, 0)
|
||||||
|
}
|
||||||
|
})
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
new Vue({
|
new Vue({
|
||||||
router,
|
router,
|
||||||
|
|||||||
@@ -190,14 +190,6 @@ export default {
|
|||||||
})
|
})
|
||||||
}, 100)
|
}, 100)
|
||||||
window.appCallBack = this.appCallBack
|
window.appCallBack = this.appCallBack
|
||||||
window.addEventListener('resize', function () {
|
|
||||||
if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') {
|
|
||||||
console.log('asdasdaaaaaaaaaaaa======================')
|
|
||||||
window.setTimeout(function () {
|
|
||||||
document.activeElement.scrollIntoViewIfNeeded()
|
|
||||||
}, 0)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user