From 05bd41aab8c9dba2cf7afcd78493415761f11d9d Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期四, 26 九月 2024 08:54:08 +0800
Subject: [PATCH] update 供应商刷新问题
---
pages/home/components/home-price.vue | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/pages/home/components/home-price.vue b/pages/home/components/home-price.vue
index 03bc4c6..8b43795 100644
--- a/pages/home/components/home-price.vue
+++ b/pages/home/components/home-price.vue
@@ -1,7 +1,7 @@
<template>
<view class="home-price">
<view class="flex t1">
- <view>2024-06-03 09:20:19 花满芫成交均价</view>
+ <view>{{today}} 花满芫成交均价</view>
<!-- <uni-icons class="m-l-a m-r-0" type="right"></uni-icons>-->
</view>
<view class="items" style="border-top: 2rpx solid #EEEEEE;">
@@ -109,14 +109,17 @@
return {
list1: [],
list2: [],
+ today: ''
};
},
async mounted() {
-
+ this.today = this.$util.toDateSec(new Date())
const {
data
} = await this.$http.request('get', '/api/pub/customer/home/category/price/ave', {
- size: 6,
+ params:{
+ size: 6,
+ }
})
var list = data && data.records || []
this.list1 = []
--
Gitblit v1.9.3