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

297 lines
6.6 KiB

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 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>
  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. onShareAppMessage(res) {
  144. return {
  145. title: this.detail.title,
  146. path: '/pages_order/renting/rentingDetail?id=' + this.id
  147. }
  148. },
  149. onPullDownRefresh() {
  150. this.getDetail()
  151. },
  152. onShow() {
  153. this.getDetail()
  154. },
  155. methods: {
  156. clickShare() {
  157. uni.share({
  158. provider: 'weixin',
  159. type: 5,
  160. success: (res) => {
  161. console.log(res);
  162. }
  163. });
  164. },
  165. clickService() {
  166. uni.makePhoneCall({
  167. phoneNumber: this.detail.phone,
  168. });
  169. },
  170. getDetail(){
  171. let data = {
  172. id : this.id
  173. }
  174. this.$api('getRentDetail', data, res => {
  175. if(res.code == 200){
  176. this.params.name = res.result.title
  177. this.detail = res.result
  178. }
  179. })
  180. },
  181. }
  182. }
  183. </script>
  184. <style scoped lang="scss">
  185. .leftClick{
  186. position: absolute;
  187. top: calc(var(--status-bar-height) + 20rpx);
  188. left: 20rpx;
  189. background-color: #00000033;
  190. padding: 20rpx;
  191. border-radius: 50%;
  192. z-index: 99;
  193. }
  194. .t0 {
  195. font-weight: 1000;
  196. font-size: 32rpx;
  197. color: #FF0000;
  198. line-height: 64rpx;
  199. }
  200. .t1 {
  201. font-weight: bold;
  202. font-size: 36rpx;
  203. color: #3D3D3D;
  204. line-height: 64rpx;
  205. }
  206. .t2 {
  207. font-weight: 400;
  208. font-size: 24rpx;
  209. color: #ADADAD;
  210. line-height: 42rpx;
  211. }
  212. .driver {
  213. width: 100%;
  214. height: 2rpx;
  215. background-color: #D5D5D5;
  216. opacity: .4;
  217. margin: 20rpx auto;
  218. }
  219. .xr {
  220. padding: 10rpx 0 20rpx;
  221. }
  222. .font-a {
  223. font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  224. font-weight: 400;
  225. font-size: 30rpx;
  226. color: #3D3D3D;
  227. line-height: 46rpx;
  228. text-align: center;
  229. }
  230. .font-b {
  231. font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  232. font-weight: 400;
  233. font-size: 24rpx;
  234. color: #ADADAD;
  235. line-height: 46rpx;
  236. }
  237. .font-d {
  238. font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  239. font-weight: 800;
  240. font-size: 28rpx;
  241. color: #333;
  242. line-height: 32rpx;
  243. }
  244. .font-c {
  245. font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  246. font-weight: 400;
  247. font-size: 24rpx;
  248. color: #333;
  249. line-height: 46rpx;
  250. }
  251. .d-btn {
  252. width: 200rpx;
  253. height: 72rpx;
  254. line-height: 72rpx;
  255. background: #4255E4;
  256. border-radius: 36rpx 36rpx 36rpx 36rpx;
  257. font-weight: 400;
  258. font-size: 28rpx;
  259. color: #FFFFFF;
  260. text-align: center;
  261. margin: 12rpx;
  262. }
  263. </style>