commodity.vue 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <template>
  2. <view class="container">
  3. 数据中心
  4. </view>
  5. </template>
  6. <script setup>
  7. function onshow(){
  8. console.log('数据中心')
  9. }
  10. </script>
  11. <style lang="scss" scoped>
  12. .btn-wrap {
  13. padding: 24rpx;
  14. background-color: #fff;
  15. }
  16. .search {
  17. padding: 0 24rpx 24rpx;
  18. background-color: #fff;
  19. .search-input {
  20. position: relative;
  21. .scan-icon {
  22. position: absolute;
  23. top: 50%;
  24. transform: translateY(-50%);
  25. z-index: 2;
  26. &.scan-left-show {
  27. right: 36rpx;
  28. }
  29. &.scan-left-hidden {
  30. right: 100rpx;
  31. }
  32. }
  33. }
  34. .search-history {
  35. .history-item {
  36. margin-right: 24rpx;
  37. padding: 0 12rpx;
  38. background-color: #f2f2f2;
  39. color: #333;
  40. font-size: 24rpx;
  41. line-height: 40rpx;
  42. border-radius: 40rpx;
  43. margin-top: 24rpx;
  44. }
  45. }
  46. }
  47. .classify-wrap {
  48. // padding-bottom: 200rpx;
  49. }
  50. .btn {
  51. width: 100%;
  52. position: fixed;
  53. bottom: 120rpx;
  54. left: 0;
  55. display: flex;
  56. flex-flow: row nowrap;
  57. justify-content: space-between;
  58. padding: 0 24rpx;
  59. &.safa-btn {
  60. bottom: 180rpx;
  61. }
  62. }
  63. </style>