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

291 lines
6.6 KiB

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