Commit d901015c by Lin

feat: 接待中心页面

1 parent a1d5f3ce
Showing 18 changed files with 2032 additions and 23 deletions
...@@ -23,6 +23,9 @@ ...@@ -23,6 +23,9 @@
--l-radius-lg: 12px; --l-radius-lg: 12px;
--l-radius-xl: 16px; --l-radius-xl: 16px;
--l-radius-a : 100rpx; --l-radius-a : 100rpx;
/* 接待中心左右模块宽度(1173x768 基准),LayoutService 动态覆盖 */
--l-reception-left-width: 328px;
--l-reception-right-width: 677px;
} }
/* ==================== 布局 ==================== */ /* ==================== 布局 ==================== */
......
<template>
<view class="customer-flow-box">
<text class="customer-flow-title">门店客流情况</text>
<!-- uni-app x 不支持 background-image,用 image+overflow 模拟雪碧图;App 端不支持 calc/vmin 故用固定 px -->
<view class="sprite-icon icon-customer-flow">
<!-- <image class="sprite-img" src="/static/images/reception/bg-reception-flow.png" mode="scaleToFill" /> -->
</view>
<view class="deliveries flex flex-col">
<text class="label-text">累计交付数</text>
<view class="num-wrap">
<text class="num-text">{{ formattedNumber('cumulativeDeliveryCount') }}</text>
</view>
</view>
<view class="touchpoints flex flex-col">
<text class="label-text">实际触客数</text>
<view class="num-wrap">
<text class="num-text">{{ formattedNumber('actualContactCount') }}</text>
</view>
</view>
<view class="touchpoint-rate flex flex-col">
<text class="label-text">实际触客率</text>
<view class="num-wrap">
<text :class="['num-text rate-num', { 'rate-color': showRateColor }]">{{ formattedNumber('contactRate', '%') }}</text>
</view>
</view>
</view>
</template>
<script setup lang="uts">
import { computed } from "vue";
/** 页面数据:cumulativeDeliveryCount、actualContactCount、contactRate */
const props = withDefaults(
defineProps<{
pageData?: UTSJSONObject | null
dataShow?: boolean
}>(),
{
pageData: (): UTSJSONObject => ({}),
dataShow: true
}
);
/** 是否显示触客率高亮色(蓝色) */
const showRateColor = computed((): boolean => {
if (!props.dataShow) {
return false;
}
const pd = props.pageData;
if (pd == null) {
return false;
}
const val = pd["contactRate"];
if (val == null) {
return false;
}
const n = val as number;
return n > 0;
});
/** 格式化数字,无数据时返回 --(与原文一致:0 视为无数据) */
function formattedNumber(key: string, unit: string | null = null): string {
const pd = props.pageData;
const ds = props.dataShow;
if (pd == null || !ds) {
return "--";
}
const val = pd[key];
if (val == null || val == 0 || val == "") {
return "--";
}
let str = "" + val;
if (unit != null && unit != "") {
str = str + unit;
}
return str;
}
</script>
<style scoped lang="scss">
/* 门店客流 - 基准 211px,随父级 flex 比例自适应 */
.customer-flow-box {
position: relative;
width: 100%;
height: 100%;
min-height: 0;
color: #333333;
background-color: #ffffff;
border-radius: 16px;
}
.customer-flow-title {
position: relative;
z-index: 1;
font-size: 14px;
font-weight: 400;
padding: 12px 16px 0;
}
/* 雪碧图布局:宽高 100% 填满父级 */
.sprite-icon {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 16px;
overflow: hidden;
}
.icon-customer-flow .sprite-img {
width: 100%;
height: 100%;
}
.deliveries,
.touchpoints,
.touchpoint-rate {
position: absolute;
font-size: 10px;
box-sizing: border-box;
display: flex;
flex-direction: column;
}
.label-text {
font-size: 10px;
color: inherit;
}
.deliveries,
.touchpoints {
color: #ffffff;
width: 200px;
height: 64px;
left: 16px;
justify-content: center;
align-items: center;
}
.deliveries .num-text,
.touchpoints .num-text {
font-size: 12px;
font-weight: 400;
color: #ffffff;
text-align: center;
}
.deliveries .label-text,
.touchpoints .label-text {
color: #ffffff;
text-align: center;
}
/* 基准 211px 下 54/118/104px,用百分比适配高度变化 */
.deliveries {
top: 25.6%;
padding-top: 0;
}
.touchpoints {
top: 55.9%;
padding-top: 0;
}
.touchpoint-rate {
top: 49.3%;
left: 64.6%;
}
.touchpoint-rate .num-text {
font-size: 14px;
font-weight: bold;
color: #333333;
transition: all 0.15s;
}
.touchpoint-rate .rate-color {
color: #4673ff;
}
</style>
<template>
<MessageBox
ref="customerTagstVisible"
position="bottom"
:isFooter="false"
:title="title"
:maxHeight="1040"
@close="emit('close')"
>
<view class="select-views">
<template v-for="(i, index) in list" :key="index">
<view class="select-group">
<view class="select-title">
<text class="select-title-text">{{ getLabelName(i) }}</text>
</view>
<view class="select-box">
<view
v-for="(item, ind) in getNextList(i)"
:key="ind"
class="select-item"
:class="{ checked: checkedItem(item) }"
@click="handleSelect(item)"
>
<view class="sprite-icon icon-tag-checked"></view>
<text class="select-item-text">{{ getLabelName(item) }}</text>
</view>
</view>
</view>
</template>
</view>
<view class="footer-btns">
<view class="btn cancel" @click="clearSwitch ? clear() : close()">
<text class="btn-text cancel-text">{{ cancelText }}</text>
</view>
<view :class="['btn', { disabled: disabled }]" @click="choose">
<text class="btn-text">确定</text>
</view>
</view>
</MessageBox>
</template>
<script setup lang="uts">
import { computed, ref, watch } from "vue";
import { state } from "@/store/index.uts";
type MessageBoxRef = {
open: () => void;
close: () => void;
};
const props = defineProps({
chooseList: Array,
title: {
type: String,
default: "请选择客户标签",
},
disabledSwitch: {
type: Boolean,
default: true,
},
cancelText: {
type: String,
default: "取消",
},
clearSwitch: {
type: Boolean,
default: false,
},
sceneNumber: {
type: [Number, String],
default: -1,
},
});
const emit = defineEmits(["close", "select"]);
const customerTagstVisible = ref<MessageBoxRef | null>(null);
const list = ref<UTSJSONObject[]>([]);
const componentChooseList = ref<UTSJSONObject[]>([]);
const watchStatus = computed(() => {
return state.user.historyStatus;
});
const disabled = computed((): boolean => {
return props.disabledSwitch && componentChooseList.value.length == 0;
});
function cloneChooseList(source: any | null): UTSJSONObject[] {
if (source == null || !(source instanceof Array)) {
return [];
}
const sourceList = source as Array<any>;
const result: UTSJSONObject[] = [];
let i = 0;
while (i < sourceList.length) {
const itemAny = sourceList[i];
if (itemAny != null) {
result.push(itemAny as UTSJSONObject);
}
i++;
}
return result;
}
/** 从父级标签对象中安全取出 nextList,保证 v-for 的 source 为 UTSArray 类型,避免 renderList 重载匹配失败 */
function getNextList(parent: UTSJSONObject): UTSJSONObject[] {
const raw = parent["nextList"];
if (raw == null || !(raw instanceof Array)) {
return [];
}
const arr = raw as Array<any>;
const result: UTSJSONObject[] = [];
let idx = 0;
while (idx < arr.length) {
const it = arr[idx];
if (it != null) {
result.push(it as UTSJSONObject);
}
idx++;
}
return result;
}
function getLabelName(target: any): string {
if (target == null) {
return "";
}
const obj = target as UTSJSONObject;
const v = obj["labelName"];
return v != null ? `${v}` : "";
}
function getLabelId(target: any): string {
if (target == null) {
return "";
}
const obj = target as UTSJSONObject;
const labelIdAny = obj["labelId"];
return labelIdAny != null ? `${labelIdAny}` : "";
}
function findChooseIndex(item: any): number {
const targetId = getLabelId(item);
let i = 0;
while (i < componentChooseList.value.length) {
const currentId = getLabelId(componentChooseList.value[i]);
if (currentId == targetId) {
return i;
}
i++;
}
return -1;
}
const close = (): void => {
const popupRef = customerTagstVisible.value;
if (popupRef != null) {
popupRef.close();
}
};
const watchStatusGetter = (): any => {
return watchStatus.value;
};
const chooseListGetter = (): any | null => {
return props.chooseList as any | null;
};
watch(
watchStatusGetter,
(_newVal: any) => {
close();
},
{ immediate: true }
);
watch(
chooseListGetter,
(newVal: any | null) => {
componentChooseList.value = cloneChooseList(newVal);
},
{ immediate: true }
);
function open(): void {
const popupRef = customerTagstVisible.value;
if (popupRef != null) {
popupRef.open();
}
const sceneNumberText = `${props.sceneNumber}`;
const requestScene = sceneNumberText != "-1" ? sceneNumberText : "";
// TODO:uni.$storage 与 uni.$api 在当前 UTS 环境未接入,先注释真实请求,避免编译 error18
// 需要接入接口时,可在公共请求封装中补充 UTS 版本的 storage 与 customerApi,再恢复下面逻辑
list.value = [];
/*
const userInfoAny = uni.$storage.get("userInfo");
let sceneTypeText = "";
if (userInfoAny != null) {
const userInfoObj = userInfoAny as UTSJSONObject;
const sceneTypeAny = userInfoObj["sceneType"];
sceneTypeText = sceneTypeAny != null ? `${sceneTypeAny}` : "";
}
const sceneNumberText = `${props.sceneNumber}`;
const requestScene = sceneNumberText != "-1" ? sceneNumberText : sceneTypeText;
uni.$api.customerApi
.findCustomerTags({
scene: requestScene,
})
.then((res: any | null) => {
if (res != null && res instanceof Array) {
list.value = res as UTSJSONObject[];
} else {
list.value = [];
}
})
.catch((_err: any) => {
list.value = [];
});
*/
}
function handleSelect(item: any): void {
const index = findChooseIndex(item);
if (index == -1) {
componentChooseList.value.push(item as UTSJSONObject);
} else {
componentChooseList.value.splice(index, 1);
}
}
function checkedItem(item: any): boolean {
return findChooseIndex(item) != -1;
}
function choose(): void {
if (disabled.value) {
return;
}
emit("select", componentChooseList.value);
close();
}
function clear(): void {
componentChooseList.value = [];
}
defineExpose({
open,
close,
clear,
});
</script>
<style scoped lang="scss">
.select-views {
overflow-y: scroll;
max-height: 520px;
position: relative;
padding-bottom: 64px;
flex-direction: column;
}
.select-group {
margin: 16px 0;
flex-direction: column;
}
.select-title {
margin-bottom: 5px;
}
.select-title-text {
font-size: 14px;
color: #999999;
}
.select-box {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
}
.select-item {
width: 24%;
min-height: 35px;
margin-bottom: 16px;
opacity: 1;
border: 1px solid #dce0e6;
border-radius: 4px;
position: relative;
box-sizing: border-box;
padding: 7px 20px;
display: flex;
align-items: center;
justify-content: center;
}
.select-item .sprite-icon {
display: none;
position: absolute;
right: -1px;
top: -1px;
}
.select-item-text {
font-size: 16px;
color: #333333;
word-break: break-all;
line-height: 22px;
text-align: center;
}
.checked {
border: 1px solid #2c66f7;
background: #ecf1ff;
}
.checked .sprite-icon {
display: block;
}
.checked .select-item-text {
color: #2c66f7;
}
.footer-btns {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 88px;
background: #ffffff;
box-sizing: border-box;
padding-top: 16px;
display: flex;
justify-content: center;
}
.btn {
width: 359px;
height: 40px;
background-image: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%);
border-radius: 24px;
display: flex;
justify-content: center;
align-items: center;
}
.btn-text {
font-weight: 700;
font-size: 16px;
color: #ffffff;
text-align: center;
}
.cancel {
margin-right: 17px;
background: #dae9ff;
}
.cancel-text {
color: #2c66f7;
}
.disabled {
background-image: linear-gradient(0deg, #2c66f799 0%, #48a6ff99 100%);
}
</style>
\ No newline at end of file \ No newline at end of file
<template>
<view class="line-bar-box">
<view class="tabs-header">
<page-tabs
:list="tabList"
@changeTab="changeTab"
size="small"
/>
</view>
<view class="chart-wrap">
<l-echart ref="chartRef" @finished="initChart" />
</view>
</view>
</template>
<script setup lang="uts">
import { ref, computed, watch, nextTick } from "vue";
import PageTabs from "@/components/PageTabs.uvue";
/** 接待中心 - 柱状图组件入参,透传页面数据与业务场景 */
const props = withDefaults(
defineProps<{
/** 是否展示业绩数据,受左侧「小眼睛」开关控制 */
dataShow?: boolean
/** 页面聚合数据(含门店/个人产值等),由父级 ReceptionCenter 提供 */
pageData?: UTSJSONObject | null
/** 业务场景类型:0-延保 1-轻改 等 */
sceneType?: number | null
/** 是否鸿蒙端,预留用于端能力差异处理 */
isHarmony?: boolean
/** 业务类型:1-延保 2-轻改 */
bussinessType?: number | null
}>(),
{
dataShow: true,
pageData: null,
sceneType: 1,
isHarmony: false,
bussinessType: null
}
);
type ChartMetricItem = { label: string; value: number; raw: string }
const chartRef = ref<LEchartComponentPublicInstance | null>(null)
/** 当前选中的 Tab 索引:0-成交率 1-客单价/成交数 */
const tabIndex = ref(0);
/** Tab 文案列表,会根据 sceneType / isHarmony / bussinessType 动态切换 */
const tabList = ref<string[]>(['本月交付成交率', '本月交付客单价']);
/** 当前柱状图原始数据(排序后):value 为数值,raw 为展示文案(如 85% / ¥28370 / --) */
const chartData = ref<ChartMetricItem[]>([]);
/** 成交率指标 key 与展示名称(与老项目保持一致) */
const rateKeys: string[] = ['excellentStoreAvgDealRate', 'thisStoreDealRate', 'personalDealRate'];
const rateLabels: string[] = ['优秀门店均值', '本门店', '个人'];
/** 客单价/成交数指标 key 与展示名称(与老项目保持一致) */
const priceKeys: string[] = ['excellentStoreAvgDeal', 'thisStoreKdj', 'personalKdj'];
const priceLabels: string[] = ['优秀门店均值', '本门店', '个人'];
/** pageData 计算属性:确保非空对象,便于后续访问 */
const pageDataRef = computed((): UTSJSONObject => {
const pd = props.pageData;
return pd != null ? pd : ({} as UTSJSONObject);
});
/** 将指标数值转换为柱状图长度,保证为 number */
function valueToBarLength(v: number): number {
if (v == null) {
return 0;
}
return v;
}
/** 获取指标数值,失败时返回 null */
function getMetricNumber(pd: UTSJSONObject, key: string): number | null {
const val = pd[key];
if (val == null || val == "") {
return null;
}
const num = parseFloat("" + val);
if (isNaN(num)) {
return null;
}
return num;
}
/** 按业务规则计算当前 Tab 下的 chartData:排序 + 文案填充 + 隐藏逻辑 */
function rebuildChartData(): void {
const pd = pageDataRef.value;
const metrics: ChartMetricItem[] = [];
const isRateTab = tabIndex.value == 0;
const keys = isRateTab ? rateKeys : priceKeys;
const labels = isRateTab ? rateLabels : priceLabels;
let i = 0;
while (i < keys.length) {
const key = keys[i];
const label = labels[i];
const numOrNull = getMetricNumber(pd, key);
const isNull = numOrNull == null;
const value = isNull ? 0 : (numOrNull as number);
let rawText = "--";
if (props.dataShow && !isNull) {
if (isRateTab) {
rawText = "" + value + "%";
} else {
// 轻改场景下,客单价 Tab 需要加 ¥ 前缀
if (props.sceneType == 1 && tabIndex.value == 1) {
rawText = "¥" + value;
} else {
rawText = "" + value;
}
}
}
metrics.push({
label,
value,
raw: rawText
} as ChartMetricItem);
i++;
}
// 根据数值从大到小排序(UTS 不支持自定义 comparator,使用手写排序)
const n = metrics.length;
let x = 0;
while (x < n - 1) {
let y = x + 1;
while (y < n) {
if (metrics[y].value > metrics[x].value) {
const tmp = metrics[x];
metrics[x] = metrics[y];
metrics[y] = tmp;
}
y++;
}
x++;
}
chartData.value = metrics;
}
/** 根据场景类型/业务类型/鸿蒙端动态设置 Tab 标题(对齐老项目逻辑)
* (sceneType 0: 2.1场景,1:1.1场景) (bussinessType 1:延保,3:权益)
* 2.1场景 鸿蒙 --- 问界/鸿蒙 [本月交付客单价] 改成 [整车延保成交数]
* 2.1场景 非鸿蒙 --- 选延保 [本月交付客单价] 改成 [整车延保成交数]
* 2.1场景 非鸿蒙 --- 权益 [本月交付成交率] 改为 [广联权益渗透率]; [本月交付客单价] 改成 [广联权益成交数]
*/
function rebuildTabList(): void {
let list: string[] = ['本月交付成交率', '本月交付客单价'];
const sceneType = props.sceneType;
const bussinessType = props.bussinessType;
const isHarmony = props.isHarmony == true;
if (sceneType != null && sceneType == 0) {
if (isHarmony) {
list[1] = '整车延保成交数';
} else {
if (bussinessType != null && bussinessType == 1) {
list[1] = '整车延保成交数';
} else if (bussinessType != null && bussinessType == 3) {
list = ['广联权益渗透率', '广联权益成交数'];
}
}
}
tabList.value = list;
}
/** 构建柱状图配置(APP 端 option 经 JSON 序列化传递,不支持 formatter 函数) */
function buildChartOption(): UTSJSONObject {
const data = chartData.value
const labels: string[] = []
let i = data.length - 1
while (i >= 0) {
labels.push(data[i].label)
i--
}
const gradients: UTSJSONObject[] = [
{ type: 'linear', x: 0, y: 0, x2: 1, y2: 0, colorStops: [{ offset: 0, color: '#389fff' }, { offset: 1, color: '#2c66f7' }] },
{ type: 'linear', x: 0, y: 0, x2: 1, y2: 0, colorStops: [{ offset: 0, color: '#708dff' }, { offset: 1, color: '#6858f5' }] },
{ type: 'linear', x: 0, y: 0, x2: 1, y2: 0, colorStops: [{ offset: 0, color: '#94cbff' }, { offset: 1, color: '#3283fb' }] }
]
const dataItems: UTSJSONObject[] = []
let j = data.length - 1
while (j >= 0) {
const it = data[j]
const grad = gradients[j] as UTSJSONObject
dataItems.push({
value: valueToBarLength(it.value),
raw: it.raw,
itemStyle: {
color: grad
}
} as UTSJSONObject)
j--
}
return {
tooltip: {
trigger: 'axis',
axisPointer: { type: 'shadow' },
confine: true,
formatter: '{b}: {@raw}'
},
grid: {
left: -4,
right: 85,
top: 12,
bottom: 12,
containLabel: true
},
xAxis: {
show: false,
type: 'value',
min: 0,
splitLine: { show: false }
},
yAxis: {
type: 'category',
axisTick: { show: false },
data: labels,
axisLine: { lineStyle: { width: 1, color: '#CFD4E3' } },
axisLabel: { color: '#333333', fontSize: 12, fontWeight: 400 }
},
series: [
{
name: '产值',
type: 'bar',
barWidth: 6,
data: dataItems,
label: {
show: props.dataShow,
position: 'right',
formatter: '{@raw}',
color: '#333333',
fontSize: 14,
fontWeight: 500
}
}
]
} as UTSJSONObject
}
/** 根据最新 props/pageData 重建图表并刷新 ECharts */
function refreshChart(): void {
rebuildTabList();
rebuildChartData();
const comp = chartRef.value;
if (comp != null) {
comp.setOption(buildChartOption());
}
}
/** Tab 切换回调 */
function changeTab(index: number): void {
tabIndex.value = index;
refreshChart();
}
const initChart = async (): Promise<void> => {
const comp = chartRef.value
if (comp == null) {
return
}
try {
await comp.init(null)
// 初始化时根据 props 构建实际业务数据
refreshChart();
} catch (e) {
console.error('LineBar 图表初始化失败:', e)
}
}
// 监听数据与业务场景变化,实时刷新图表
watch(
pageDataRef,
() => {
nextTick(() => {
refreshChart();
});
},
{ deep: true }
);
const dataShowRef = computed((): boolean => {
return props.dataShow === true;
});
const sceneTypeRef = computed((): number => {
const v = props.sceneType;
return v != null ? (v as number) : 0;
});
const bussinessTypeRef = computed((): number => {
const v = props.bussinessType;
return v != null ? (v as number) : 0;
});
const isHarmonyRef = computed((): boolean => {
return props.isHarmony === true;
});
watch(
dataShowRef,
() => {
nextTick(() => {
refreshChart();
});
}
);
watch(
sceneTypeRef,
() => {
nextTick(() => {
refreshChart();
});
}
);
watch(
bussinessTypeRef,
() => {
nextTick(() => {
refreshChart();
});
}
);
watch(
isHarmonyRef,
() => {
nextTick(() => {
refreshChart();
});
}
);
</script>
<style scoped lang="scss">
/* 基准 194px,随父级 flex 比例自适应;子绝父相定位参照 */
.line-bar-box {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
height: 100%;
min-height: 0;
box-sizing: border-box;
padding: 12px 14px;
background: #ffffff;
border-radius: 16px;
}
/* Tab 区域:顶部居中 */
.tabs-header {
width: 100%;
height: 32px;
flex-shrink: 0;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 8px;
}
/* 子绝父相:图表相对于 line-bar-box 靠左下定位 */
.chart-wrap {
position: absolute;
left: 14px;
bottom: 12px;
width: 268px;
height: 101px;
box-sizing: border-box;
}
</style>
<template>
<view class="output-value-box">
<view class="output-value-title">本月产值</view>
<view class="output-value">
<view class="value">
<text class="value-num">{{ formattedNumber('actualProduction') }}</text>
<text class="unit">万</text>
</view>
<view class="sub-value flex">
<text class="sub-label">个人产值</text>
<text class="num">{{ formattedNumber('personalProduction') }}万</text>
</view>
</view>
<view class="output-canvas">
<l-echart ref="chartRef" class="pie-chart" @finished="initChart" />
<view class="chart-text">
<text class="chart-label">产值贡献</text>
<text class="chart-num">{{ formattedNumber('productionContribution') }}%</text>
</view>
</view>
<view class="output-view-wrap">
<view class="output-view flex">
<view class="item flex">
<text class="item-label">目标</text>
<text class="num">{{ formattedNumber('targetProduction') }}万</text>
</view>
<view class="divider"></view>
<view class="item flex">
<text class="item-label">达成比例</text>
<text class="num">{{ formattedNumber('achievementRatio', '%') }}</text>
</view>
</view>
</view>
</view>
</template>
<script setup lang="uts">
import { ref, computed, watch, nextTick } from 'vue';
const chartRef = ref<LEchartComponentPublicInstance | null>(null);
/** 页面数据:actualProduction、personalProduction、targetProduction、achievementRatio、productionContribution */
const props = withDefaults(
defineProps<{
pageData?: UTSJSONObject | null
dataShow?: boolean
}>(),
{
pageData: (): UTSJSONObject => ({}),
dataShow: true
}
);
/** 格式化数字,无数据时返回 --;unit 可选,如 '%'、'万' */
function formattedNumber(key: string, unit: string | null = null): string {
const pd = props.pageData;
const ds = props.dataShow;
if (pd == null || !ds) {
return "--";
}
const val = pd[key];
if (val == null || val == "") {
return "--";
}
let str = "" + val;
if (unit != null && unit != "") {
str = str + unit;
}
return str;
}
/** 获取产值贡献百分比(0-100) */
function getContribution(): number {
const pd = props.pageData;
const ds = props.dataShow;
let contribution = 0;
if (pd != null && ds) {
const val = pd['productionContribution'];
if (val != null && val != "") {
contribution = parseFloat("" + val);
}
}
if (contribution < 0) { contribution = 0; }
if (contribution > 100) { contribution = 100; }
return contribution;
}
/** 构建产值贡献环形图(饼图)配置 */
function buildPieOption(): UTSJSONObject {
const contribution = getContribution();
const rest = 100 - contribution;
const dataItems: UTSJSONObject[] = [
{
value: contribution,
name: '贡献',
itemStyle: {
color: {
type: 'linear',
x: 0,
y: 0,
x2: 1,
y2: 1,
colorStops: [{ offset: 0, color: '#7AAFFF' }, { offset: 1, color: '#4673FF' }]
}
}
} as UTSJSONObject,
{
value: rest,
name: '',
itemStyle: { color: '#F2F6FF' }
} as UTSJSONObject
];
return {
tooltip: { show: false },
series: [
{
type: 'pie',
radius: ['45%', '65%'],
center: ['50%', '50%'],
startAngle: 90,
data: dataItems,
label: { show: false },
labelLine: { show: false },
emphasis: { scale: false }
}
]
} as UTSJSONObject;
}
/** 初始化 lime-echart 饼图 */
const initChart = async (): Promise<void> => {
const comp = chartRef.value;
if (comp == null) { return; }
try {
await comp.init(null);
comp.setOption(buildPieOption());
} catch (e) {
console.error('OutputValue 饼图初始化失败:', e);
}
};
const pageDataRef = computed((): UTSJSONObject => {
const pd = props.pageData;
return pd != null ? pd : ({} as UTSJSONObject);
});
watch(
pageDataRef,
() => {
nextTick(() => {
chartRef.value?.setOption(buildPieOption());
});
},
{ deep: true }
);
</script>
<style scoped lang="scss">
/* 本月产值模块 1:1 还原样式 */
.output-value-box {
position: relative;
width: 100%;
height: 183px;
display: flex;
flex-direction: column;
box-sizing: border-box;
background-color: #ffffff;
border-radius: 12px;
padding: 0;
overflow: hidden;
}
.output-value-title {
color: #333333;
font-size: 11px;
font-weight: 500;
padding: 16px 20px 0;
}
.output-value {
width: 50%;
padding: 12px 0 0 24px;
flex-shrink: 0;
display: flex;
flex-direction: column;
}
.value {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 4px;
}
.value-num {
color: #4673ff;
font-size: 32px;
line-height: 38px;
font-weight: bold;
font-family: 'DIN Alternate', 'DINAlternate-Bold', 'DINCondensed-Bold', sans-serif;
}
.unit {
color: #999999;
font-size: 12px;
margin-left: 2px;
}
.sub-value {
display: flex;
align-items: center;
margin-top: -2px;
}
.sub-value .sub-label {
color: #999999;
font-size: 12px;
}
.sub-value .num {
color: #4673ff;
font-size: 14px;
font-weight: bold;
margin-left: 4px;
}
.output-canvas {
position: absolute;
right: 16px;
top: 24px;
width: 110px;
height: 110px;
display: flex;
justify-content: center;
align-items: center;
}
.pie-chart {
width: 100%;
height: 100%;
}
.chart-text {
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
pointer-events: none;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}
.chart-label {
font-size: 10px;
color: #999999;
margin-bottom: 2px;
}
.chart-num {
font-size: 18px;
color: #4673ff;
font-weight: bold;
font-family: 'DIN Alternate', sans-serif;
}
/* 底部目标/达成比例栏 */
.output-view-wrap {
position: absolute;
left: 16px;
right: 16px;
bottom: 16px;
display: flex;
justify-content: center;
}
.output-view {
width: 100%;
height: 36px;
border-radius: 18px;
background-color: #F6F8FF;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0;
box-sizing: border-box;
}
.output-view .item {
display: flex;
justify-content: center;
align-items: center;
flex: 1;
}
.output-view .item-label {
color: #666666;
font-size: 13px;
}
.output-view .num {
margin-left: 6px;
color: #4673ff;
font-size: 14px;
font-weight: bold;
}
/* 中间竖线 */
.divider {
width: 1px;
height: 14px;
background-color: #E0E4EF;
flex-shrink: 0;
}
</style>
<template>
<view class="data-container">
</view>
</template>
<script setup lang="uts">
</script>
<style scoped lang="scss">
.error-tip {
font-size: toRpx(28);
padding: toRpx(32) toRpx(60) toRpx(24);
margin-top: toRpx(100);
margin-bottom: toMinusRpx(80);
text-align: center;
background-color: rgb(254, 237, 234);
color: #f45c3d;
}
.data-container {
background: #ffffff59;
border-radius: toRpx(48);
margin: toRpx(80) toRpx(66) toRpx(80) 0;
height: calc(100% - #{toRpx(160)});
box-shadow: inset 0 0 toRpx(16) 0 #ffffff;
border: toRpx(2) solid #fff;
box-sizing: border-box;
position: relative;
.nav-bar {
position: absolute;
width: 100%;
height: toRpx(96);
left: 0;
top: toRpx(28);
z-index: 9;
text-align: center;
font-weight: 700;
font-size: toRpx(32);
color: #1a1a1a;
line-height: toRpx(96);
.back {
position: absolute;
left: 0;
top: 0;
height: 100%;
aspect-ratio: 1/1;
display: flex;
align-items: center;
justify-content: center;
}
}
.form {
display: flex;
flex-wrap: wrap;
gap: toRpx(80) toRpx(160);
padding: toRpx(80);
margin-top: toRpx(60);
&-item {
width: calc(50% - #{toRpx(80)});
display: flex;
align-items: center;
color: #6c6c70;
font-size: toRpx(30);
height: toRpx(80);
box-sizing: border-box;
.label {
position: relative;
margin-left: auto;
flex-shrink: 0;
width: toRpx(124);
margin-right: toRpx(30);
}
.required {
&::before {
content: '*';
color: #ff0000;
position: absolute;
left: toMinusRpx(20);
top: 50%;
transform: translate(0, -50%);
}
}
.value {
height: toRpx(80);
flex: 1;
border: toRpx(2) solid #e8e8ea;
background: #ffffff;
margin-left: toRpx(32);
box-sizing: border-box;
padding: 0 toRpx(40);
border-radius: toRpx(8);
&.error {
border: toRpx(2) solid #f24724;
border-radius: toRpx(8);
}
.input,
.select {
width: 100%;
height: 100%;
border: none !important;
outline: none;
padding: 0 !important;
font-size: toRpx(30);
color: #333;
&::placeholder {
color: #c9c9c9;
}
}
.placeholderStyle {
color: #999999;
}
.arrow {
color: #999 !important;
margin-left: auto;
flex-shrink: 0;
}
}
}
}
.footer-box {
display: flex;
align-items: center;
justify-content: center;
gap: toRpx(34);
padding: 0 toRpx(280);
.cancel-btn {
height: toRpx(80);
background: #dae9ff;
border-radius: toRpx(48);
line-height: toRpx(80);
text-align: center;
color: #2c66f7;
flex: 1;
}
.submit-btn {
height: toRpx(80);
background-image: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%);
border-radius: toRpx(48);
line-height: toRpx(80);
text-align: center;
flex: 1;
color: #ffffff;
}
}
}
.select-box {
margin: toRpx(40) 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: toRpx(20);
overflow-y: scroll;
max-height: 50vh;
padding-bottom: toRpx(60);
.select-item {
text-align: center;
height: toRpx(68);
line-height: toRpx(68);
opacity: 1;
border: toRpx(2) solid #dce0e6;
color: #292d33;
font-size: toRpx(28);
border-radius: toRpx(8);
&.checked {
border: toRpx(2) solid #292d33;
}
}
}
</style>
<template>
<view class="tabs-component flex">
<!-- 背景层:替代 ::after 伪元素,App 端兼容 -->
<!-- <view class="tabs-bg"></view> -->
<view
v-for="(item, index) in list"
:class="['tab flex', size, { active: activeIndex == index }]"
:key="index"
@click="changeTab(index)"
class="tab-item"
>
<text class="tab-text">{{ getTabText(item) }}</text>
<view v-if="showDot(item)" class="dot"></view>
</view>
<view
class="active-btn"
:style="{
width: blockWidth,
left: activeBlockLeft
}"
></view>
</view>
</template>
<script setup lang="uts">
import { ref, computed, watch } from "vue";
/** Tab 项:对象或字符串 */
type TabItem = UTSJSONObject | string;
const props = withDefaults(
defineProps<{
/** Tab 数据列表 */
list?: TabItem[]
/** 默认选中索引 */
defaultIndex?: number
/** 显示名称的字段 key,默认 text */
tabKey?: string
/** 尺寸:normal | small */
size?: string
}>(),
{
list: () => [],
defaultIndex: 0,
tabKey: "text",
size: "normal"
}
);
const emit = defineEmits<{
changeTab: [number]
}>();
const activeIndex = ref(props.defaultIndex != null ? props.defaultIndex : 0);
/** 用 computed 包装 defaultIndex,避免 watch getter 在 UTS 下的类型推断问题 */
const defaultIndexSource = computed((): number => {
const v = props.defaultIndex;
return v != null ? v : 0;
});
watch(
defaultIndexSource,
(newVal: number) => {
activeIndex.value = newVal;
},
{ immediate: true }
);
/** 每个 tab 的宽度(百分比,自适应) */
const blockWidth = computed((): string => {
const len = props.list != null ? props.list.length : 0;
if (len <= 0) {
return "100%";
}
const pct = 100 / len;
return `${pct}%`;
});
/** 激活滑块 left 位置:按 tab 等分,统一用 % 保证 transition 在所有切换时生效(px 与 % 混用会导致过渡失效) */
const activeBlockLeft = computed((): string => {
const len = props.list != null ? props.list.length : 0;
if (len <= 0) {
return "0%";
}
const idx = activeIndex.value;
const pct = (idx * 100) / len;
return `${pct}%`;
});
/** 获取 tab 显示文本 */
function getTabText(item: TabItem): string {
if (item == null) {
return "";
}
if (typeof item == "string") {
return item;
}
const obj = item as UTSJSONObject;
const key = props.tabKey != null ? props.tabKey : "text";
const val = obj[key];
if (val == null) {
return "";
}
return `${val}`;
}
/** 是否显示红点:支持 dot 为 boolean 或可调用函数 */
function showDot(item: TabItem): boolean {
if (item == null) {
return false;
}
if (typeof item == "string") {
return false;
}
const obj = item as UTSJSONObject;
const dot = obj["dot"];
if (dot == null) {
return false;
}
if (typeof dot == "boolean") {
return dot;
}
return false;
}
function changeTab(index: number): void {
activeIndex.value = index;
emit("changeTab", index);
}
</script>
<style lang="scss">
/* 遵循 UniAppX 规范:px 单位、无 calc/伪元素、font-weight 仅 400|700、文字样式在 text 上 */
.tabs-component {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
width: 100%;
height: 100%;
min-height: 28px;
background-color: #f5f6f7;
border-radius: 8px;
position: relative;
box-sizing: border-box;
padding: 2px;
}
// .tabs-bg {
// position: absolute;
// z-index: 0;
// left: 0;
// top: 0;
// width: 100%;
// height: 100%;
// background-color: #f5f6f7;
// border-radius: 8px;
// }
.tab-item {
flex: 1;
height: 100%;
min-height: 28px;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
color: #666666;
z-index: 10;
position: relative;
}
.tab-item .tab-text {
font-size: 14px;
font-weight: 400;
color: #666666;
text-align: center;
}
.tab-item.normal .tab-text {
font-size: 14px;
}
.tab-item.small .tab-text {
font-size: 12px;
}
/* 仅选中态加粗 */
.tab-item.active .tab-text {
color: #1a1a1a;
}
.tab-item .dot {
position: absolute;
top: 2px;
right: 14px;
width: 6px;
height: 6px;
border-radius: 3px;
background-color: #f24724;
}
/* 选中态滑块:宽度与 tab 等分,高度自适应,白色背景,滑动过渡 */
.active-btn {
position: absolute;
top: 2px;
bottom: 2px;
opacity: 1;
background-color: #ffffff;
/* 优化滑动:Material Design 缓动 + 略长时长 + GPU 加速 */
transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
transform: translateZ(0);
border-radius: 8px;
z-index: 1;
box-sizing: border-box;
font-weight: 700;
margin-left: 2px;
}
</style>
<template>
<view class="type-tab">
<template v-if="styleV2">
<!-- 样式一:固定宽度 tab,滑动背景滑块 -->
<view class="type-box">
<view
:class="['slider-block', getSliderBlockClass()]"
:style="{ left: blockLeft, width: sliderBlockWidth }"
></view>
<view
:class="['tab-item', { active: tabIndex == idx }]"
v-for="(item, idx) in typeList"
:key="idx"
:style="{ width: getTabItemWidth(idx) }"
@click="handleTabClick(idx)"
>
<view
class="text-wrap"
:class="{ active: tabIndex == idx }"
:style="{ width: getTabItemWidth(idx) }"
>
<text class="tab-text">{{ getItemName(item) }}</text>
<view v-if="tabIndex == idx" class="underline-wrap"></view>
</view>
</view>
</view>
<!-- <view class="mask-box"></view> -->
</template>
<template v-else>
<!-- 样式二:横向滚动 tab,切换时平滑滑动到选中项 -->
<scroll-view
scroll-x
enable-flex
class="scroll-box"
:scroll-into-view="`tab-id-${tabIndex}`"
scroll-with-animation
>
<view class="type-box-v2">
<view
:class="['tab-item-v2', { active: tabIndex == idx }]"
v-for="(item, idx) in typeList"
:key="idx"
:style="getTabItemV2Style(idx)"
@click="handleTabClick(idx)"
:id="`tab-id-${idx}`"
>
<template v-if="idx == 0">
<view class="sprite-icon icon-first-right"></view>
</template>
<template v-else>
<view class="sprite-icon icon-second-left"></view>
<view class="sprite-icon icon-second-right"></view>
</template>
<view class="text-wrap-v2">
<text class="tab-text-v2">{{ getItemName(item) }}</text>
</view>
<view
v-if="tabIndex == idx"
class="underline-bar"
></view>
</view>
</view>
</scroll-view>
</template>
</view>
</template>
<script setup lang="uts">
import { computed } from "vue";
/** Tab 项数据类型 */
type TabItem = UTSJSONObject;
const props = withDefaults(
defineProps<{
/** Tab 数据列表 */
typeList?: TabItem[]
/** 当前选中索引 */
tabIndex?: number
/** 显示名称的字段 key,默认 tabName */
nameKey?: string
/** 是否使用样式二(横向滚动) */
styleV2?: boolean
}>(),
{
typeList: () => [],
tabIndex: 0,
nameKey: "tabName",
styleV2: false
}
);
const emit = defineEmits<{
"update:tabIndex": [number]
tabClick: [number]
}>();
const FIRST_TAB_ITEM_WIDTH = 152
const TAB_ITEM_WIDTH = 208
function getTabItemWidth(index: number): string {
if (index == 0) {
return `${FIRST_TAB_ITEM_WIDTH}px`
}
return `${TAB_ITEM_WIDTH}px`
}
const sliderBlockWidth = computed((): string => {
return getTabItemWidth(props.tabIndex)
})
/** 滑块位置(样式一) */
const blockLeft = computed((): string => {
const idx = props.tabIndex
if (idx <= 0) {
return "0px"
}
const left = FIRST_TAB_ITEM_WIDTH + (idx - 1) * TAB_ITEM_WIDTH
return `${left}px`
});
/** 获取 tab 项显示名称 */
function getItemName(item: TabItem): string {
const key = props.nameKey
if (key == null || key == "") {
return ""
}
const val = item[key]
if (val == null) {
return ""
}
return `${val}`
}
/** 获取滑块圆角 class(样式一) */
function getSliderBlockClass(): string {
const idx = props.tabIndex
const len = props.typeList != null ? props.typeList.length : 0
if (len <= 1) {
return "slider-only"
}
if (idx == 0) {
return "slider-first"
}
if (idx == len - 1) {
return "slider-last"
}
return "slider-middle"
}
/** 获取 tab-item-v2 的内联样式,tabIndex == 1 时非激活项追加左下/右下圆角及红色背景 */
function getTabItemV2Style(idx: number): UTSJSONObject {
if (props.tabIndex == 1 && idx != props.tabIndex) {
return {
width: getTabItemWidth(idx),
borderBottomLeftRadius: '24px',
borderBottomRightRadius: '24px',
backgroundColor: '#eef4fe'
}
}
return { width: getTabItemWidth(idx) }
}
/** 点击 tab */
function handleTabClick(index: number): void {
if (props.tabIndex == index) {
return
}
emit("update:tabIndex", index)
emit("tabClick", index)
}
</script>
<style scoped lang="scss">
/* 遵循 uni-app x 规范:px 单位、无 vh/calc/gap、font-weight 仅 400|700、伪元素改为真实节点 */
.type-tab {
position: relative;
}
.type-box {
position: relative;
display: flex;
flex-direction: row;
width: 100%;
background-color: #eef4fe;
height: 80px;
border-radius: 24px 24px 0 0;
overflow: hidden;
z-index: 0;
}
.tab-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
}
.tab-item .text-wrap {
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.tab-item .text-wrap.active {
position: relative;
z-index: 1;
}
.tab-item .tab-text {
font-size: 20px;
font-weight: 400;
color: #1f2133;
text-align: center;
}
.tab-item .text-wrap.active .tab-text {
font-weight: 700;
color: #2c66f7;
}
.tab-item .underline-wrap {
position: absolute;
bottom: 0;
left: 50%;
margin-left: -12px;
width: 24px;
height: 4px;
background-color: #2c66f7;
border-radius: 8px;
}
/* 样式一:滑动背景滑块,left 由 :style 动态绑定,切换时平滑过渡 */
.type-box .slider-block {
position: absolute;
top: 0;
height: 80px;
z-index: 0;
background-color: #fff;
transition: left 0.2s ease-out;
}
.slider-block.slider-first {
border-radius: 24px 0 0 0;
}
.slider-block.slider-last {
border-radius: 0 24px 0 0;
}
.slider-block.slider-middle {
border-radius: 0;
}
.slider-block.slider-only {
border-radius: 24px 24px 0 0;
}
// .mask-box {
// position: absolute;
// height: 100%;
// width: 100%;
// background: #fff;
// left: 0;
// top: 80px;
// border-radius: 24px;
// overflow: hidden;
// }
.scroll-box {
width: 100%;
}
.type-box-v2 {
position: relative;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
width: 100%;
background-color: #eef4fe;
height: 48px;
border-radius: 24px 24px 0 0;
z-index: 0;
}
.tab-item-v2 {
padding: 0 20px;
margin-right: 0;
flex-shrink: 0;
position: relative;
display: flex;
align-items: center;
justify-content: center;
background-color: #eef4fe;
transition: background-color 0.25s ease-out;
}
.tab-item-v2:first-child {
padding-left: 20px;
}
.tab-item-v2 .text-wrap-v2 {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
z-index: 2;
}
.tab-item-v2 .tab-text-v2 {
color: #292d33;
font-size: 16px;
}
.tab-item-v2.active .tab-text-v2 {
color: #3b73ff;
font-weight: 400;
}
.tab-item-v2 .underline-bar {
position: absolute;
bottom: 0;
left: 50%;
margin-left: -10px;
width: 20px;
height: 3px;
border-radius: 2px;
background: #3b73ff;
}
.tab-item-v2 .sprite-icon {
position: absolute;
display: none;
}
.tab-item-v2.active .sprite-icon {
display: block;
}
.tab-item-v2.active {
background: #fff;
border-radius: 24px 24px 0 0;
overflow: hidden;
z-index: 1;
}
.icon-first-right {
right: -50px;
}
.icon-second-left {
left: -50px;
}
.icon-second-right {
right: -50px;
background-color: #eef4fe;
}
</style>
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double permission_handler_iosVersionNumber;
FOUNDATION_EXPORT const unsigned char permission_handler_iosVersionString[];
...@@ -650,12 +650,18 @@ importers: ...@@ -650,12 +650,18 @@ importers:
'@weapp-tailwindcss/merge': '@weapp-tailwindcss/merge':
specifier: ^2.0.1 specifier: ^2.0.1
version: 2.1.6 version: 2.1.6
dayjs:
specifier: ^1.11.19
version: 1.11.19
echarts: echarts:
specifier: ^6.0.0 specifier: ^6.0.0
version: 6.0.0 version: 6.0.0
glsk-toolkit: glsk-toolkit:
specifier: ^1.0.5 specifier: ^1.0.5
version: 1.0.5 version: 1.0.5
number-precision:
specifier: ^1.6.0
version: 1.6.0
sql.js: sql.js:
specifier: ^1.13.0 specifier: ^1.13.0
version: 1.14.0 version: 1.14.0
...@@ -739,6 +745,10 @@ importers: ...@@ -739,6 +745,10 @@ importers:
apps/uniappX/uniapp-x-tape/uni_modules/uni-logger: {} apps/uniappX/uniapp-x-tape/uni_modules/uni-logger: {}
apps/uniappX/uniapp-x-tape/uni_modules/uni-scss: {}
apps/uniappX/uniapp-x-tape/uni_modules/uni-transition: {}
apps/uniappX/uniapp-x-tape/uni_modules/uts-alioss: {} apps/uniappX/uniapp-x-tape/uni_modules/uts-alioss: {}
apps/uniappX/uniapp-x-tape/uni_modules/uts-openSchema: {} apps/uniappX/uniapp-x-tape/uni_modules/uts-openSchema: {}
...@@ -747,12 +757,6 @@ importers: ...@@ -747,12 +757,6 @@ importers:
apps/uniappX/uniapp-x-tape/uni_modules/z-paging-x: {} apps/uniappX/uniapp-x-tape/uni_modules/z-paging-x: {}
apps/uniappX/uniapp-x-tape/unpackage/dist/build/app-android/uni_modules/lime-sqlite:
dependencies:
sql.js:
specifier: ^1.13.0
version: 1.14.0
apps/web/venus-agentic/venus-agentic-assisant: apps/web/venus-agentic/venus-agentic-assisant:
dependencies: dependencies:
'@element-plus/icons-vue': '@element-plus/icons-vue':
...@@ -7905,6 +7909,9 @@ packages: ...@@ -7905,6 +7909,9 @@ packages:
nth-check@2.1.1: nth-check@2.1.1:
resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
number-precision@1.6.0:
resolution: {integrity: sha512-05OLPgbgmnixJw+VvEh18yNPUo3iyp4BEWJcrLu4X9W05KmMifN7Mu5exYvQXqxxeNWhvIF+j3Rij+HmddM/hQ==}
nwsapi@2.2.23: nwsapi@2.2.23:
resolution: {integrity: sha512-7wfH4sLbt4M0gCDzGE6vzQBo0bfTKjU7Sfpqy/7gs1qBfYz2vEJH6vXcBKpO3+6Yu1telwd0t9HpyOoLEQQbIQ==} resolution: {integrity: sha512-7wfH4sLbt4M0gCDzGE6vzQBo0bfTKjU7Sfpqy/7gs1qBfYz2vEJH6vXcBKpO3+6Yu1telwd0t9HpyOoLEQQbIQ==}
...@@ -10666,7 +10673,6 @@ packages: ...@@ -10666,7 +10673,6 @@ packages:
vue-i18n@9.14.5: vue-i18n@9.14.5:
resolution: {integrity: sha512-0jQ9Em3ymWngyiIkj0+c/k7WgaPO+TNzjKSNq9BvBQaKJECqn9cd9fL4tkDhB5G1QBskGl9YxxbDAhgbFtpe2g==} resolution: {integrity: sha512-0jQ9Em3ymWngyiIkj0+c/k7WgaPO+TNzjKSNq9BvBQaKJECqn9cd9fL4tkDhB5G1QBskGl9YxxbDAhgbFtpe2g==}
engines: {node: '>= 16'} engines: {node: '>= 16'}
deprecated: v9 and v10 no longer supported. please migrate to v11. about maintenance status, see https://vue-i18n.intlify.dev/guide/maintenance.html
peerDependencies: peerDependencies:
vue: ^3.5.17 vue: ^3.5.17
...@@ -18207,6 +18213,8 @@ snapshots: ...@@ -18207,6 +18213,8 @@ snapshots:
dependencies: dependencies:
boolbase: 1.0.0 boolbase: 1.0.0
number-precision@1.6.0: {}
nwsapi@2.2.23: nwsapi@2.2.23:
optional: true optional: true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!