diff --git a/doc/9704d4a0-e8d8-40fc-a2b6-28b928013a60.png b/doc/9704d4a0-e8d8-40fc-a2b6-28b928013a60.png new file mode 100644 index 0000000..035a4b5 Binary files /dev/null and b/doc/9704d4a0-e8d8-40fc-a2b6-28b928013a60.png differ diff --git a/pages/home/index.vue b/pages/home/index.vue index dee8500..e9070f6 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -103,7 +103,7 @@ city:"", keyword:"", lineBg: lineBg, - bannerList:["https://tennis-oss.xzaiyp.top/2024-12-08/9704d4a0-e8d8-40fc-a2b6-28b928013a60.png"], + bannerList:["https://image.hhlm1688.com/2025-08-05/b9b3d015-fcaf-4667-8946-ad9436503a25.jpg"], nav:[], noticeObj:{}, houseTypeList:[], diff --git a/pages_subpack/detail/index.vue b/pages_subpack/detail/index.vue index 68b44d2..f1da384 100644 --- a/pages_subpack/detail/index.vue +++ b/pages_subpack/detail/index.vue @@ -22,13 +22,33 @@ 价格 - {{detail.price}}元/月 + + {{detail.price}} + + + + + + - - 户型 + + 类型 {{detail.homeType}} - + 面积 {{detail.homeMi}}平方米 diff --git a/pages_subpack/house/other.vue b/pages_subpack/house/other.vue index e2f2e0b..c6d764c 100644 --- a/pages_subpack/house/other.vue +++ b/pages_subpack/house/other.vue @@ -52,9 +52,10 @@ - + + - 开放式填写,可填写具体价格或"面议"等 + 请输入数字,支持小数点后两位 @@ -89,7 +90,10 @@ 本人同意授权我平台发布信息、代理销售等。本人承诺所提供的信息真实有效,并同意平台进行相关推广和销售代理。 - + 我已阅读并同意代理协议 @@ -144,7 +148,8 @@ { pattern: /^1[3-9]\d{9}$/, message: '请输入正确的手机号码', trigger: ['blur', 'change'] } ], price: [ - { required: true, message: '请输入价格信息', trigger: ['blur', 'change'] } + { required: true, message: '请输入价格', trigger: ['blur', 'change'] }, + { pattern: /^\d+(\.\d{1,2})?$/, message: '请输入正确的价格格式', trigger: ['blur', 'change'] } ], description: [ { required: true, message: '请输入资源介绍', trigger: ['blur', 'change'] }, @@ -248,6 +253,12 @@ this.$refs.picker.open(); }, + // 代理协议状态变化 + onAgreementChange(e) { + console.log('代理协议状态变化:', e); + this.form.agreeProtocol = e; + }, + confirm(e) { let that = this let {indexs,value,values} = e @@ -257,6 +268,7 @@ // 提交表单 submit() { + console.log(this.form.agreeProtocol); // 检查是否同意代理协议 if (!this.form.agreeProtocol) { uni.showToast({ @@ -437,6 +449,13 @@ gap: 10rpx; } + .price-unit { + font-size: 26rpx; + color: #1EC77A; + font-weight: bold; + margin-left: 10rpx; + } + .char-count { font-size: 22rpx; color: #999; @@ -476,4 +495,4 @@ color: #333; margin-left: 10rpx; } - \ No newline at end of file + \ No newline at end of file