From e4233b5c4e123c4b79a38d0a9b0c8b60631e1683 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 30 七月 2024 10:40:24 +0800
Subject: [PATCH] update

---
 pages/home/components/home-category.vue |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/pages/home/components/home-category.vue b/pages/home/components/home-category.vue
index 910cc73..8e1e69e 100644
--- a/pages/home/components/home-category.vue
+++ b/pages/home/components/home-category.vue
@@ -1,7 +1,7 @@
 <template>
   <view class="home-category">
     <view class="flex">
-      <view class="t1">06-03(今日)第一场交易中</view>
+      <view class="t1">{{today}}(今日)第一场交易中</view>
       <view class="t2">当前在售123435扎</view>
     </view>
     <view class="m-t-12 flex">
@@ -16,12 +16,7 @@
 <script>
 export default {
   beforeMount() {
-    // for (var i = 0; i < 10; i++) {
-    // 	this.list.push({
-    // 		'url': 'https://hmy-flower.oss-cn-shanghai.aliyuncs.com/e2/e2ee2fa7cdef458ba748261305edc57435549b9113807b6fbbfd4bfa456334d.png',
-    // 		'name': '玫瑰'
-    // 	})
-    // }
+	  this.today = this.$util.toDate(new Date())
     this.$http.request('get', '/api/customer/flower/category/tree', {}).then(res => {
       var data = res.data
       this.list = []
@@ -45,6 +40,7 @@
   data() {
     return {
       list: [],
+	  today:'',
 
     };
   }

--
Gitblit v1.9.3