|
|
@@ -25,7 +25,7 @@
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
<div class="text1">GAS费用</div>
|
|
|
- <div class="text2">¥1</div>
|
|
|
+ <div class="text2">¥{{ gas }}</div>
|
|
|
</div>
|
|
|
|
|
|
<van-field
|
|
|
@@ -100,18 +100,22 @@ export default {
|
|
|
],
|
|
|
bottom: null,
|
|
|
orderId: 0,
|
|
|
+ gas: 1,
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
money() {
|
|
|
if (this.info.price) {
|
|
|
- return this.info.price + 1;
|
|
|
+ return this.info.price + this.gas;
|
|
|
} else {
|
|
|
return 0;
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
+ this.$http.post("/sysConfig/get/gas_fee").then((res) => {
|
|
|
+ this.gas = res.value;
|
|
|
+ });
|
|
|
this.$toast.loading({
|
|
|
message: "加载中...",
|
|
|
forbidClick: true,
|