瑶都万能墙
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

186 lines
3.2 KiB

4 months ago
  1. <template>
  2. <view>
  3. <navbar title="租房列表" leftClick @leftClick="$utils.navigateBack" />
  4. <view class="flex"
  5. style="padding: 30rpx;">
  6. <!-- <view class="flex area">
  7. <view>永州</view>
  8. <uv-icon name="down" color="#333" size="30rpx" />
  9. </view>
  10. <view class="s-div b-relative">
  11. </view> -->
  12. <uv-search
  13. bgColor="#fff"
  14. @search="getData"
  15. @custom="getData"
  16. searchIconSize="30rpx"
  17. placeholder="请输入搜索关键字..."
  18. v-model="queryParams.title"></uv-search>
  19. </view>
  20. <view class="flex-wrap rx">
  21. <view class="sb-w3">
  22. <image src="/static/image/home/1.png" />
  23. <view>居住</view>
  24. </view>
  25. <view class="sb-w3">
  26. <image src="/static/2.png" />
  27. <view>办公</view>
  28. </view>
  29. <view class="sb-w3">
  30. <image src="/static/3.png" />
  31. <view>做生意</view>
  32. </view>
  33. </view>
  34. <view class="container">
  35. <view class="re-empty font-c" style="display: none;">暂无数据</view>
  36. <view class="card-item flex-sb" v-for="i in 10" @click="clickDetail()">
  37. <view>
  38. <image class="imx" src="/static/R01.png" />
  39. </view>
  40. <view style="width: calc(100% - 330rpx);">
  41. <view class="t1">整租·康卓新城</view>
  42. <view class="t2">1室1卫 60m2 | </view>
  43. <view class="flex">
  44. <view class="t3">优选</view>
  45. <view class="t3">低价</view>
  46. </view>
  47. <view class="t4">2400/</view>
  48. </view>
  49. </view>
  50. </view>
  51. </view>
  52. </template>
  53. <script>
  54. export default {
  55. data() {
  56. return {
  57. keyword : '',
  58. }
  59. },
  60. methods: {
  61. clickDetail(){
  62. uni.navigateTo({
  63. url: '/pages_order/renting/rentingDetail'
  64. })
  65. }
  66. }
  67. }
  68. </script>
  69. <style scoped lang="scss">
  70. .container {
  71. padding: 0 30rpx;
  72. }
  73. .area {
  74. width: 154rpx;
  75. line-height: 78rpx;
  76. margin: 0 20rpx;
  77. }
  78. .s-div {
  79. margin: 0 10rpx;
  80. }
  81. .seacher {
  82. width: 486rpx;
  83. height: 78rpx;
  84. background: #F3F3F3;
  85. border-radius: 44rpx 44rpx 44rpx 44rpx;
  86. font-weight: 400;
  87. font-size: 28rpx;
  88. text-align: left;
  89. font-style: normal;
  90. text-transform: none;
  91. padding: 0 0 0 80rpx;
  92. }
  93. .seacher-placeholder {
  94. color: #BFBFBF;
  95. }
  96. .icon {
  97. position: absolute;
  98. left: 30rpx;
  99. top: 18rpx;
  100. }
  101. .rx {
  102. height: 214rpx;
  103. width: 100%;
  104. padding: 40rpx 0 0;
  105. }
  106. .sb-w3 image {
  107. width: 100rpx;
  108. height: 100rpx;
  109. }
  110. .sb-w3 view {
  111. line-height: 52rpx;
  112. font-weight: 400;
  113. font-size: 28rpx;
  114. color: #3D3D3D;
  115. }
  116. .card-item {
  117. width: 690rpx;
  118. height: 250rpx;
  119. background: #FFFFFF;
  120. box-shadow: 0rpx 3rpx 6rpx 1rpx rgba(0, 0, 0, 0.16);
  121. border-radius: 8rpx 8rpx 8rpx 8rpx;
  122. margin-bottom: 36rpx;
  123. }
  124. .imx {
  125. width: 300rpx;
  126. height: 250rpx;
  127. }
  128. .t1 {
  129. font-weight: 400;
  130. font-size: 32rpx;
  131. color: #3D3D3D;
  132. line-height: 80rpx;
  133. text-align: left;
  134. }
  135. .t2 {
  136. font-weight: 400;
  137. font-size: 20rpx;
  138. color: #656565;
  139. line-height: 20rpx;
  140. text-align: left;
  141. }
  142. .t3 {
  143. font-weight: 400;
  144. font-size: 20rpx;
  145. line-height: 32rpx;
  146. color: #00B90C;
  147. text-align: center;
  148. height: 32rpx;
  149. width: 60rpx;
  150. margin: 15rpx 10rpx 0 0;
  151. background: rgba(121, 255, 179, 0.21);
  152. border-radius: 4rpx 4rpx 4rpx 4rpx;
  153. }
  154. .t4 {
  155. font-weight: 400;
  156. font-size: 32rpx;
  157. color: #FF0000;
  158. line-height: 100rpx;
  159. text-align: left;
  160. }
  161. </style>