business.vue 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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. <!-- <u-tabbar activeColor="#EE0979" v-model="current" :list="tabbar" :mid-button="true"></u-tabbar> -->
  70. </view>
  71. </template>
  72. <script>
  73. import {
  74. tabbar
  75. } from '@/utils/tabbar.js';
  76. export default {
  77. data() {
  78. return {
  79. tabbar: tabbar,
  80. current: 1
  81. };
  82. },
  83. };
  84. </script>
  85. <style lang="less">
  86. .kong {
  87. height: 100vh;
  88. }
  89. .search-top {
  90. position: fixed;
  91. top: 0;
  92. z-index: 99;
  93. }
  94. .search {
  95. justify-content: flex-start;
  96. padding: 10rpx 32rpx 20rpx;
  97. align-items: center;
  98. background-color: #fff;
  99. .address {
  100. width: 32rpx;
  101. height: 38rpx;
  102. }
  103. .shop-name {
  104. height: 38rpx;
  105. position: relative;
  106. top: -4rpx;
  107. z-index: 100;
  108. font-size: 30rpx;
  109. font-family: PingFang SC;
  110. font-weight: 500;
  111. color: #666;
  112. padding-left: 10rpx;
  113. }
  114. .shop-jt {
  115. margin-left: 8rpx;
  116. width: 16rpx;
  117. height: 10rpx;
  118. }
  119. .input-box {
  120. margin-left: 10rpx;
  121. position: relative;
  122. z-index: 99;
  123. width: 520rpx;
  124. height: 60rpx;
  125. // background: rgba(255, 255, 255, 0.4);
  126. border-radius: 30rpx;
  127. .input-content {
  128. position: relative;
  129. z-index: 11;
  130. // border-radius: 99rpx;
  131. flex-grow: 1;
  132. padding: 5rpx 30rpx;
  133. background: #F6F6F6;
  134. .iconsearch {
  135. font-size: 50rpx;
  136. color: #ffffff;
  137. }
  138. .input {
  139. margin-left: 19rpx;
  140. flex-grow: 1;
  141. color: #666;
  142. background: #F6F6F6;
  143. input {
  144. font-size: 28rpx;
  145. }
  146. }
  147. }
  148. .input-button {
  149. padding-left: 20rpx;
  150. // font-size: $font-base;
  151. height: 100%;
  152. }
  153. }
  154. .search-tit {
  155. font-size: 28rpx;
  156. font-family: PingFang SC;
  157. font-weight: 500;
  158. color: #666666;
  159. flex-shrink: 0;
  160. padding-left: 10rpx;
  161. }
  162. }
  163. .shop {
  164. // margin-top: 20rpx;
  165. background: #ffffff;
  166. padding: 0 12rpx;
  167. .shop-title {
  168. padding: 30rpx 0 20rpx;
  169. display: flex;
  170. align-items: center;
  171. border-bottom: 1px solid #e3e6e7;
  172. .shop-item {
  173. width: 25%;
  174. display: flex;
  175. align-items: center;
  176. justify-content: center;
  177. .sitem-font {
  178. font-size: 26rpx;
  179. font-family: PingFang SC;
  180. font-weight: bold;
  181. color: #333333;
  182. }
  183. .jt-down {
  184. width: 10rpx;
  185. height: 8rpx;
  186. margin-left: 12rpx;
  187. }
  188. }
  189. }
  190. .shop-main {
  191. padding: 32rpx 18rpx 0 12rpx;
  192. align-items: flex-start;
  193. justify-content: flex-start;
  194. .main-left {
  195. width: 180rpx;
  196. height: 180rpx;
  197. border-radius: 10rpx;
  198. }
  199. .main-right {
  200. width: 500rpx;
  201. justify-content: space-between;
  202. align-items: flex-start;
  203. margin-left: 20rpx;
  204. padding: 13rpx 0 35rpx;
  205. border-bottom: 1px solid #eaeced;
  206. .shopm-info {
  207. max-width: 60%;
  208. line-height: 1;
  209. .shopm-title {
  210. display: flex;
  211. justify-content: flex-start;
  212. .shopmt-font {
  213. font-size: 34rpx;
  214. font-family: PingFang SC;
  215. font-weight: bold;
  216. color: #333333;
  217. }
  218. .shopmt-good {
  219. margin-left: 6rpx;
  220. width: 30rpx;
  221. height: 30rpx;
  222. border: 1px solid #ff4c4c;
  223. border-radius: 5rpx;
  224. font-size: 20rpx;
  225. font-family: PingFang SC;
  226. font-weight: 500;
  227. color: #ff4c4c;
  228. text-align: center;
  229. line-height: 30rpx;
  230. }
  231. }
  232. .address {
  233. margin-top: 16rpx;
  234. font-size: 24rpx;
  235. font-family: PingFang SC;
  236. font-weight: 500;
  237. color: #666666;
  238. }
  239. .shopmt-tip {
  240. position: relative;
  241. margin-top: 52rpx;
  242. padding: 8rpx;
  243. background: #fcf3f0;
  244. border-radius: 16rpx 16rpx 16rpx 0px;
  245. font-size: 20rpx;
  246. font-family: PingFang SC;
  247. font-weight: 500;
  248. color: #ff440d;
  249. }
  250. }
  251. .right {
  252. height: 100%;
  253. margin-top: 5rpx;
  254. display: flex;
  255. flex-direction: column;
  256. .mright-top {
  257. display: flex;
  258. justify-content: flex-end;
  259. align-items: center;
  260. .mrt-image {
  261. width: 20rpx;
  262. height: 28rpx;
  263. }
  264. .mrt-font {
  265. margin-left: 8rpx;
  266. font-size: 22rpx;
  267. font-family: PingFang SC;
  268. font-weight: 500;
  269. color: #666666;
  270. }
  271. }
  272. .mright-bottom {
  273. margin-top: 80rpx;
  274. display: flex;
  275. justify-content: flex-end;
  276. .mrb-item {
  277. width: 46rpx;
  278. height: 46rpx;
  279. margin-left: 14rpx;
  280. }
  281. }
  282. }
  283. }
  284. }
  285. }
  286. </style>