|
|
@@ -97,15 +97,19 @@
|
|
|
|
|
|
<!-- 底部操作栏 -->
|
|
|
<view v-if="!loading && !errorMsg" class="bottom-bar">
|
|
|
- <view class="bottom-trust">
|
|
|
- <BrandSlogan type="standard" :compact="true" />
|
|
|
- </view>
|
|
|
<view class="bottom-actions">
|
|
|
- <view class="btn-back" @click="goBack">返回</view>
|
|
|
<view class="btn-open" @click="handleOpenDoor">
|
|
|
- {{ opening ? '处理中...' : '开门购物' }}
|
|
|
+ <image
|
|
|
+ class="btn-open__logo"
|
|
|
+ src="/static/icons/payscore-button.png"
|
|
|
+ mode="aspectFit"
|
|
|
+ />
|
|
|
+ <text>{{ opening ? '处理中...' : '扫码开门' }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="bottom-trust">
|
|
|
+ <BrandSlogan type="standard" :compact="true" />
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -678,39 +682,26 @@ const goBack = () => {
|
|
|
.bottom-trust {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
- margin-bottom: $spacing-sm;
|
|
|
+ margin-top: $spacing-sm;
|
|
|
}
|
|
|
|
|
|
.bottom-actions {
|
|
|
display: flex;
|
|
|
- gap: $spacing-sm;
|
|
|
-}
|
|
|
-
|
|
|
-.btn-back {
|
|
|
- flex: 2;
|
|
|
- text-align: center;
|
|
|
- padding: 22rpx 0;
|
|
|
- border-radius: $radius-xl;
|
|
|
- font-size: 28rpx;
|
|
|
- font-weight: 500;
|
|
|
- color: $color-text-secondary;
|
|
|
- background: $color-bg-tertiary;
|
|
|
-
|
|
|
- &:active {
|
|
|
- background: $color-border;
|
|
|
- }
|
|
|
+ justify-content: center;
|
|
|
}
|
|
|
|
|
|
.btn-open {
|
|
|
- flex: 3;
|
|
|
- text-align: center;
|
|
|
- padding: 22rpx 0;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ gap: 10rpx;
|
|
|
+ padding: 22rpx 120rpx;
|
|
|
border-radius: $radius-xl;
|
|
|
font-size: 30rpx;
|
|
|
font-weight: 600;
|
|
|
- color: $color-text-primary;
|
|
|
- background: linear-gradient(135deg, $color-primary, $color-primary-dark);
|
|
|
- box-shadow: 0 6rpx 20rpx rgba(255, 160, 0, 0.3);
|
|
|
+ color: $color-bg-primary;
|
|
|
+ background: linear-gradient(135deg, #00B74B, #009A3F);
|
|
|
+ box-shadow: 0 6rpx 20rpx rgba(0, 183, 75, 0.3);
|
|
|
animation: btn-breathe 2.4s $ease-in-out infinite;
|
|
|
|
|
|
&:active {
|
|
|
@@ -720,6 +711,12 @@ const goBack = () => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+.btn-open__logo {
|
|
|
+ width: 36rpx;
|
|
|
+ height: 36rpx;
|
|
|
+ flex-shrink: 0;
|
|
|
+}
|
|
|
+
|
|
|
@keyframes btn-breathe {
|
|
|
0%, 100% {
|
|
|
transform: scale(1);
|