张文飞 3 роки тому
батько
коміт
7a32315107
1 змінених файлів з 7 додано та 1 видалено
  1. 7 1
      pages/homePage/homePage.vue

+ 7 - 1
pages/homePage/homePage.vue

@@ -186,7 +186,7 @@
 								<image src="https://dm.static.elab-plus.com/yezhu/icon_home_house.png" mode=""></image>
 								<text style="width: 100%;" :style="{color:contentColor}">{{item.projectLayout}}</text>
 							</view>
-							<text class="house_desc" :style="{color:contentColor}">{{item.taskEndTime}}</text>
+							<text class="house_desc" :style="{color:contentColor}">{{item.taskEndTime | formattime }}</text>
 						</view> 
 					</view>
 					
@@ -222,8 +222,14 @@
 	import dmHomeChoose from "@/components/subComponents/dmHomeChoose.vue"
 	import showGuide from '@/components/subComponents/showGuide.vue'
 	import countTo from 'vue-count-to';
+	import {displayDateFormatChi} from '@/static/format.js'
 	let app = getApp();
 	export default {
+		filters:{
+			formattime(val){
+				return displayDateFormatChi(val) +'前推广赚佣金'
+			}
+		},
 		data() {
 			return {
 				color4: '#F5F5F7',