fix: 前端页面功能优化。
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<view class="detail-card">
|
||||
<view class="card-header">
|
||||
<view class="card-title">
|
||||
<uni-icons type="heart" size="24" color="#fff"></uni-icons>
|
||||
<uni-icons type="heart" size="20" color="#fff"></uni-icons>
|
||||
<text class="card-name">{{ detailInfo.name }}</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -89,7 +89,7 @@ onLoad((option) => {
|
||||
|
||||
.card-header {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
padding: 32rpx;
|
||||
padding: 12rpx 20rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
@@ -97,12 +97,13 @@ onLoad((option) => {
|
||||
.card-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12rpx;
|
||||
gap: 8rpx;
|
||||
|
||||
.card-name {
|
||||
color: #fff;
|
||||
font-size: 36rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user