purui 1 week ago
parent
commit
e118a07803

+ 1 - 1
packages/app/src/pages-sub/home/activity/detail/index.vue

@@ -307,7 +307,7 @@ onShareTimeline(() => ({ title: data.value.name, imageUrl: data.value.thumbnailU
       <wd-config-provider :themeVars="themeVars">
         <wd-tabs v-model="tab" class="bg-transparent!" custom-class="bg-transparent!">
           <wd-tab title="活动介绍"></wd-tab>
-          <wd-tab title="行程安排"></wd-tab>
+          <wd-tab v-if=" data?.isTravelPlan==='1' " title="行程安排"></wd-tab>
         </wd-tabs>
       </wd-config-provider>
     </div>

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

@@ -9,6 +9,7 @@ import { onLoad } from '@dcloudio/uni-app'
 import PageHelperEvo from '@/components/page-helper-evo.vue'
 import { ComponentExposed } from 'vue-component-type-helpers'
 import { domainToUnicode } from 'url'
+import dayjs from 'dayjs'
 
 const PageHelperEvoRef = ref<ComponentExposed<typeof PageHelperEvo>>()
 const referrerId = ref<number | string>('')
@@ -133,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 }}</view>
+								<view class="text-black/30">{{ it.completeTime?dayjs(it.completeTime).format('YYYY/MM/DD'):"" }}</view>
 							</view>
 							<view class="text-[#EF4343] text-[32rpx]">+{{ it.onePoints }}(*{{ it.oneRatio }})</view>
 						</view>