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 b44b456..ec54cf3 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -16,8 +16,8 @@ - - + + @@ -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 255547a..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 @@ + + 发布 + + + @@ -45,27 +50,35 @@ export default { data() { return { + ShopInfomation:{ city:'', area:'', count:0, - show1:false, - show2:false, - show3:false, + + }, + form:{ title:'' }, columns:[ ['中国', '美国'], ['深圳', '厦门', '上海', '拉萨'] - ] + ], + show1:false, + show2:false, + show3:false, } + }, 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('提交'); + } } } @@ -73,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; + }