兼兼街租房小程序
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.

229 lines
4.1 KiB

  1. <template>
  2. <view class="container">
  3. <view class="ant-nav-compat"/>
  4. <view class="ant-nav-container">
  5. <view class="ant-nav-back" @click="goback"/>
  6. <view class="ant-nav-title">发布房源</view>
  7. </view>
  8. <view class="ant-from-container">
  9. <view class="ant-from">
  10. <view class="from-item">
  11. <view class="from-tips">
  12. 您打算发布什么类型的房源
  13. </view>
  14. <view class="from-line">
  15. <view class="from-view">
  16. <view class="form-lentx">
  17. <view class="me-icon"/>
  18. <view class="form-text">
  19. <view class="head">整租</view>
  20. <view class="body">整套房源或集中的公寓房间</view>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="from-view">
  25. <view class="form-lentx">
  26. <view class="me-icon"/>
  27. <view class="form-text">
  28. <view class="head">合租</view>
  29. <view class="body">单位床位合用大门均算合租</view>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="from-item">
  36. <view class="from-tips">
  37. 发布的房源是转租吗
  38. </view>
  39. <view class="from-line">
  40. <view class="from-view">
  41. 非转租
  42. </view>
  43. <view class="from-view">
  44. 转租
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. <view class="ant-from-submit" @click="next">下一步</view>
  50. <view class="ant-from-submit-tip">
  51. *仅支持个人发布房源信息公寓或公司等经营性组织请联系<span>平台客服</span>
  52. </view>
  53. </view>
  54. </view>
  55. </template>
  56. <style lang="scss">
  57. .container{
  58. background-color: #fff !important;
  59. .ant-nav-compat{
  60. content: "";
  61. background-color: #F5F5F5;
  62. height: 88rpx;
  63. width: 100vw;
  64. }
  65. .ant-nav-container{
  66. height: 88rpx;
  67. width: 100vw;
  68. line-height: 88rpx;
  69. background-color: #F5F5F5;
  70. text-align: center;
  71. vertical-align: top;
  72. position: relative;
  73. color: #333;
  74. font-size: 36rpx;
  75. font-weight: bold;
  76. letter-spacing: -0.1rpx;
  77. .ant-nav-back {
  78. content: "";
  79. position: absolute;
  80. top: 35rpx;
  81. left: 30rpx;
  82. width: 18rpx;
  83. height: 18rpx;
  84. border-bottom: 3rpx solid #333;
  85. border-right: 3rpx solid #333;
  86. transform: rotate(135deg);
  87. }
  88. }
  89. .ant-from-container{
  90. padding: 40rpx 30rpx;
  91. .from-item{
  92. margin-bottom: 50rpx;
  93. .from-tips{
  94. font-size: 26rpx;
  95. font-weight: 400;
  96. letter-spacing: 0rpx;
  97. line-height: 38rpx;
  98. color: #b2b2b2;
  99. margin-bottom: 30rpx;
  100. }
  101. .from-line{
  102. display: flex;
  103. justify-content: space-between;
  104. .from-view{
  105. width: 330rpx;
  106. min-height: 88rpx;
  107. line-height: 88rpx;
  108. background: #f3f7fa;
  109. text-align: center;
  110. color: #333;
  111. font-weight: 500;
  112. font-size: 26rpx;
  113. }
  114. }
  115. }
  116. .ant-from-submit{
  117. width: 100%;
  118. height: 92rpx;
  119. line-height: 92rpx;
  120. background-color: #00b2ff;
  121. border-radius: 8rpx;
  122. color: #fff;
  123. text-align: center;
  124. font-size: 36rpx;
  125. }
  126. .ant-from-submit-tip{
  127. width: calc(100vw - 90rpx);
  128. padding: 30rpx;
  129. color: #999;
  130. font-size: 26rpx;
  131. font-weight: 400;
  132. line-height: 36rpx;
  133. letter-spacing: 0rpx;
  134. span{
  135. color: #00b2ff;
  136. text-decoration: underline;
  137. }
  138. }
  139. }
  140. .form-lentx{
  141. padding: 30rpx 40rpx;
  142. display: flex;
  143. .me-icon{
  144. width: 52rpx;
  145. height: 52rpx;
  146. border: 1rpx dashed #ccc;
  147. border-radius: 12rpx;
  148. margin: 20rpx 30rpx 0 0;
  149. }
  150. .form-text{
  151. width: 160rpx;
  152. line-height: 40rpx;
  153. text-align: left;
  154. .head{
  155. font-size: 26rpx;
  156. color: #333;
  157. font-weight: 500;
  158. }
  159. .body{
  160. line-height: 28rpx;
  161. font-size: 20rpx;
  162. color: #999;
  163. font-weight: 400;
  164. }
  165. }
  166. }
  167. }
  168. </style>
  169. <script>
  170. export default {
  171. data() {
  172. return {
  173. show: false,
  174. }
  175. },
  176. onReachBottom() {
  177. console.log("reach bottom")
  178. },
  179. methods: {
  180. next: function(){
  181. uni.navigateTo({
  182. url:"/pages/pusher/houseb"
  183. })
  184. },
  185. goback: function(){
  186. uni.switchTab({
  187. url:"/pages/index/icone"
  188. })
  189. }
  190. }
  191. }
  192. </script>