瑶都万能墙
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.

207 lines
3.7 KiB

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