sh-search.vue 855 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <view class="search u-flex u-row-center u-col-center u-m-b-10 u-p-x-20" @tap="$Router.push('/pages/public/search')">
  3. <view class="search-content u-flex u-col-center">
  4. <text class="u-iconfont uicon-search search-icon"></text>
  5. <view class="pl-text">搜索</view>
  6. </view>
  7. </view>
  8. </template>
  9. <script>
  10. /**
  11. * 自定义之搜索样式卡片
  12. * @property {Object} detail - 搜索信息
  13. */
  14. export default {
  15. components: {},
  16. data() {
  17. return {};
  18. },
  19. computed: {},
  20. methods: {}
  21. };
  22. </script>
  23. <style lang="scss">
  24. .search {
  25. height: 100rpx;
  26. width: 750rpx;
  27. background: #fff;
  28. .search-content {
  29. width: 710rpx;
  30. padding: 0 18rpx;
  31. background-color: #f2f2f2;
  32. border-radius: 100rpx;
  33. height: 64rpx;
  34. .search-icon {
  35. color: #606266;
  36. size: 34rpx;
  37. }
  38. .pl-text {
  39. color: $u-tips-color;
  40. margin-left: 10rpx;
  41. }
  42. }
  43. }
  44. </style>