CompetitorWebsite.vue 675 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <div class="product-des">
  3. <el-input
  4. v-model="website"
  5. clearable
  6. placeholder="第三步:竞品的网站,如果有多个用逗号隔开"
  7. />
  8. </div>
  9. </template>
  10. <script lang="ts" setup>
  11. import { ref } from 'vue';
  12. const website = ref<string>('');
  13. defineExpose({
  14. getWebsite: () => website.value
  15. });
  16. </script>
  17. <style lang="scss" scoped>
  18. .product-des {
  19. :deep(.el-input) {
  20. width: 504px !important;
  21. height: 48px !important;
  22. }
  23. :deep(.el-input__inner) {
  24. line-height: 48px;
  25. font-size: 16px;
  26. &::placeholder {
  27. font-weight: 400;
  28. font-size: 16px;
  29. color: rgba(40, 46, 48, 0.6);
  30. }
  31. }
  32. }
  33. </style>