chore:显示修改

This commit is contained in:
weiwei committed 2025-09-24 14:58:12 +08:00
1 parent add3ef1a84
commit 9182384487
3 files changed
+11 -8

No files matched your search

+3 -3
View File
@@ -76,9 +76,9 @@ import { onLoad } from "@dcloudio/uni-app"
import { invitationApi } from "@/sheep/api"
const alertList = {
1: { color: "#f5a623", text: "访客未接受邀约" },
2: { color: "#2db7f5", text: "访客待到访" },
3: { color: "#52c41a", text: "访客拒绝了邀约" },
1: { color: "#2db7f5", text: "访客未接受邀约" },
2: { color: "#52c41a", text: "访客待到访" },
3: { color: "#f5a623", text: "访客拒绝了邀约" },
5: { color: "#f5222d", text: "您取消了邀约" },
}
@@ -54,9 +54,9 @@
</template>
<view class="flex-col justify-center card p-3 m-b-20rpx" v-for="(v, i) in pageHook.list" :key="i">
<view class="flex justify-between items-center">
<view v-if="v.checkStatus == '1'" class="p-1 c-white! sub-text-22 rounded-1 bg-#f5a623">待接受</view>
<view v-if="v.checkStatus == '2'" class="p-1 c-white! sub-text-22 rounded-1 bg-#2db7f5">待到访</view>
<view v-if="v.checkStatus == '3'" class="p-1 c-white! sub-text-22 rounded-1 bg-#52c41a">已拒绝</view>
<view v-if="v.checkStatus == '1'" class="p-1 c-white! sub-text-22 rounded-1 bg-#2db7f5">待接受</view>
<view v-if="v.checkStatus == '2'" class="p-1 c-white! sub-text-22 rounded-1 bg-#52c41a">待到访</view>
<view v-if="v.checkStatus == '3'" class="p-1 c-white! sub-text-22 rounded-1 bg-#f5a623">已拒绝</view>
<view v-if="v.checkStatus == '5'" class="p-1 c-white! sub-text-22 rounded-1 bg-#f5222d">已取消</view>
<view class="sub-text-26">{{ v.vstartDate + " ~ " + v.vendDate }}</view>
</view>
@@ -67,7 +67,9 @@
<!-- <view v-if="v.reasonValue">拜访原因:{{ visitorReasonList.find((item) => item.id == v.reasonValue)?.title || "" }}</view> -->
<view>
<tm-button class="px-1 mr-2" size="xs" @click.stop="goDetail(v)">查看详情</tm-button>
<tm-button v-if="v.checkStatus != '5'" class="px-1" size="xs" color="danger" @click.stop="cancel(v)">取消</tm-button>
<tm-button v-if="v.checkStatus != '5' && v.checkStatus != '3'" class="px-1" size="xs" color="danger" @click.stop="cancel(v)">
取消邀约
</tm-button>
</view>
</view>
<!-- <view class="flex justify-end items-center gap-2"> -->
+2 -1
View File
@@ -1,6 +1,7 @@
<template>
<crud-layout mainIsScroll bg="/static/page/blue-bg.png">
<view class="p-4 card mt-2 flex items-center justify-between">
<view class="h-20rpx"></view>
<view class="p-4 card flex items-center justify-between">
<view class="flex items-center">
<image class="w-64 h-64 mr-2" :src="filePath(payStore.sourceWalletData.walletTypeIcon)" />
<view>{{ payStore.sourceWalletData.walletTypeName }}</view>