...
|
...
|
@@ -27,7 +27,9 @@ |
|
|
<!-- 价格信息 -->
|
|
|
<div class="price-info item-wrapper">
|
|
|
<p>
|
|
|
<span class="label">平台费用:<i class="tip"></i></span>
|
|
|
<span class="label platform-fee"
|
|
|
>平台费用:<i @click="onPlatformFee" class="tip"></i
|
|
|
></span>
|
|
|
<span>{{ platformFee.amount }}</span>
|
|
|
</p>
|
|
|
<p class="delivery-fee">
|
...
|
...
|
@@ -107,6 +109,7 @@ import DetailFooter from "./components//detail-footer"; |
|
|
import OrderActions from "../components/order-actions";
|
|
|
|
|
|
import orderActionMixin from "./mixins/order-action";
|
|
|
import PlatformFeeInfo from "../components/platform-fee-info";
|
|
|
|
|
|
const STORE_PATH = "order/orderDetail";
|
|
|
|
...
|
...
|
@@ -151,7 +154,26 @@ export default { |
|
|
])
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions(["fetchOrderDetail"])
|
|
|
...mapActions(["fetchOrderDetail"]),
|
|
|
onPlatformFee() {
|
|
|
this.$createDialog(
|
|
|
{
|
|
|
type: "alert",
|
|
|
title: "平台费用",
|
|
|
confirmBtn: { text: "我知道了" }
|
|
|
},
|
|
|
createElement => {
|
|
|
return [
|
|
|
createElement(PlatformFeeInfo, {
|
|
|
props: {
|
|
|
platformFeeInfo: { orderPriceDesc: "1341234123" }
|
|
|
},
|
|
|
slot: "content"
|
|
|
})
|
|
|
];
|
|
|
}
|
|
|
).show();
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
</script>
|
...
|
...
|
@@ -232,6 +254,12 @@ export default { |
|
|
.price-info {
|
|
|
font-size: 28px;
|
|
|
|
|
|
.platform-fee {
|
|
|
line-height: 1;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
.tip {
|
|
|
width: 60px;
|
|
|
height: 30px;
|
...
|
...
|
|