order-search.vue 598 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <view class="order-search">
  3. <cm-search v-model="keyword"></cm-search>
  4. </view>
  5. </template>
  6. <script>
  7. import CmSearch from '@/components/cm-module/cm-search/cm-search.vue'
  8. export default {
  9. components:{
  10. CmSearch
  11. },
  12. data() {
  13. return {
  14. keyword: ''
  15. }
  16. },
  17. watch:{
  18. keyword(nVal){
  19. console.log(nVal)
  20. }
  21. },
  22. methods:{
  23. handleSearch(){
  24. }
  25. }
  26. }
  27. </script>
  28. <style lang="scss" scoped>
  29. .order-search{
  30. min-height: 100vh;
  31. background: #F7F7F7;
  32. }
  33. </style>