From b3f37a183ed9aa0b9d9c075560aee041a1422adc Mon Sep 17 00:00:00 2001 From: xiaoronghao <1300399510@qq.com> Date: Tue, 18 Apr 2023 17:53:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=8F=90=E4=BA=A4=E4=BA=8E?= =?UTF-8?q?=202023/04/18=20-17:53:39?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/edit/edit.json | 3 +- pages/edit/edit.wxml | 6 +- project.config.json | 2 +- .../choiceTypeRelease/choiceTypeRelease.js | 59 +++++++++++-------- .../choiceTypeRelease/choiceTypeRelease.wxml | 5 +- .../choiceTypeRelease/choiceTypeRelease.wxss | 22 +++++-- 6 files changed, 60 insertions(+), 37 deletions(-) diff --git a/pages/edit/edit.json b/pages/edit/edit.json index 09cb7a3..b0746b3 100644 --- a/pages/edit/edit.json +++ b/pages/edit/edit.json @@ -6,6 +6,7 @@ "go-login": "../../template/goLogin/goLogin", "select-single": "../../template/selectSingle/selectSingle", "custom-picker": "/template/datepickerview/datepickerview", - "choice-type-release": "/template/choiceTypeRelease/choiceTypeRelease" + "choice-type-release": "/template/choiceTypeRelease/choiceTypeRelease", + "about-release": "/template/aboutRelease/aboutRelease" } } \ No newline at end of file diff --git a/pages/edit/edit.wxml b/pages/edit/edit.wxml index ea3c73e..b11d341 100644 --- a/pages/edit/edit.wxml +++ b/pages/edit/edit.wxml @@ -21,7 +21,11 @@ - + + + + + {{ isInput? isInput :( types=='edit' ?'编辑房源信息' :'发布房源信息' ) }} diff --git a/project.config.json b/project.config.json index 192b2e2..bc3da31 100644 --- a/project.config.json +++ b/project.config.json @@ -41,7 +41,7 @@ "ignoreUploadUnusedFiles": true }, "compileType": "miniprogram", - "libVersion": "2.29.2", + "libVersion": "2.28.1", "appid": "wx9c68fbf7886ea9c4", "projectname": "%E5%AF%84%E6%89%98%E7%A7%9F%E6%88%BF", "simulatorType": "wechat", diff --git a/template/choiceTypeRelease/choiceTypeRelease.js b/template/choiceTypeRelease/choiceTypeRelease.js index c1f6370..f3a7f0c 100644 --- a/template/choiceTypeRelease/choiceTypeRelease.js +++ b/template/choiceTypeRelease/choiceTypeRelease.js @@ -24,33 +24,40 @@ Component({ name: "其他", explain: "二房东、物业租赁公司等", }, ], - rulesList: [{ - content: `中介账号发布的房源信息,均展示在“中介房源”频道中,即不能发布“个人房源”、“求房源”;如您已上架个人房源或求房源信息,在你确认中介身份后,将会自动下架`, - type: 1, - }, - { - content: `个人账号只能发布“个人房源”、“求房源”,在您确认不是中介身份后,将会自动下架您的中介房源;`, - type: 1, - }, - { - content: `中介账号只能发布“中介房源”,如您已上架个人房源或求房源信息,在你确认中介身份后,将会自动下架;`, - type: 1, - }, - { - content: `中介账号(未认证)最多可同时上架 3 条房源信息`, - type: 1, - }, - { - content: `中介账号(有认证)最多可同时上架 20 条房源信息`, - type: 1, - }, - { - content: `中介帐号(有认证)拥有搜索、过滤“求房源”信息的功能`, - type: 1, - }, - + rulesList: { + person: [`中介账号发布的房源信息,均展示在“中介房源”频道中,即不能发布“个人房源”、“求房源”;如您已上架个人房源或求房源信息,在你确认中介身份后,将会自动下架`, - ] + ], + intermediary: [{}] + + } + // rulesList: [{ + // content: `中介账号发布的房源信息,均展示在“中介房源”频道中,即不能发布“个人房源”、“求房源”;如您已上架个人房源或求房源信息,在你确认中介身份后,将会自动下架`, + // type: 1, + // }, + // { + // content: `个人账号只能发布“个人房源”、“求房源”,在您确认不是中介身份后,将会自动下架您的中介房源;`, + // type: 1, + // }, + // { + // content: `中介账号只能发布“中介房源”,如您已上架个人房源或求房源信息,在你确认中介身份后,将会自动下架;`, + // type: 1, + // }, + // { + // content: `中介账号(未认证)最多可同时上架 3 条房源信息`, + // type: 1, + // }, + // { + // content: `中介账号(有认证)最多可同时上架 20 条房源信息`, + // type: 1, + // }, + // { + // content: `中介帐号(有认证)拥有搜索、过滤“求房源”信息的功能`, + // type: 1, + // }, + + + // ] }, /** diff --git a/template/choiceTypeRelease/choiceTypeRelease.wxml b/template/choiceTypeRelease/choiceTypeRelease.wxml index b7758d7..904f397 100644 --- a/template/choiceTypeRelease/choiceTypeRelease.wxml +++ b/template/choiceTypeRelease/choiceTypeRelease.wxml @@ -1,9 +1,6 @@ - - - 请选择 @@ -43,7 +40,7 @@ - + 重新选择 确认并继续 diff --git a/template/choiceTypeRelease/choiceTypeRelease.wxss b/template/choiceTypeRelease/choiceTypeRelease.wxss index 954c752..4ce69f6 100644 --- a/template/choiceTypeRelease/choiceTypeRelease.wxss +++ b/template/choiceTypeRelease/choiceTypeRelease.wxss @@ -152,7 +152,6 @@ } .rules-item { - /* padding: 31.5rpx 0; */ font-size: #555555; color: #555555; font-size: 24rpx; @@ -162,7 +161,6 @@ .rules-item .rules-content { padding: 31.5rpx 0; - } .rules-item:not(:last-of-type) .rules-content { @@ -170,7 +168,10 @@ } .operation { + height: 186rpx; justify-content: space-between; + border-top: 1rpx solid #ebebeb; + padding: 0 30rpx; } .operation-item { @@ -180,6 +181,19 @@ text-align: center; color: #000; font-size: 36rpx; - background-color: rgba(80, 227, 194, 1); - border-radius: 60rpx; + border: 1rpx solid rgba(215, 215, 215, 1); + border-radius: 82.5rpx; +} + +.operation-item:first-of-type { + background-color: #ffffff; + border: 1rpx solid rgba(215, 215, 215, 1); +} + +.operation-item:last-of-type { + background-color: rgba(98, 177, 255, 1); + color: #ffffff; + font-size: 36rpx; + font-weight: 650; + border: none; } \ No newline at end of file