From 330d747f3f704010a584439ff0381223420fa0d6 Mon Sep 17 00:00:00 2001 From: hot777zz <912275990@qq.com> Date: Mon, 6 Nov 2023 22:23:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A2=81=E8=88=AA=EF=BC=9A=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 12 +++++- pages/Partnerships/Partnerships.vue | 41 +++++++++++++++++++ pages/detail/detail.vue | 18 ++++---- pages/my/my.vue | 7 +++- .../publishTransfer/publishTransfer.vue | 33 +++++++++++---- pages/published/published.vue | 31 ++++++++++++-- 6 files changed, 119 insertions(+), 23 deletions(-) create mode 100644 pages/Partnerships/Partnerships.vue diff --git a/pages.json b/pages.json index cfd946e..40348e8 100644 --- a/pages.json +++ b/pages.json @@ -97,7 +97,17 @@ } } - ], + + ,{ + "path" : "pages/Partnerships/Partnerships", + "style" : + { + "navigationBarTitleText": "成功合伙人", + "enablePullDownRefresh": false + } + + } + ], "tabBar": { "color": "#CCCCCC", "borderStyle": "white", diff --git a/pages/Partnerships/Partnerships.vue b/pages/Partnerships/Partnerships.vue new file mode 100644 index 0000000..f76af10 --- /dev/null +++ b/pages/Partnerships/Partnerships.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue index 6dc756b..eeef128 100644 --- a/pages/detail/detail.vue +++ b/pages/detail/detail.vue @@ -5,7 +5,7 @@ - 石锅饭铺面转让石锅饭铺面转让石锅饭铺面转 + {{title}} @@ -78,15 +78,13 @@ }, data() { return { - viewheight:'', + shopInfo:{ + + } } }, methods: { - // getHeight(){ - // let height = this.$refs.viewref.$el.offsetHeight - // this.viewheight = height - // }, phonecall(){ console.log('打电话'); }, @@ -97,10 +95,12 @@ console.log('客服'); } }, - mounted(){ - // this.getHeight(); - // console.log(viewheight) + onLoad: function(options) { + const shopInfomation = JSON.parse(decodeURIComponent(options.shopInfo)) + console.log(shopInfomation); + this.shopInfo = shopInfomation } + } diff --git a/pages/my/my.vue b/pages/my/my.vue index 34fd30d..ec54cf3 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -16,7 +16,7 @@ - + @@ -47,6 +47,11 @@ uni.navigateTo({ url:'/pages/detail/detail' }) + }, + topartner(){ + uni.navigateTo({ + url:'/pages/Partnerships/Partnerships' + }) } //---------页面调用接口示例------------ // getInfo() { diff --git a/pages/publish/publishTransfer/publishTransfer.vue b/pages/publish/publishTransfer/publishTransfer.vue index a23b878..c9760cf 100644 --- a/pages/publish/publishTransfer/publishTransfer.vue +++ b/pages/publish/publishTransfer/publishTransfer.vue @@ -3,7 +3,7 @@ - 发布房源图片({{count}}/5) + 发布房源图片({{ShopInfomation.count}}/5) @@ -12,7 +12,7 @@ 111111 - + @@ -37,7 +37,12 @@ + + 发布 + + + @@ -48,7 +53,9 @@ ShopInfomation:{ city:'', area:'', - count:0,}, + count:0, + + }, form:{ title:'' @@ -64,11 +71,14 @@ }, methods: { - confirm(e) { - this.city = e.value[0] - this.area = e.value[1] + confirmArea(e) { + this.ShopInfomation.city = e.value[0] + this.ShopInfomation.area = e.value[1] this.show1 = false - } + }, + submit(){ + console.log('提交'); + } } } @@ -76,6 +86,7 @@ diff --git a/pages/published/published.vue b/pages/published/published.vue index ad29a51..e55981b 100644 --- a/pages/published/published.vue +++ b/pages/published/published.vue @@ -1,5 +1,5 @@ @@ -15,7 +18,8 @@ export default { data() { return { - titletext:'' + titletext:'', + listId:'' } }, methods: { @@ -25,8 +29,24 @@ wx.setNavigationBarTitle({ title: option.titletext }) + this.titletext = option.titletext + if(this.titletext == '发布的店铺转让'){ + this.listId = 0 + } + else if(this.titletext == '发布的找店选址'){ + this.listId = 1 + } + else if(this.titletext = '成功合伙人'){ + this.listId = 2 + } + else + this.listId = 3 + + }, - + computed:{ + + } } @@ -59,4 +79,7 @@ } } } + .body{ + background-color: #F8F8F8; + }