business.vue 6.4 KB

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