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

309 lines
6.8 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
9 months ago
10 months ago
9 months ago
10 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 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;">
  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. style="margin-left: auto;"
  89. class="d-btn" @click="clickService">
  90. <span>打电话</span>
  91. </view> -->
  92. <view style="width: 160rpx;font-size: 26rpx;
  93. margin-left: auto;
  94. height: 50rpx;">
  95. <callPhone
  96. :phone="detail.phone"
  97. type="1"
  98. :phoneTitle="detail.title"
  99. :pid="detail.id"
  100. title="联系房东"/>
  101. </view>
  102. </view>
  103. </view>
  104. <!-- <view class="b-fiexd flex" style="height: 98rpx; z-index: 2;">
  105. <view style="padding-left: 20rpx;">
  106. <image src="/static/logo.png" class="radius80 test" />
  107. </view>
  108. <view style="padding: 12rpx 20rpx; width: 280rpx;
  109. display: flex;align-items: center;">
  110. <view class="font-d">{{ detail.userId }}</view>
  111. </view>
  112. <view style="padding: 20rpx" @click="clickShare()">
  113. <uni-icons type="redo"></uni-icons>
  114. </view>
  115. <view class="d-btn" @click="clickService">
  116. <span>打电话</span>
  117. </view>
  118. </view> -->
  119. <commentList
  120. @getData="getData"
  121. :list="list"
  122. :params="params"
  123. />
  124. </view>
  125. </template>
  126. <script>
  127. import mixinsList from '@/mixins/list.js'
  128. import commentList from '../components/list/comment/commentList.vue'
  129. export default {
  130. mixins: [mixinsList],
  131. components : {
  132. commentList,
  133. },
  134. data() {
  135. return {
  136. id : 0,
  137. detail : {},
  138. collectionFlag : false,
  139. mixinsListApi : 'getCommentPage',
  140. params : {
  141. type : '1',
  142. orderId : '',
  143. name : '',
  144. },
  145. }
  146. },
  147. onLoad(options) {
  148. this.id = options.id
  149. this.queryParams.type = this.params.type
  150. this.queryParams.orderId = options.id
  151. this.params.orderId = options.id
  152. },
  153. onShareAppMessage(res) {
  154. return {
  155. title: this.detail.title,
  156. path: '/pages_order/renting/rentingDetail?id=' + this.id
  157. }
  158. },
  159. onPullDownRefresh() {
  160. this.getDetail()
  161. },
  162. onShow() {
  163. this.getDetail()
  164. },
  165. methods: {
  166. clickShare() {
  167. uni.share({
  168. provider: 'weixin',
  169. type: 5,
  170. success: (res) => {
  171. console.log(res);
  172. }
  173. });
  174. },
  175. clickService() {
  176. uni.makePhoneCall({
  177. phoneNumber: this.detail.phone,
  178. });
  179. },
  180. getDetail(){
  181. let data = {
  182. id : this.id
  183. }
  184. this.$api('getRentDetail', data, res => {
  185. if(res.code == 200){
  186. this.params.name = res.result.title
  187. this.detail = res.result
  188. }
  189. })
  190. },
  191. }
  192. }
  193. </script>
  194. <style scoped lang="scss">
  195. .leftClick{
  196. position: absolute;
  197. top: calc(var(--status-bar-height) + 20rpx);
  198. left: 20rpx;
  199. background-color: #00000033;
  200. padding: 20rpx;
  201. border-radius: 50%;
  202. z-index: 99;
  203. }
  204. .t0 {
  205. font-weight: 1000;
  206. font-size: 32rpx;
  207. color: #FF0000;
  208. line-height: 64rpx;
  209. }
  210. .t1 {
  211. font-weight: bold;
  212. font-size: 36rpx;
  213. color: #3D3D3D;
  214. line-height: 64rpx;
  215. }
  216. .t2 {
  217. font-weight: 400;
  218. font-size: 24rpx;
  219. color: #ADADAD;
  220. line-height: 42rpx;
  221. }
  222. .driver {
  223. width: 100%;
  224. height: 2rpx;
  225. background-color: #D5D5D5;
  226. opacity: .4;
  227. margin: 20rpx auto;
  228. }
  229. .xr {
  230. padding: 10rpx 0 20rpx;
  231. }
  232. .font-a {
  233. font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  234. font-weight: 400;
  235. font-size: 30rpx;
  236. color: #3D3D3D;
  237. line-height: 46rpx;
  238. text-align: center;
  239. }
  240. .font-b {
  241. font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  242. font-weight: 400;
  243. font-size: 24rpx;
  244. color: #ADADAD;
  245. line-height: 46rpx;
  246. }
  247. .font-d {
  248. font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  249. font-weight: 800;
  250. font-size: 28rpx;
  251. color: #333;
  252. line-height: 32rpx;
  253. }
  254. .font-c {
  255. font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  256. font-weight: 400;
  257. font-size: 24rpx;
  258. color: #333;
  259. line-height: 46rpx;
  260. }
  261. .d-btn {
  262. width: 200rpx;
  263. height: 72rpx;
  264. line-height: 72rpx;
  265. background: #4255E4;
  266. border-radius: 36rpx 36rpx 36rpx 36rpx;
  267. font-weight: 400;
  268. font-size: 28rpx;
  269. color: #FFFFFF;
  270. text-align: center;
  271. margin: 12rpx;
  272. }
  273. </style>