feat: 完全成本调换位置
This commit is contained in:
+1
-1
@@ -1078,7 +1078,7 @@
|
|||||||
logisticsFeeRuleEl.textContent = '(' + logisticsFeeRule + ')';
|
logisticsFeeRuleEl.textContent = '(' + logisticsFeeRule + ')';
|
||||||
commissionRuleEl.textContent = (logisticsLevel === 'low') ? '(销售价 × 12%)' : '(销售价 × 18%)';
|
commissionRuleEl.textContent = (logisticsLevel === 'low') ? '(销售价 × 12%)' : '(销售价 × 18%)';
|
||||||
fullCommissionRuleEl.textContent = (logisticsLevel === 'low') ? '(销售价 × 15.5%)' : '(销售价 × 21.5%)';
|
fullCommissionRuleEl.textContent = (logisticsLevel === 'low') ? '(销售价 × 15.5%)' : '(销售价 × 21.5%)';
|
||||||
[logisticsCard, totalCostCard, receivedCard, sellingCard].forEach((card, index) => {
|
[logisticsCard, receivedCard, totalCostCard, sellingCard].forEach((card, index) => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
card.classList.remove('opacity-0', 'translate-y-4');
|
card.classList.remove('opacity-0', 'translate-y-4');
|
||||||
}, index * 100);
|
}, index * 100);
|
||||||
|
|||||||
+14
-14
@@ -213,20 +213,6 @@
|
|||||||
<p class="text-3xl font-bold text-gray-100" id="commission">--</p>
|
<p class="text-3xl font-bold text-gray-100" id="commission">--</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="totalCostCard" class="flex result-card opacity-0 transform translate-y-4 transition-delay-100">
|
|
||||||
<div class="mr-20" style="width: 60%;">
|
|
||||||
<h3 class="text-lg font-medium text-gray-100 mb-2 flex items-center text-glow">
|
|
||||||
完全成本<span class="text-xs font-normal text-gray-500 ml-1">(进货价+物流费+平台总抽成)</span>
|
|
||||||
</h3>
|
|
||||||
<p class="text-3xl font-bold text-red-400" id="totalCost">--</p>
|
|
||||||
</div>
|
|
||||||
<div style="width: 40%;">
|
|
||||||
<h3 class="text-lg font-medium text-gray-100 mb-2 flex items-center text-glow">
|
|
||||||
平台总抽成<span id="fullCommissionRule" class="text-xs font-normal text-gray-500 ml-1"></span>
|
|
||||||
</h3>
|
|
||||||
<p class="text-3xl font-bold text-red-400" id="fullCommission">--</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="receivedCard" class="flex result-card opacity-0 transform translate-y-4 transition-delay-100">
|
<div id="receivedCard" class="flex result-card opacity-0 transform translate-y-4 transition-delay-100">
|
||||||
<div class="mr-20" style="width: 60%;">
|
<div class="mr-20" style="width: 60%;">
|
||||||
<h3 class="text-lg font-medium text-gray-100 mb-2 flex items-center text-glow">
|
<h3 class="text-lg font-medium text-gray-100 mb-2 flex items-center text-glow">
|
||||||
@@ -241,6 +227,20 @@
|
|||||||
<p class="text-3xl font-bold text-gray-100" id="profitElement">--</p>
|
<p class="text-3xl font-bold text-gray-100" id="profitElement">--</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="totalCostCard" class="flex result-card opacity-0 transform translate-y-4 transition-delay-100">
|
||||||
|
<div class="mr-20" style="width: 60%;">
|
||||||
|
<h3 class="text-lg font-medium text-gray-100 mb-2 flex items-center text-glow">
|
||||||
|
完全成本<span class="text-xs font-normal text-gray-500 ml-1">(进货价+物流费+平台总抽成)</span>
|
||||||
|
</h3>
|
||||||
|
<p class="text-3xl font-bold text-red-400" id="totalCost">--</p>
|
||||||
|
</div>
|
||||||
|
<div style="width: 40%;">
|
||||||
|
<h3 class="text-lg font-medium text-gray-100 mb-2 flex items-center text-glow">
|
||||||
|
平台总抽成<span id="fullCommissionRule" class="text-xs font-normal text-gray-500 ml-1"></span>
|
||||||
|
</h3>
|
||||||
|
<p class="text-3xl font-bold text-red-400" id="fullCommission">--</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div id="sellingCard" class="result-card opacity-0 transform translate-y-4 transition-delay-200">
|
<div id="sellingCard" class="result-card opacity-0 transform translate-y-4 transition-delay-200">
|
||||||
<div class="flex items-center justify-between mb-2">
|
<div class="flex items-center justify-between mb-2">
|
||||||
<h3 class="text-lg font-medium text-gray-100 flex items-center text-glow">
|
<h3 class="text-lg font-medium text-gray-100 flex items-center text-glow">
|
||||||
|
|||||||
Reference in New Issue
Block a user