PageHead.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <template>
  2. <view class="page-header-container">
  3. <TuanAppShim bg="#fff"></TuanAppShim>
  4. <view class="container">
  5. <view
  6. style="flex: 1;display: flex;align-items: center;margin-right: 26upx;background-color: #ffffff;border: 2upx solid #EF5511;border-radius: 50upx;"
  7. >
  8. <TuanLocation
  9. free event-name="sendChooseAddressSuccessMsg"
  10. style="display: flex;align-items: center;padding-left: 18upx;line-height: 1;"
  11. >
  12. <text
  13. style="max-width: 130upx;font-size:28upx;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;"
  14. >
  15. {{ $store.getters.currentShopCity || '定位失败' }}
  16. </text>
  17. <BeeIcon :size="26" name="turningdown" color="#222229"></BeeIcon>
  18. </TuanLocation>
  19. <view style="width: 4upx;height: 28upx;background-color: #f6f6f8;"></view>
  20. <tui-input
  21. label="" placeholder="社区商圈" disabled clearable
  22. :border-bottom="false"
  23. padding="6upx 10upx 6upx 2upx" placeholder-style="color: #292930;font-size: 28upx;"
  24. background-color="transparent" style="flex: 1;margin-left: 14upx;" @click="go(`/another-tf/another-serve/search/index`)"
  25. >
  26. <template #right>
  27. <tui-button
  28. type="warning" width="120rpx" height="50rpx" shape="circle"
  29. style="background: #ee692f!important;"
  30. @click="go(`/another-tf/another-serve/search/index`)"
  31. >
  32. 搜索
  33. </tui-button>
  34. </template>
  35. </tui-input>
  36. </view>
  37. <view class="more">
  38. <view class="bar-wrapper">
  39. <view class="bar-item"></view>
  40. <view class="bar-item"></view>
  41. <view class="bar-item"></view>
  42. <view class="bar-item"></view>
  43. </view>
  44. <text class="more-text">更多</text>
  45. </view>
  46. </view>
  47. </view>
  48. </template>
  49. <script>
  50. export default {
  51. }
  52. </script>
  53. <style lang="less" scoped>
  54. @keyframes rotate-bar {
  55. 0% {
  56. transform: rotate(90deg) scale(1);
  57. opacity: 0.8;
  58. }
  59. 50% {
  60. opacity: 1;
  61. transform: scale(0.9);
  62. }
  63. 100% {
  64. transform: rotate(0deg) scale(1);
  65. opacity: 0.8;
  66. }
  67. }
  68. .page-header-container {
  69. .container {
  70. display: flex;
  71. align-items: center;
  72. .more {
  73. display: flex;
  74. align-items: center;
  75. justify-content: center;
  76. flex-direction: column;
  77. padding-top: 2upx;
  78. .bar-wrapper {
  79. width: 36upx;
  80. height: 36upx;
  81. display: flex;
  82. align-items: center;
  83. justify-content: space-between;
  84. flex-wrap: wrap;
  85. .bar-item {
  86. width: 16upx;
  87. height: 16upx;
  88. background-color: #000;
  89. margin-bottom: 6upx;
  90. border-radius: 4upx;
  91. flex-shrink: 0;
  92. &:nth-child(2) {
  93. background-color: #EE6C33;
  94. animation: rotate-bar 1s ease-in-out infinite reverse 4s;
  95. }
  96. }
  97. }
  98. .more-text {
  99. font-size: 24upx;
  100. color: #222229;
  101. }
  102. }
  103. }
  104. }
  105. </style>