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

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