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

256 lines
5.9 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
7 months ago
7 months ago
  1. <template>
  2. <view>
  3. <view class="leftClick"
  4. @click="$utils.navigateBack">
  5. <uv-icon
  6. size="30rpx"
  7. color="#fff"
  8. name="arrow-left"></uv-icon>
  9. </view>
  10. <view style="width: 100vw; height: 553rpx;">
  11. <!-- <image style="width: 100vw; height: 553rpx;"
  12. src="https://pic1.ajkimg.com/display/anjuke/ea5773-%E8%83%9C%E9%80%B8%E5%9C%B0%E4%BA%A7/3b5e900e0ed231e6154759c8c885b6cc-800x650.jpg?frame=1"
  13. mode="aspectFill" /> -->
  14. <uv-swiper
  15. :list="detail.image && detail.image.split(',')"
  16. indicator
  17. height="553rpx"
  18. indicatorStyle="bottom: 100rpx;"
  19. ></uv-swiper>
  20. </view>
  21. <view
  22. style="padding: 36rpx; background: #FFF; position: absolute; z-index: 1; width: calc(100vw - 72rpx); min-height: 780rpx; border-radius: 20rpx 20rpx 20rpx 20rpx;margin-top: -20rpx;">
  23. <view class="t0">{{ detail.money }}/</view>
  24. <view class="t1">{{ detail.title }} {{ detail.home }}</view>
  25. <!-- <view class="t2">房源编号:HC42012205JC33V</view> -->
  26. <view class="t2">{{ detail.titleSub }}</view>
  27. <view class="t2">{{ detail.createTime }}更新 · 浏览 {{ detail.num }}</view>
  28. <view class="driver"></view>
  29. <view class="flex-wrap xr">
  30. <view class="sb-w4 h70">
  31. <view class="font-a">{{ detail.face }}</view>
  32. <view class="font-b">朝向</view>
  33. </view>
  34. <view class="sb-w4 h70">
  35. <view class="font-a">{{ detail.crm }}</view>
  36. <view class="font-b">面积</view>
  37. </view>
  38. <view class="sb-w4 h70">
  39. <view class="font-a">{{ detail.floor }}</view>
  40. <view class="font-b">楼层</view>
  41. </view>
  42. <view class="sb-w4 h70">
  43. <view class="font-a">{{ detail.decoration }}</view>
  44. <view class="font-b">装修</view>
  45. </view>
  46. </view>
  47. <view class="driver"></view>
  48. <view class="line64">
  49. <view class="flex-sb">
  50. <view class="w50">
  51. <span class="font-b">付款</span>
  52. <span class="font-c">{{ detail.payment }}</span>
  53. </view>
  54. <view class="w50">
  55. <span class="font-b">电梯</span>
  56. <span class="font-c">{{ detail.lift }}</span>
  57. </view>
  58. </view>
  59. <view class="flex-sb">
  60. <view class="w50">
  61. <span class="font-b">交付</span>
  62. <span class="font-c">{{ detail.deliver }}</span>
  63. </view>
  64. <view class="w50">
  65. <span class="font-b">看房</span>
  66. <span class="font-c">{{ detail.showings }}</span>
  67. </view>
  68. </view>
  69. <view class="flex-sb">
  70. <view>
  71. <span class="font-b">投诉</span>
  72. <span class="font-c">
  73. <uni-icons type="phone" size="12" />
  74. {{ detail.phone }}
  75. </span>
  76. </view>
  77. </view>
  78. <view class="flex-sb">
  79. <view>
  80. <span class="font-b">小区</span>
  81. <span class="font-c">
  82. <uni-icons type="paperplane" size="12" />
  83. {{ detail.address }}
  84. </span>
  85. </view>
  86. </view>
  87. </view>
  88. </view>
  89. <view class="b-fiexd flex" style="height: 98rpx; z-index: 2;">
  90. <view style="padding-left: 20rpx;">
  91. <image src="/static/logo.png" class="radius80 test" />
  92. </view>
  93. <view style="padding: 12rpx 20rpx; width: 280rpx;
  94. display: flex;align-items: center;">
  95. <view class="font-d">{{ detail.userId }}</view>
  96. <!-- <view class="font-b">新城国际花都</view> -->
  97. </view>
  98. <view style="padding: 20rpx" @click="clickShare()">
  99. <uni-icons type="redo"></uni-icons>
  100. </view>
  101. <view class="d-btn" @click="clickService">
  102. <span>打电话</span>
  103. </view>
  104. </view>
  105. </view>
  106. </template>
  107. <script>
  108. export default {
  109. data() {
  110. return {
  111. id : 0,
  112. detail : {},
  113. }
  114. },
  115. onLoad({id}) {
  116. this.id = id
  117. },
  118. onShow() {
  119. this.getData()
  120. },
  121. methods: {
  122. clickShare() {
  123. uni.share({
  124. provider: 'weixin',
  125. type: 5,
  126. success: (res) => {
  127. console.log(res);
  128. }
  129. });
  130. },
  131. clickService() {
  132. uni.makePhoneCall({
  133. phoneNumber: this.detail.phone,
  134. });
  135. },
  136. getData(){
  137. let data = {
  138. id : this.id
  139. }
  140. if(uni.getStorageSync('token')){
  141. data.token = uni.getStorageSync('token')
  142. }
  143. this.$api('getRentDetail', data, res => {
  144. if(res.code == 200){
  145. this.detail = res.result
  146. }
  147. })
  148. },
  149. }
  150. }
  151. </script>
  152. <style scoped lang="scss">
  153. .leftClick{
  154. position: absolute;
  155. top: calc(var(--status-bar-height) + 20rpx);
  156. left: 20rpx;
  157. background-color: #00000033;
  158. padding: 20rpx;
  159. border-radius: 50%;
  160. z-index: 99;
  161. }
  162. .t0 {
  163. font-weight: 1000;
  164. font-size: 32rpx;
  165. color: #FF0000;
  166. line-height: 64rpx;
  167. }
  168. .t1 {
  169. font-weight: bold;
  170. font-size: 36rpx;
  171. color: #3D3D3D;
  172. line-height: 64rpx;
  173. }
  174. .t2 {
  175. font-weight: 400;
  176. font-size: 24rpx;
  177. color: #ADADAD;
  178. line-height: 42rpx;
  179. }
  180. .driver {
  181. width: 100%;
  182. height: 2rpx;
  183. background-color: #D5D5D5;
  184. opacity: .4;
  185. margin: 20rpx auto;
  186. }
  187. .xr {
  188. padding: 10rpx 0 20rpx;
  189. }
  190. .font-a {
  191. font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  192. font-weight: 400;
  193. font-size: 30rpx;
  194. color: #3D3D3D;
  195. line-height: 46rpx;
  196. text-align: center;
  197. }
  198. .font-b {
  199. font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  200. font-weight: 400;
  201. font-size: 24rpx;
  202. color: #ADADAD;
  203. line-height: 46rpx;
  204. }
  205. .font-d {
  206. font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  207. font-weight: 800;
  208. font-size: 28rpx;
  209. color: #333;
  210. line-height: 32rpx;
  211. }
  212. .font-c {
  213. font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  214. font-weight: 400;
  215. font-size: 24rpx;
  216. color: #333;
  217. line-height: 46rpx;
  218. }
  219. .d-btn {
  220. width: 200rpx;
  221. height: 72rpx;
  222. line-height: 72rpx;
  223. background: #4255E4;
  224. border-radius: 36rpx 36rpx 36rpx 36rpx;
  225. font-weight: 400;
  226. font-size: 28rpx;
  227. color: #FFFFFF;
  228. text-align: center;
  229. margin: 12rpx;
  230. }
  231. </style>