business.vue 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. <template>
  2. <view class="center">
  3. <!-- <view class="search-top">
  4. <view class="search flex">
  5. <view class="shop-name clamp">椒江区</view>
  6. <image class="shop-jt" src="../../static/icon/dsjh.png" mode=""></image>
  7. <view class="input-box flex">
  8. <view class=" input-content flex">
  9. <image src="../../static/icon/search-h.png" mode="" class="" style="width: 32rpx;height: 32rpx;">
  10. </image>
  11. <view class="input"><input type="text" value="输入关键字搜索" /></view>
  12. </view>
  13. </view>
  14. <view class="search-tit" @click.stop="clickSearch">
  15. 搜索
  16. </view>
  17. </view>
  18. <view class="shop">
  19. <view class="shop-title">
  20. <view class="shop-item">
  21. <view class="sitem-font">智能排序</view>
  22. <image class="jt-down" src="../../static/index/index06.png" mode=""></image>
  23. </view>
  24. <view class="shop-item">
  25. <view class="sitem-font">位置距离</view>
  26. <image class="jt-down" src="../../static/index/index06.png" mode=""></image>
  27. </view>
  28. <view class="shop-item">
  29. <view class="sitem-font">折扣优惠</view>
  30. <image class="jt-down" src="../../static/index/index06.png" mode=""></image>
  31. </view>
  32. <view class="shop-item">
  33. <view class="sitem-font">筛选</view>
  34. <image class="jt-down" src="../../static/index/index06.png" mode=""></image>
  35. </view>
  36. </view>
  37. </view>
  38. </view> -->
  39. <!-- <view class="jg" style="height: 180rpx;">
  40. </view>
  41. <view class="shop">
  42. <view class="shop-main flex" v-for="(item, index) in 100" :key="index">
  43. <image class="main-left" src="../../static/index/index13.png" mode=""></image>
  44. <view class="main-right flex">
  45. <view class="shopm-info">
  46. <view class="shopm-title">
  47. <view class="shopmt-font clamp">李家烤肉11111111111111111111111111111111111111111111</view>
  48. <view class="shopmt-good">荐</view>
  49. </view>
  50. <view class="address">椒江区市府大道200号</view>
  51. <view class="shopmt-tip">消费最高可得10%积分</view>
  52. </view>
  53. <view class="right">
  54. <view class="mright-top">
  55. <image class="mrt-image" src="../../static/index/index10.png" mode=""></image>
  56. <view class="mrt-font">距离0.3KM</view>
  57. </view>
  58. <view class="mright-bottom">
  59. <image class="mrb-item" src="../../static/index/index14.png" mode=""></image>
  60. <image class="mrb-item" src="../../static/index/index11.png" mode=""></image>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. </view> -->
  66. <view class="kong">
  67. <u-empty mode="data" text="敬请期待"></u-empty>
  68. </view>
  69. </view>
  70. </template>
  71. <script>
  72. import {
  73. tabbar
  74. } from '@/utils/tabbar.js';
  75. export default {
  76. data() {
  77. return {
  78. tabbar: tabbar,
  79. current: 1
  80. };
  81. },
  82. };
  83. </script>
  84. <style lang="less">
  85. .kong {
  86. height: 100vh;
  87. }
  88. .search-top {
  89. position: fixed;
  90. top: 0;
  91. z-index: 99;
  92. }
  93. .search {
  94. justify-content: flex-start;
  95. padding: 10rpx 32rpx 20rpx;
  96. align-items: center;
  97. background-color: #fff;
  98. .address {
  99. width: 32rpx;
  100. height: 38rpx;
  101. }
  102. .shop-name {
  103. height: 38rpx;
  104. position: relative;
  105. top: -4rpx;
  106. z-index: 100;
  107. font-size: 30rpx;
  108. font-family: PingFang SC;
  109. font-weight: 500;
  110. color: #666;
  111. padding-left: 10rpx;
  112. }
  113. .shop-jt {
  114. margin-left: 8rpx;
  115. width: 16rpx;
  116. height: 10rpx;
  117. }
  118. .input-box {
  119. margin-left: 10rpx;
  120. position: relative;
  121. z-index: 99;
  122. width: 520rpx;
  123. height: 60rpx;
  124. // background: rgba(255, 255, 255, 0.4);
  125. border-radius: 30rpx;
  126. .input-content {
  127. position: relative;
  128. z-index: 11;
  129. // border-radius: 99rpx;
  130. flex-grow: 1;
  131. padding: 5rpx 30rpx;
  132. background: #F6F6F6;
  133. .iconsearch {
  134. font-size: 50rpx;
  135. color: #ffffff;
  136. }
  137. .input {
  138. margin-left: 19rpx;
  139. flex-grow: 1;
  140. color: #666;
  141. background: #F6F6F6;
  142. input {
  143. font-size: 28rpx;
  144. }
  145. }
  146. }
  147. .input-button {
  148. padding-left: 20rpx;
  149. // font-size: $font-base;
  150. height: 100%;
  151. }
  152. }
  153. .search-tit {
  154. font-size: 28rpx;
  155. font-family: PingFang SC;
  156. font-weight: 500;
  157. color: #666666;
  158. flex-shrink: 0;
  159. padding-left: 10rpx;
  160. }
  161. }
  162. .shop {
  163. // margin-top: 20rpx;
  164. background: #ffffff;
  165. padding: 0 12rpx;
  166. .shop-title {
  167. padding: 30rpx 0 20rpx;
  168. display: flex;
  169. align-items: center;
  170. border-bottom: 1px solid #e3e6e7;
  171. .shop-item {
  172. width: 25%;
  173. display: flex;
  174. align-items: center;
  175. justify-content: center;
  176. .sitem-font {
  177. font-size: 26rpx;
  178. font-family: PingFang SC;
  179. font-weight: bold;
  180. color: #333333;
  181. }
  182. .jt-down {
  183. width: 10rpx;
  184. height: 8rpx;
  185. margin-left: 12rpx;
  186. }
  187. }
  188. }
  189. .shop-main {
  190. padding: 32rpx 18rpx 0 12rpx;
  191. align-items: flex-start;
  192. justify-content: flex-start;
  193. .main-left {
  194. width: 180rpx;
  195. height: 180rpx;
  196. border-radius: 10rpx;
  197. }
  198. .main-right {
  199. width: 500rpx;
  200. justify-content: space-between;
  201. align-items: flex-start;
  202. margin-left: 20rpx;
  203. padding: 13rpx 0 35rpx;
  204. border-bottom: 1px solid #eaeced;
  205. .shopm-info {
  206. max-width: 60%;
  207. line-height: 1;
  208. .shopm-title {
  209. display: flex;
  210. justify-content: flex-start;
  211. .shopmt-font {
  212. font-size: 34rpx;
  213. font-family: PingFang SC;
  214. font-weight: bold;
  215. color: #333333;
  216. }
  217. .shopmt-good {
  218. margin-left: 6rpx;
  219. width: 30rpx;
  220. height: 30rpx;
  221. border: 1px solid #ff4c4c;
  222. border-radius: 5rpx;
  223. font-size: 20rpx;
  224. font-family: PingFang SC;
  225. font-weight: 500;
  226. color: #ff4c4c;
  227. text-align: center;
  228. line-height: 30rpx;
  229. }
  230. }
  231. .address {
  232. margin-top: 16rpx;
  233. font-size: 24rpx;
  234. font-family: PingFang SC;
  235. font-weight: 500;
  236. color: #666666;
  237. }
  238. .shopmt-tip {
  239. position: relative;
  240. margin-top: 52rpx;
  241. padding: 8rpx;
  242. background: #fcf3f0;
  243. border-radius: 16rpx 16rpx 16rpx 0px;
  244. font-size: 20rpx;
  245. font-family: PingFang SC;
  246. font-weight: 500;
  247. color: #ff440d;
  248. }
  249. }
  250. .right {
  251. height: 100%;
  252. margin-top: 5rpx;
  253. display: flex;
  254. flex-direction: column;
  255. .mright-top {
  256. display: flex;
  257. justify-content: flex-end;
  258. align-items: center;
  259. .mrt-image {
  260. width: 20rpx;
  261. height: 28rpx;
  262. }
  263. .mrt-font {
  264. margin-left: 8rpx;
  265. font-size: 22rpx;
  266. font-family: PingFang SC;
  267. font-weight: 500;
  268. color: #666666;
  269. }
  270. }
  271. .mright-bottom {
  272. margin-top: 80rpx;
  273. display: flex;
  274. justify-content: flex-end;
  275. .mrb-item {
  276. width: 46rpx;
  277. height: 46rpx;
  278. margin-left: 14rpx;
  279. }
  280. }
  281. }
  282. }
  283. }
  284. }
  285. </style>