修复bug
This commit is contained in:
@@ -55,10 +55,6 @@
|
||||
</view>
|
||||
|
||||
<view class="h5-bottom-actions">
|
||||
<view class="action-btn secondary" @click="$emit('buy')">
|
||||
<image class="action-icon" src="/static/shop_icon.png" mode="aspectFit" />
|
||||
<text class="action-label">{{ buyDeviceText }}</text>
|
||||
</view>
|
||||
<view class="action-btn primary" @click="$emit('scan')">
|
||||
<image class="action-icon" src="/static/scan-icon.png" mode="aspectFit" />
|
||||
<text class="action-label primary-label">{{ scanText }}</text>
|
||||
@@ -243,34 +239,36 @@
|
||||
right: 20rpx;
|
||||
bottom: 30rpx;
|
||||
z-index: 1200;
|
||||
padding: 14rpx;
|
||||
padding: 12rpx;
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
border-radius: 56rpx;
|
||||
border-radius: 28rpx;
|
||||
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.08);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: stretch;
|
||||
gap: 12rpx;
|
||||
}
|
||||
|
||||
.action-btn {
|
||||
height: 86rpx;
|
||||
border-radius: 43rpx;
|
||||
min-height: 84rpx;
|
||||
border-radius: 20rpx;
|
||||
padding: 0 20rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.action-btn.primary {
|
||||
flex: 1;
|
||||
background: #3EAB64;
|
||||
max-width: 360rpx;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.action-btn.secondary {
|
||||
width: 150rpx;
|
||||
width: 180rpx;
|
||||
background: #f4f6f8;
|
||||
border: 2rpx solid #e7eaee;
|
||||
}
|
||||
|
||||
.action-icon {
|
||||
@@ -285,6 +283,7 @@
|
||||
.action-label {
|
||||
font-size: 24rpx;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.primary-label {
|
||||
|
||||
Reference in New Issue
Block a user