diff --git a/components/BuyReportForm.vue b/components/BuyReportForm.vue
index f30a8b9..6df3db2 100644
--- a/components/BuyReportForm.vue
+++ b/components/BuyReportForm.vue
@@ -28,6 +28,15 @@ const { form, onSubmit } = useReportForm({
name: props.product.name,
targetCity: props.city.name
});
+
+const changePricePercent = (type: 'add' | 'reduce') => {
+ const percent = form.values.percent?.[0] ?? 100;
+ if (type === 'add') {
+ form.setFieldValue('percent', [percent + 1]);
+ } else {
+ form.setFieldValue('percent', [percent - 1]);
+ }
+}
@@ -51,25 +60,21 @@ const { form, onSubmit } = useReportForm({
-
价位
-
+
+
+
+
+
{{ form.values.targetCity !== city.name ? '售出价位' : '买入价位' }}
@@ -83,27 +88,25 @@ const { form, onSubmit } = useReportForm({
- 趋势
+ 涨跌趋势
-
-
+
+
+
+
+
- ↑
-
-
-
-
-
- -
-
+
+
+
+
- ↓
diff --git a/components/City.vue b/components/City.vue
index 3e0eb57..2cce6dc 100644
--- a/components/City.vue
+++ b/components/City.vue
@@ -78,8 +78,6 @@ const sortCitesByPercent = (filteredCities: CityInfo[], sourceCityName: string,
原产地采购价
城市售卖报价(按利润高低从左到右降序排序)
-
- 操作
@@ -127,12 +125,6 @@ const sortCitesByPercent = (filteredCities: CityInfo[], sourceCityName: string,
/>
-
-
-
-
-
-
diff --git a/components/CreateLog.vue b/components/CreateLog.vue
index e1e05a3..24aef98 100644
--- a/components/CreateLog.vue
+++ b/components/CreateLog.vue
@@ -85,7 +85,7 @@ const changePricePercent = (type: 'add' | 'reduce') => {