From 3257f00aa4ad4eab16bb02b9a415d0c2654bce13 Mon Sep 17 00:00:00 2001 From: GJW200011 <2399547226@qq.com> Date: Fri, 8 Oct 2021 16:41:59 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E7=8A=B6=E6=80=81=E6=9B=B4=E6=94=B9=20?= =?UTF-8?q?=200=E7=AB=8B=E5=8D=B3=E8=B4=AD=E4=B9=B01=E6=BC=94=E5=87=BA?= =?UTF-8?q?=E7=BB=93=E6=9D=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/opera/show/show_detail.wxml | 21 +++--- pages/opera/show/show_detail.wxss | 103 ++++++++++++++++++++---------- 2 files changed, 84 insertions(+), 40 deletions(-) diff --git a/pages/opera/show/show_detail.wxml b/pages/opera/show/show_detail.wxml index e38fa1b..3b72092 100644 --- a/pages/opera/show/show_detail.wxml +++ b/pages/opera/show/show_detail.wxml @@ -40,11 +40,10 @@ 演出详情 - - - - + + + + {{rolled?"展开演出详情":"收起演出详情"}} @@ -115,8 +114,13 @@ - + + + + @@ -140,6 +144,7 @@ - + \ No newline at end of file diff --git a/pages/opera/show/show_detail.wxss b/pages/opera/show/show_detail.wxss index 455e566..c3eb736 100644 --- a/pages/opera/show/show_detail.wxss +++ b/pages/opera/show/show_detail.wxss @@ -4,25 +4,54 @@ height: 0; color: transparent; } -.nav_show{ + +.btn { + /* color:"linear-gradient(90deg, #FF4284 0%, #FF1D42 100%)" */ + flex: 1; + text-align: center; + width: 400rpx; + height: 72rpx; + line-height: 72rpx; + background: linear-gradient(90deg, #FF4284 0%, #FF1D42 100%); + border-radius: 44rpx; + font-size: 28rpx; + color: #FFFFFF; + margin-right: 40rpx; +} + +.btn.btn1 { + pointer-events: none; + background: linear-gradient(90deg, #cccccc 0%, #CCC 100%); +} + +.nav_show { position: fixed; - top:0; width: 100%; - display: flex; justify-content: space-around; + top: 0; + width: 100%; + display: flex; + justify-content: space-around; background: #fff; box-shadow: 0 4rpx 8rpx 0 #DBDBDB; border-top: 2rpx solid #F8F8F7; border-bottom: 2rpx solid #F8F8F7; z-index: 99; } -.topLine{text-align: center;margin: 20rpx;color: #7B7B7B;} -.topLine.active{ - position: relative;color: #181818;font-weight: bold; +.topLine { + text-align: center; + margin: 20rpx; + color: #7B7B7B; +} + +.topLine.active { + position: relative; + color: #181818; + font-weight: bold; } .topLine.active:after { content: " "; - width:1rem; + width: 1rem; height: 0.12rem; background: #fff; position: absolute; @@ -31,7 +60,7 @@ left: 50%; transform: translateX(-50%); background-color: #FF446B; - border-radius:0.12rem; + border-radius: 0.12rem; } @@ -97,70 +126,79 @@ justify-content: space-between; background: #fff; } -._area .info .text1{ -font-size: 28rpx; + +._area .info .text1 { + font-size: 28rpx; } -._area .info .text2{ + +._area .info .text2 { font-size: 24rpx; margin-top: 4rpx; color: #7B7B7B; - } -._block{ +} + +._block { background: #fff; margin-bottom: 20rpx; } -._block ._title{ + +._block ._title { display: flex; align-items: center; font-size: 16px; -font-weight: bold; -color: #181818; -padding: 30rpx; + font-weight: bold; + color: #181818; + padding: 30rpx; } -._block ._title ._icon{ + +._block ._title ._icon { width: 8rpx; height: 36rpx; background: #FF446B; border-radius: 4rpx; margin: 0 20rpx 0 0; } -._block ._flex{ + +._block ._flex { display: flex; white-space: nowrap; margin: 0 30rpx; width: 690rpx; } - ._block ._flex ._img{ +._block ._flex ._img { border-radius: 8rpx; width: 540rpx; height: 360rpx; margin: 0 10rpx; } -._block .img1{ -margin: 0 auto 0 30rpx; -display: flex; -flex-direction: column; + +._block .img1 { + margin: 0 auto 0 30rpx; + display: flex; + flex-direction: column; } -._block .img1 .img1_list{ + +._block .img1 .img1_list { width: 690rpx; vertical-align: top; margin-top: -1rpx; } -._block .roll{ + +._block .roll { text-align: center; margin: 20rpx 0; font-size: 24rpx; color: #1394F2; } -._block .warning { +._block .warning { background: #fff; padding-bottom: 20rpx; display: flex; } -._block .warning .dot_icon { +._block .warning .dot_icon { width: 8rpx; margin: 0 20rpx 0 30rpx; height: 36rpx; @@ -168,7 +206,7 @@ flex-direction: column; display: flex; } -._block .warning .dot_icon .dot { +._block .warning .dot_icon .dot { width: 8rpx; height: 8rpx; background: #7B7B7B; @@ -222,7 +260,8 @@ flex-direction: column; margin-left: 30rpx; color: #7B7B7B; } -.drama_list .scroll{ + +.drama_list .scroll { height: 400rpx; margin: 20rpx 0 90rpx 0; } @@ -268,7 +307,7 @@ flex-direction: column; border-top: 3px solid rgba(153, 153, 153, 0.2); } -._bottom .selector_dsn { +._bottom .selector_dsn { margin: 30rpx auto; width: 482rpx; height: 72rpx; @@ -279,6 +318,6 @@ flex-direction: column; color: #FFFFFF; } -.van-goods-action{ +.van-goods-action { height: 100rpx !important; } \ No newline at end of file