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

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