diff --git a/img/succeed-icon.png b/img/succeed-icon.png new file mode 100644 index 0000000..d60e207 Binary files /dev/null and b/img/succeed-icon.png differ diff --git a/pages/common/common.wxml b/pages/common/common.wxml index 7af0a8b..c5b7d08 100644 --- a/pages/common/common.wxml +++ b/pages/common/common.wxml @@ -405,4 +405,23 @@ + + + + \ No newline at end of file diff --git a/pages/common/common.wxss b/pages/common/common.wxss index d7b90d1..c06a69b 100644 --- a/pages/common/common.wxss +++ b/pages/common/common.wxss @@ -1,6 +1,7 @@ .repeatedRelease, .submitFailure, -.wrong-micro-signal { +.wrong-micro-signal, +.succeed-pop { position: fixed; top: 0; left: 0; @@ -286,10 +287,7 @@ align-items: center; justify-content: center; border-radius: 50rpx 50rpx 0 0; - padding-top: 30rpx; - padding-left: 32rpx; - padding-right: 32rpx; - padding-bottom: 48rpx; + padding: 30rpx 32rpx 48rpx; position: relative; } @@ -489,4 +487,46 @@ border-right: 2rpx solid #7f7f7f; transform: rotate(45deg); margin-left: 5px; +} + +.succeed-box { + background-color: #fff; + width: 750rpx; + border-radius: 50rpx 50rpx 0 0; + flex-direction: column; +} + +.succeed-box .succeed-icom { + width: 180rpx; + height: 180rpx; +} + +.succeed-box .succeed-title { + font-size: 42rpx; + color: #333333; + font-weight: 650; + margin-top: 30rpx; + margin-bottom: 30rpx; +} + +.succeed-box .succeed-reminder { + color: #555555; + font-size: 30rpx; + margin-bottom: 60rpx; +} + +.succeed-box .succeed-hint { + color: #7F7F7F; + font-size: 24rpx; + margin-bottom: 19.5rpx; +} + +.succeed-box .succeed-btn { + background-color: rgba(253, 223, 109, 1); + font-size: 36rpx; + font-weight: 650; + border-radius: 126rpx; + width: 360rpx; + height: 96rpx; + margin: 0 auto; } \ No newline at end of file diff --git a/pages/edit/edit.js b/pages/edit/edit.js index 46db6d2..5f4853c 100644 --- a/pages/edit/edit.js +++ b/pages/edit/edit.js @@ -195,7 +195,7 @@ Page({ updatetime: "", aroundSchoolList: [], unfoldState: false, // 发布须知的状态 - triggerRules: 0, // 触发规则状态 0 是未触发 1 是触发规则 1 2 是触发规则2 + triggerRules: 0, // 触发规则状态 0 是未触发 1 是触发规则 1 2 是触发规则2 current: 2019, leaseTimeValue: [11], floorValue: [12], diff --git a/pages/edit/edit.wxml b/pages/edit/edit.wxml index b11d341..6ef211b 100644 --- a/pages/edit/edit.wxml +++ b/pages/edit/edit.wxml @@ -18,14 +18,17 @@ module.exports.fn = fn; - - - + + + + + + {{ isInput? isInput :( types=='edit' ?'编辑房源信息' :'发布房源信息' ) }} diff --git a/template/aboutRelease/aboutRelease.js b/template/aboutRelease/aboutRelease.js index 8b31885..55b59ba 100644 --- a/template/aboutRelease/aboutRelease.js +++ b/template/aboutRelease/aboutRelease.js @@ -12,41 +12,40 @@ Component({ */ data: { rulesList: { - person: [{ - content: `中介账号发布的房源信息,均展示在“中介房源”频道中,即不能发布“个人房源”、“求房源”;如您已上架个人房源或求房源信息,在你确认中介身份后,将会自动下架`, - type: 1, - }, - { - content: `个人账号只能发布“个人房源”、“求房源”,在您确认不是中介身份后,将会自动下架您的中介房源;`, - type: 1, - }, - { - content: `中介账号只能发布“中介房源”,如您已上架个人房源或求房源信息,在你确认中介身份后,将会自动下架;`, - type: 1, - }, - { - content: `中介账号(未认证)最多可同时上架 3 条房源信息`, - type: 1, - }, - { - content: `中介账号(有认证)最多可同时上架 20 条房源信息`, - type: 1, - }, - { - content: `中介帐号(有认证)拥有搜索、过滤“求房源”信息的功能`, - type: 1, - }, - - - ] - - } + person: [`个人账号发布的房源信息将展示在“个人房源”或“求房源”频道中,其中个人房源包括普通房源认证房源;`, + `个人账号最多可同时上架 3 条普通房源/求房源;`, + `可对普通房源提交认证申请,审核通过后不占用普通房源/求房源的上架名额, 不限制认证房源的上架数量 。` + ], + agent: [`中介账号发布的房源信息将展示在“中介房源”频道中;`, `中介账号(未认证)最多可发布 3 条房源;`, `中介账号(有认证)最多可发布 20 条房源。`], + more: [`请按真实身份发布、请勿发布非寄托官方群/代看房信息,违规发布将被永久禁言,感谢合作;`, `所有房源信息每次上架的有效期为 12 个月,有效期内没有进行任何更新操作的,到期后将自动下架。`] + }, + tab: "person", // person 个人 agent 中介 more 更多 + navList: [{ + name: "个人账号", + type: "person" + }, { + name: "中介账号", + type: "agent" + }, { + name: "更多说明", + type: "more" + }] }, /** * 组件的方法列表 */ methods: { + // 切换nav + switchingNav(e) { + console.log(e); + // return + let type = e.currentTarget.dataset.type + this.setData({ + tab: type + }) + } + } }) \ No newline at end of file diff --git a/template/aboutRelease/aboutRelease.wxml b/template/aboutRelease/aboutRelease.wxml index 96fcdf7..0ca6099 100644 --- a/template/aboutRelease/aboutRelease.wxml +++ b/template/aboutRelease/aboutRelease.wxml @@ -1,20 +1,17 @@ - 关于发布 - 个人账号 + {{ item.name }} - - - - - - + + + + diff --git a/template/aboutRelease/aboutRelease.wxss b/template/aboutRelease/aboutRelease.wxss index 7a70ee9..8fc6ace 100644 --- a/template/aboutRelease/aboutRelease.wxss +++ b/template/aboutRelease/aboutRelease.wxss @@ -54,35 +54,19 @@ background-color: rgba(246, 246, 246, 1); padding: 8.5rpx 0; margin-bottom: 50rpx; + min-height: 372rpx; } .rules-item .rules-icon-box { - width: 24rpx; - height: 24rpx; - position: relative; + width: 12rpx; + height: 12rpx; margin-right: 18rpx; - margin-top: 43.5rpx; -} - -.rules-item .rules-icon-box::after { - content: ""; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - background-color: #000000; - width: 20rpx; - height: 20rpx; + margin-top: 39.5rpx; + background-color: rgb(80, 227, 194); border-radius: 50%; } -.rules-item .rules-icon-box .rules-icon { - width: 24rpx; - height: 24rpx; - z-index: 1; -} - .rules-item { font-size: #555555; color: #555555;