fix: package-list
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 45s
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 45s
This commit is contained in:
@@ -33,20 +33,14 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="package-summary">
|
<view class="package-summary">
|
||||||
<view class="summary-item">
|
<view class="summary-name">{{ currentPackage?.package_name }}</view>
|
||||||
<text class="label">套餐名称</text>
|
<view class="summary-price">¥{{ formatMoney(currentPackage?.retail_price) }}</view>
|
||||||
<text class="value">{{ currentPackage?.package_name }}</text>
|
|
||||||
</view>
|
|
||||||
<view class="summary-item">
|
|
||||||
<text class="label">支付金额</text>
|
|
||||||
<text class="value price">¥{{ formatMoney(currentPackage?.retail_price) }}</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="payment-methods">
|
<view class="payment-methods">
|
||||||
<view class="method-item" :class="{ active: paymentMethod === 'wechat' }" @tap="selectPaymentMethod('wechat')">
|
<view class="method-item" :class="{ active: paymentMethod === 'wechat' }" @tap="selectPaymentMethod('wechat')">
|
||||||
<view class="method-left">
|
<view class="method-left">
|
||||||
<view class="method-icon wechat-icon">💚</view>
|
<image class="method-icon" src="/static/wechat.png" mode="aspectFit"></image>
|
||||||
<text class="method-name">微信支付</text>
|
<text class="method-name">微信支付</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="method-radio" :class="{ checked: paymentMethod === 'wechat' }"></view>
|
<view class="method-radio" :class="{ checked: paymentMethod === 'wechat' }"></view>
|
||||||
@@ -54,7 +48,7 @@
|
|||||||
|
|
||||||
<view class="method-item" :class="{ active: paymentMethod === 'wallet' }" @tap="selectPaymentMethod('wallet')">
|
<view class="method-item" :class="{ active: paymentMethod === 'wallet' }" @tap="selectPaymentMethod('wallet')">
|
||||||
<view class="method-left">
|
<view class="method-left">
|
||||||
<view class="method-icon wallet-icon">💰</view>
|
<image class="method-icon" src="/static/wallet.png" mode="aspectFit"></image>
|
||||||
<view class="method-info">
|
<view class="method-info">
|
||||||
<text class="method-name">账户余额</text>
|
<text class="method-name">账户余额</text>
|
||||||
<text class="wallet-balance">余额: ¥{{ formatMoney(walletBalance) }}</text>
|
<text class="wallet-balance">余额: ¥{{ formatMoney(walletBalance) }}</text>
|
||||||
@@ -391,35 +385,22 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.package-summary {
|
.package-summary {
|
||||||
padding: 30rpx;
|
padding: 40rpx 30rpx;
|
||||||
background: var(--gray-100);
|
background: rgba(0, 122, 255, 0.03);
|
||||||
border-bottom: 1rpx solid var(--border-light);
|
border-bottom: 1rpx solid var(--border-light);
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
.summary-item {
|
.summary-name {
|
||||||
display: flex;
|
font-size: 28rpx;
|
||||||
justify-content: space-between;
|
font-weight: 500;
|
||||||
align-items: center;
|
color: var(--text-primary);
|
||||||
margin-bottom: 16rpx;
|
margin-bottom: 16rpx;
|
||||||
|
}
|
||||||
|
|
||||||
&:last-child {
|
.summary-price {
|
||||||
margin-bottom: 0;
|
font-size: 48rpx;
|
||||||
}
|
font-weight: 700;
|
||||||
|
color: var(--primary);
|
||||||
.label {
|
|
||||||
font-size: 26rpx;
|
|
||||||
color: var(--text-secondary);
|
|
||||||
}
|
|
||||||
|
|
||||||
.value {
|
|
||||||
font-size: 26rpx;
|
|
||||||
color: var(--text-primary);
|
|
||||||
|
|
||||||
&.price {
|
|
||||||
font-size: 32rpx;
|
|
||||||
font-weight: 700;
|
|
||||||
color: var(--warning);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -452,14 +433,8 @@
|
|||||||
gap: 20rpx;
|
gap: 20rpx;
|
||||||
|
|
||||||
.method-icon {
|
.method-icon {
|
||||||
width: 64rpx;
|
width: 48rpx;
|
||||||
height: 64rpx;
|
height: 48rpx;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: 40rpx;
|
|
||||||
border-radius: var(--radius-medium);
|
|
||||||
background: var(--gray-100);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.method-info {
|
.method-info {
|
||||||
|
|||||||
BIN
static/wechat.png
Normal file
BIN
static/wechat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
Reference in New Issue
Block a user