From 11b98f4082cbb2be8fb2a396be9ebe00c0dceb2a Mon Sep 17 00:00:00 2001 From: hot777zz <912275990@qq.com> Date: Thu, 2 Nov 2023 18:02:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A2=81=E8=88=AA=EF=BC=9A=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/detail/detail.vue | 91 +++++++++++++++++++++++++++++++---------- 1 file changed, 69 insertions(+), 22 deletions(-) diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue index 8329b3a..6dc756b 100644 --- a/pages/detail/detail.vue +++ b/pages/detail/detail.vue @@ -1,7 +1,7 @@ @@ -76,11 +78,28 @@ }, data() { return { + viewheight:'', } }, methods: { - + // getHeight(){ + // let height = this.$refs.viewref.$el.offsetHeight + // this.viewheight = height + // }, + phonecall(){ + console.log('打电话'); + }, + share(){ + console.log('分享'); + }, + assist(){ + console.log('客服'); + } + }, + mounted(){ + // this.getHeight(); + // console.log(viewheight) } } @@ -90,12 +109,22 @@ // background-color: #F8F8F8; height: 100%; } + .bug-figure{ + height: 100rpx; + } .swiper { } .title{ padding: 20rpx; background-color: #fff; } + .grid-textup{ + color: #CC3333; + font-size: 20px; + } + .grid-text{ + color: #B3B3B3; + } .location-detail{ display: flex; margin-top: 20rpx; @@ -120,7 +149,8 @@ background-color: #fff; width: 100%; z-index: 100; - height: 100rpx; + // height: 100rpx; + // bottom: calc(var(--window-bottom) + 20px); } .bot-tab{ display: flex; @@ -131,19 +161,36 @@ width: 50%; display: flex; justify-content: space-around; - height: 100px; + height: 50px; } - .coustom{ - height: 100px; - } - .tab-right{ - width: 50%; - height: 100%; + .customer{ + // height: 50px; display: flex; justify-content: center; align-items: center; + flex-direction: column; + width: 50%; + } + .tab-right{ + width: 50%; + height: 50px; + display: flex; + justify-content: center; + align-items: center; + background-image: linear-gradient(to right, #E86262, #CC3333); } .share{ - + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + width: 50%; + } + .call{ + color: #fff; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; } \ No newline at end of file