index.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <template>
  2. <div>
  3. <el-row>
  4. <el-col span="24">
  5. <div>
  6. <el-input placeholder="请输入内容" v-model="input1">
  7. <template slot="prepend">Http://</template>
  8. </el-input>
  9. </div>
  10. <div style="margin-top: 15px;">
  11. <el-input placeholder="请输入内容" v-model="input2">
  12. <template slot="append">.com</template>
  13. </el-input>
  14. </div>
  15. <div style="margin-top: 15px;">
  16. <el-input placeholder="请输入内容" v-model="input3" class="input-with-select">
  17. <el-select v-model="select" slot="prepend" placeholder="请选择">
  18. <el-option label="餐厅名" value="1"></el-option>
  19. <el-option label="订单号" value="2"></el-option>
  20. <el-option label="用户电话" value="3"></el-option>
  21. </el-select>
  22. <el-button slot="append" icon="el-icon-search"></el-button>
  23. </el-input>
  24. </div>
  25. </el-col>
  26. </el-row>
  27. <el-row>
  28. <el-col span="1"></el-col>
  29. <el-col span="22">
  30. <el-table border>
  31. <el-table-column prop="time" label="时间"></el-table-column>
  32. <el-table-column prop="abstract" label="编队号"></el-table-column>
  33. <el-table-column prop="abstract" label="长机平台"></el-table-column>
  34. <el-table-column prop="abstract" label="摘要"></el-table-column>
  35. </el-table>
  36. </el-col>
  37. <el-col span="1"></el-col>
  38. </el-row>
  39. </div>
  40. </template>
  41. <script>
  42. export default {
  43. data() {
  44. return {
  45. username: '',
  46. password: '',
  47. };
  48. },
  49. methods: {
  50. submitForm() {
  51. // 这里可以编写提交表单的代码
  52. },
  53. },
  54. };
  55. </script>