This commit is contained in:
浅念
2025-12-26 11:53:13 +08:00
parent 4d6c0d6901
commit ea2e2fec25
6 changed files with 253 additions and 126 deletions
+9 -5
View File
@@ -2,9 +2,6 @@
<view class="detail-page">
<uni-nav-bar leftText=" " :fixed="true" :border="false" leftIcon="back" @clickLeft="leftClick" color="#000"
backgroundColor="#fff" :statusBar="true" :title="detail.sku.product_name"></uni-nav-bar>
<button open-type="share" class="circle-btn">
<image src="/static/image/shares.png" class="share" mode=""></image>
</button>
<scroll-view scroll-y class="page-scroll">
<!-- 图集 -->
<view class="gallery">
@@ -45,6 +42,9 @@
<text class="spec-label">是否包邮:</text>
<text class="spec-value">{{ detail.is_free==0?'不包邮':detail.is_free==1?'全国包邮':detail.is_free==2?'省内包邮':'邮费电联' }}</text>
</view>
<button open-type="share" class="circle-btn">
<image src="/static/image/shares.png" class="share" mode=""></image>
</button>
</view>
<view class="product-card" v-if="detail.sku.point">
<view class="product-point-title"> 产品卖点 </view>
@@ -736,6 +736,7 @@ page,
background: #fff;
margin-top: 16rpx;
padding: 24rpx 24rpx 12rpx;
position: relative;
}
.title {
font-size: 32rpx;
@@ -1043,12 +1044,15 @@ page,
align-items: center;
gap: 6rpx;
}
.circle-btn::after{
border: 1px solid #fff !important;
}
.circle-btn {
z-index: 11;
position: fixed;
position: absolute;
right: 20rpx;
margin-top: 20rpx;
top: 180rpx;
bottom: 32%;
border-radius: 50%;
width: 80rpx;
height: 80rpx;