mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-06 16:36:44 +08:00
50 lines
947 B
Vue
50 lines
947 B
Vue
<template>
|
|
<div>
|
|
<van-search v-model="value" placeholder="请输入保单号/投保人姓名/被保险人姓名" />
|
|
<van-sticky>
|
|
<van-tabs v-model="active">
|
|
<van-tab title="未提交" />
|
|
<van-tab title="已提交" />
|
|
</van-tabs>
|
|
</van-sticky>
|
|
<div class="container">
|
|
<keep-alive>
|
|
<component :is="is" />
|
|
</keep-alive>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { Search, Sticky } from 'vant'
|
|
import Committed from './Committed'
|
|
import Uncommitted from './Uncommitted'
|
|
|
|
export default {
|
|
name: 'InsureAgain',
|
|
components: {
|
|
Committed,
|
|
Uncommitted,
|
|
[Search.name]: Search,
|
|
[Sticky.name]: Sticky
|
|
},
|
|
data() {
|
|
return {
|
|
active: 0,
|
|
value: ''
|
|
}
|
|
},
|
|
computed: {
|
|
is() {
|
|
if (this.active === 0) {
|
|
return 'Uncommitted'
|
|
} else {
|
|
return 'Committed'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped></style>
|