uniapp【优化】: 优化支付结果页面状态icon为主题色红色,页面容器属性mode设置类型

This commit is contained in:
21世纪小八路
2024-11-03 15:55:31 +08:00
parent 2c5ab4f91a
commit a2f4fcc6cb
4 changed files with 6 additions and 6 deletions

View File

@@ -22,7 +22,7 @@
isBack : boolean,
bgColor : string,
titleColor : string,
mode : string,
mode : "left" | "center",
title : string,
isShowStatusBarHeight : boolean;
customStyle : any;

View File

@@ -23,7 +23,7 @@
isBack : boolean,
bgColor : string,
titleColor : string,
mode : string,
mode : "left"| "center",
title : string;
isShowStatusBarHeight : boolean;
customStyle : any;

View File

@@ -20,7 +20,7 @@
.price {
text-align: center;
font-size: 40rpx;
color: #ff7159;
color: #D33123;
font-weight: bold;
}
.desc {
@@ -34,7 +34,7 @@
margin-top: 50rpx;
width: 100%;
line-height: 80rpx;
background-color: #5ac725;
background-color: #D33123;
color: #fff;
text-align: center;
border-radius: 200px;

View File

@@ -3,7 +3,7 @@
<view class="layout-result-box">
<view class="item-box" v-if="state.status && state.paymentInfo?.status === OrderPayStatusEnum.yes">
<view class="icon">
<uv-icon name="checkmark-circle-fill" color="#5ac725" size="90"></uv-icon>
<uv-icon name="checkmark-circle-fill" color="#D33123" size="90"></uv-icon>
</view>
<view class="title">支付成功</view>
<view class="price">{{ state.paymentInfo?.money || '' }}</view>
@@ -12,7 +12,7 @@
</view>
<view class="btn" @click="goOrderDetail()">查看详情</view>
</view>
<view class="item-box" v-if="state.status && state.paymentInfo?.status === OrderPayStatusEnum.no">
<view class="item-box" v-else>
<view class="icon">
<uv-icon name="close-circle-fill" color="#D33123" size="80"></uv-icon>
</view>