Browse Source

bug修改

赵添更 1 week ago
parent
commit
574a850591

+ 1 - 1
packages/app/src/pages-sub/mine/refferrer/details.vue

@@ -134,7 +134,7 @@ onLoad(async (options:object)=>{
 									<view class="text-[20rpx] bg-[#F6F6F6] rounded-full text-black/40 px-[14rpx] py-[6rpx]" v-if=" it.distributeType==1 ">一级奖励</view>
 									<view class="text-[20rpx] bg-[#F6F6F6] rounded-full text-black/40 px-[14rpx] py-[6rpx]" v-else>二级奖励</view>
 								</view>
-								<view class="text-black/30">{{ it.completeTime?dayjs(it.completeTime).format('YYYY/MM/DD'):"" }}</view>
+								<view class="text-black/30">{{ it.completeTime?dayjs(it.completeTime).format('YYYY/MM/DD HH:mm'):"" }}</view>
 							</view>
 							<view class="text-[#EF4343] text-[32rpx]">+{{ it.onePoints }}(*{{ it.oneRatio }})</view>
 						</view>

+ 2 - 1
packages/merchant/src/pages/mine/refferrer/details.vue

@@ -8,6 +8,7 @@ import { handleCall } from '../../../core/utils/common'
 import { onLoad } from '@dcloudio/uni-app'
 import PageHelperEvo from '@/components/page-helper-evo.vue'
 import { ComponentExposed } from 'vue-component-type-helpers'
+import dayjs from "dayjs";
 
 const PageHelperEvoRef = ref<ComponentExposed<typeof PageHelperEvo>>()
 const referrerId = ref<number | string>('')
@@ -128,7 +129,7 @@ onLoad(async(options)=>{
 									<view class="text-[20rpx] bg-[#F6F6F6] rounded-full text-black/40 px-[14rpx] py-[6rpx]" v-if=" it.distributeType==1 ">一级奖励</view>
 									<view class="text-[20rpx] bg-[#F6F6F6] rounded-full text-black/40 px-[14rpx] py-[6rpx]" v-else>二级奖励</view>
 								</view>
-								<view class="text-black/30">{{ it.completeTime }}</view>
+                <view class="text-black/30">{{ it.completeTime?dayjs(it.completeTime).format('YYYY/MM/DD HH:mm'):"" }}</view>
 							</view>
 							<view class="text-[#EF4343] text-[32rpx]">+{{ it.onePoints }}(*{{ it.oneRatio }})</view>
 						</view>