修改价格
parent
6188084203
commit
9d0df85bee
|
|
@ -65,3 +65,7 @@ span.anticon:not(.app-iconify) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-modal-body {
|
||||||
|
padding: 24px !important;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<Box title="稻虾每周价格(元/斤)">
|
<Box title="稻虾每周价格(元/斤)">
|
||||||
|
<template #center>
|
||||||
|
<div
|
||||||
|
class="text-center bg-clip-text text-transparent bg-gradient-to-t from-[#76E9F0] to-[#A7E6EE] ml-10.5px text-18px font-pmzd"
|
||||||
|
>最新价格 {{ Data.c_price }} 元/斤</div
|
||||||
|
>
|
||||||
|
</template>
|
||||||
<div class="h-full flex flex-col">
|
<div class="h-full flex flex-col">
|
||||||
<div class="flex-1" ref="chartRef"> </div>
|
<div class="flex-1" ref="chartRef"> </div>
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
|
|
@ -35,6 +41,7 @@
|
||||||
const Data = reactive({
|
const Data = reactive({
|
||||||
x_axis: [],
|
x_axis: [],
|
||||||
series: [],
|
series: [],
|
||||||
|
c_price: 0,
|
||||||
})
|
})
|
||||||
|
|
||||||
const chartRef = ref<HTMLDivElement | null>(null)
|
const chartRef = ref<HTMLDivElement | null>(null)
|
||||||
|
|
@ -148,9 +155,9 @@
|
||||||
|
|
||||||
Data.x_axis = resData.x_axis
|
Data.x_axis = resData.x_axis
|
||||||
Data.series = resData.series
|
Data.series = resData.series
|
||||||
|
Data.c_price = resData.c_price
|
||||||
|
|
||||||
current.value = Math.ceil(resData.c_week / pageSize.value)
|
current.value = Math.ceil(resData.c_week / pageSize.value)
|
||||||
console.log(current.value)
|
|
||||||
|
|
||||||
chartsInit()
|
chartsInit()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue