Commit 90e4fbbd by liimin

refactor(components): 替换MessageBox组件为un-popup并优化UI样式

- 将CarBrands和Employee组件中的MessageBox替换为un-popup组件
- 添加弹窗头部导航栏包含标题、返回和关闭按钮
- 重构弹窗布局结构和滚动视图配置
- 更新组件可见性控制逻辑从ref调用改为状态管理
- 调整ToolBox工具面板背景透明度和动画效果
- 优化入口图标尺寸和间距设置
- 修改完成步骤弹窗的最大高度限制
- 添加员工列表为空时的提示文案
- 调整各组件的样式细节包括圆角、阴影和颜色主题
1 parent dde67d29
<template>
<view>
<MessageBox ref="carBrandListVisible"
:back="showBackButton"
:is-footer="false"
position="bottom"
:title="currentView == 'brand' ? '请选择车品牌' : '请选择车系'"
:z-index="dynamicZIndex"
@close="handleMessageBoxClose">
<scroll-view class="select-box">
<!-- 品牌列表 -->
<view v-show="currentView == 'brand'" class="view-content">
<template v-for="(item, index) in carBrandList"
:key="index">
<view class="select-item"
:class="[{ 'is-active': selectedBrandIndex == index }]"
@click="selectBrand(item, index)">
<text class="select-item-text" :class="[{ 'is-active-text': selectedBrandIndex == index }]">{{ (item as UTSJSONObject).name }}</text>
</view>
</template>
<un-popup :show="visible"
mode="bottom"
:round="20"
:z-index="dynamicZIndex"
@close="handlePopupClose">
<view class="popup-wrapper" :style="{ height: windowHeight * 0.6 + 'px' }">
<view class="popup-header">
<view v-if="showBackButton" class="icon-back" @click="handleBackClick">
<un-icon name="arrow-left" size="20"></un-icon>
</view>
<text class="popup-title">{{ currentView == 'brand' ? '请选择车品牌' : '请选择车系' }}</text>
<view class="icon-close-box" @click="handleHide">
<uni-icons color="#1A1A1A" :size="18" type="closeempty"></uni-icons>
</view>
</view>
<!-- 车系列表 -->
<view v-show="currentView == 'series'" class="view-content">
<template v-for="(item, index) in currentCarList"
:key="index">
<view class="select-item"
:class="[{ 'is-active': carModel == (item as UTSJSONObject).name }]"
@click="handleSelect(item)">
<text class="select-item-text" :class="[{ 'is-active-text': carModel == (item as UTSJSONObject).name }]">{{ (item as UTSJSONObject).name }}</text>
</view>
</template>
</view>
</scroll-view>
</MessageBox>
<scroll-view class="select-box"
direction="vertical"
:show-scrollbar="false"
:bounces="false"
:scroll-with-animation="false"
scroll-y>
<!-- 品牌列表 -->
<view v-show="currentView == 'brand'" class="view-content">
<template v-for="(item, index) in carBrandList" :key="index">
<view class="select-item"
:class="[{ 'is-active': selectedBrandIndex == index }]"
@click="selectBrand(item, index)">
<text class="select-item-text" :class="[{ 'is-active-text': selectedBrandIndex == index }]">{{ (item as UTSJSONObject).name }}</text>
</view>
</template>
</view>
<!-- 车系列表 -->
<view v-show="currentView == 'series'" class="view-content">
<template v-for="(item, index) in currentCarList" :key="index">
<view class="select-item"
:class="[{ 'is-active': carModel == (item as UTSJSONObject).name }]"
@click="handleSelect(item)">
<text class="select-item-text" :class="[{ 'is-active-text': carModel == (item as UTSJSONObject).name }]">{{ (item as UTSJSONObject).name }}</text>
</view>
</template>
</view>
</scroll-view>
</view>
</un-popup>
</view>
</template>
<script setup lang="uts">
import { ComponentPublicInstance } from "vue";
import { computed, ref, watch } from "vue";
console.log('==== CarBrands 组件脚本开始执行 ====')
......@@ -46,20 +58,16 @@ import { recordService } from "@/services/recorder/index.uts";
import { dispatch, state } from "@/store/index.uts";
import { storage } from "@/utils/storage.uts";
import MessageBox from "./MessageBox.uvue";
import { resolutionState } from "@/services/adapter/index.uts";
import { computed } from "vue";
import type { AppResolutionConfig } from "@/services/adapter/types/index.uts";
// 使用 computed 响应式获取最新的分辨率配置
const windowHeight = computed(() => {
console.log('windowHeight:', resolutionState.windowHeight)
return resolutionState.windowHeight
}
);
const height = resolutionState.windowHeight;
return height > 0 ? height : uni.getWindowInfo().windowHeight;
});
type UserInfo = UTSJSONObject
......@@ -89,13 +97,11 @@ const props = defineProps({
const emit = defineEmits(["close", "select"]);
const carlist = ref<Array<any>>([]);
const selectItem = ref<UTSJSONObject>({});
const clickFlga = ref<boolean>(false);
const visible = ref<boolean>(false);
const carBrandListOff = ref<boolean>(false);
const carBrandListVisible = ref(null);
const updateView = ref<number>(Date.now());
const carBrandList = ref<Array<any>>([]);
const selectItem = ref<UTSJSONObject>({});
// 当前视图:"brand" = 品牌选择,"series" = 车系选择
const currentView = ref<"brand" | "series">("brand");
// 当前选中的品牌索引
......@@ -156,33 +162,32 @@ const showBackButton = computed<boolean>(() => {
});
function close(): void {
if (carBrandListVisible.value != null) {
(carBrandListVisible.value as ComponentPublicInstance).$callMethod("close");
}
visible.value = false;
carBrandListOff.value = false;
currentView.value = "brand"; // 重置为品牌视图
selectedBrandIndex.value = -1; // 重置选中状态
currentCarList.value = []; // 清空车系列表
}
// 处理 MessageBox 的 close 事件
function handleMessageBoxClose(): void {
// 处理弹窗关闭事件
function handlePopupClose(): void {
// 如果当前是车系视图,点击返回按钮时切换到品牌视图
if (currentView.value == "series") {
currentView.value = "brand";
} else {
// 如果是品牌视图,点击关闭按钮才真正关闭弹窗
visible.value = false;
emit("close");
}
}
// 处理自定义返回按钮点击
function handleBackClick(): void {
currentView.value = "brand";
// 处理关闭按钮点击(不触发事件,只隐藏)
function handleHide(): void {
visible.value = false;
}
function closeCarBoxVisible(): void {
// 返回品牌选择
// 处理返回按钮点击
function handleBackClick(): void {
currentView.value = "brand";
}
function handleSelect(item: any): void {
......@@ -219,9 +224,7 @@ function handleSelect(item: any): void {
}
// 关闭弹窗并发出选择事件
if (carBrandListVisible.value != null) {
(carBrandListVisible.value as ComponentPublicInstance).$callMethod("close");
}
visible.value = false;
emit("select", { ...item, ...selectItemVal });
}
......@@ -300,6 +303,7 @@ function autoSelect(): void {
}
function open(): void {
visible.value = true;
const userInfo: null | UserInfo = storage.get("userInfo") as null | UTSJSONObject;
if (userInfo == null) return;
......@@ -327,11 +331,6 @@ function open(): void {
child.brandId = _brandId;
carBrandListData.push(child);
}
// childs.forEach((i: any) => {
// i.brandName = _brandName
// i.brandId = _brandId
// carBrandListData.push(i)
// })
}
}
......@@ -339,9 +338,6 @@ function open(): void {
dispatch("setCarBrandsList", carBrandListData);
storage.set("carBrandList", carBrandListData, 0);
}
}
updateView.value = Date.now();
});
......@@ -359,17 +355,11 @@ function open(): void {
if (foundIndex != -1 && carBrandListVal.length == 1) {
selectBrand(carBrandListVal[foundIndex], foundIndex);
} else {
if (carBrandListVisible.value != null) {
(carBrandListVisible.value as ComponentPublicInstance).$callMethod("open");
}
carBrandListOff.value = true;
}
return;
}
if (carBrandListVisible.value != null) {
(carBrandListVisible.value as ComponentPublicInstance).$callMethod("open");
}
carBrandListOff.value = true;
}
......@@ -380,13 +370,60 @@ defineExpose({ open, close, autoSelect });
</script>
<style scoped lang='scss'>
.popup-wrapper {
background: #ffffff;
border-radius: 20px 20px 0 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.popup-header {
position: relative;
display: flex;
align-items: center;
justify-content: center;
height: 56px;
flex-shrink: 0;
border-bottom: 1px solid #f0f0f0;
}
.popup-title {
font-size: 18px;
font-weight: 600;
color: #292d33;
}
.icon-back {
position: absolute;
left: 16px;
top: 50%;
transform: translateY(-50%);
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
}
.icon-close-box {
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
}
.select-box {
margin: 16px 0;
flex: 1;
min-height: 0;
position: relative;
display: flex;
flex-direction: column;
min-height: 0;
flex: 1;
}
.view-content {
......@@ -395,6 +432,9 @@ defineExpose({ open, close, autoSelect });
flex-wrap: wrap;
justify-content: space-between;
width: 100%;
padding: 16px 24px 24px;
box-sizing: border-box;
min-height: 100%;
}
.select-item {
......
<template>
<MessageBox ref="employeeBoxVisible"
:is-footer="false"
position="bottom"
:title="`请选择${title}`"
:z-index="10076"
@close="handleClose">
<scroll-view class="select-box"
:show-scrollbar="false"
:style="{ maxHeight: windowHeight * 0.6 + 'px' }">
<view class="view-content">
<template v-for="(item, index) in employeeList" :key="index">
<view class="select-item"
:class="[{ 'is-active': (salesUuid as string) == (item as UTSJSONObject).uuid }]"
@click="handleSelect(item)">
<text class="select-item-text" :class="[{ 'is-active-text': (salesUuid as string) == (item as UTSJSONObject).uuid }]">{{ (item as UTSJSONObject).staffName }}</text>
<view>
<un-popup :show="visible"
mode="bottom"
:round="20"
:z-index="dynamicZIndex"
@close="handlePopupClose">
<view class="popup-wrapper" :style="{ height: windowHeight * 0.6 + 'px' }">
<view class="popup-header">
<view class="icon-close-box" @click="handleHide">
<uni-icons color="#1A1A1A" :size="18" type="closeempty"></uni-icons>
</view>
</template>
<text class="popup-title">请选择{{ title }}</text>
</view>
<scroll-view class="select-box"
direction="vertical"
:show-scrollbar="false"
:bounces="false"
:scroll-with-animation="false"
scroll-y>
<view v-if="employeeList.length === 0" style="padding: 40px 20px; text-align: center;">
<text style="color: #999; font-size: 14px;">暂无销售人员数据</text>
</view>
<view class="view-content">
<template v-for="(item, index) in employeeList" :key="index">
<view class="select-item"
:class="[{ 'is-active': (salesUuid as string) == (item as UTSJSONObject).uuid }]"
@click="handleSelect(item)">
<text class="select-item-text" :class="[{ 'is-active-text': (salesUuid as string) == (item as UTSJSONObject).uuid }]">{{ (item as UTSJSONObject).staffName }}</text>
</view>
</template>
</view>
</scroll-view>
</view>
</scroll-view>
</MessageBox>
</un-popup>
</view>
</template>
<script setup lang="uts">
......@@ -29,8 +44,6 @@ import { resolutionState } from "@/services/adapter/index.uts";
import { dispatch, state } from "@/store/index.uts";
import { storage } from "@/utils/storage.uts";
import MessageBox from "./MessageBox.uvue";
type Props = {
salesPropsUuid?: string
title?: string
......@@ -45,7 +58,7 @@ const props = withDefaults(defineProps<Props>(), {
const emit = defineEmits(["close", "select"]);
const employeeBoxVisible = ref<ComponentPublicInstance | null>(null);
const visible = ref<boolean>(false);
const watchStatus = computed<boolean>(() => {
const status = state.user?.historyStatus;
......@@ -65,20 +78,27 @@ const salesUuid = computed<string>(() => {
const val2 = props.salesPropsUuid;
return val1 !== null && val1 !== "" ? (val1 as string) : val2;
});
const windowHeight = computed<number>(() => resolutionState.windowHeight);
// 动态计算 z-index,确保始终在最上层(高于 ToolBox 的 10073)
const dynamicZIndex = computed<number>(() => {
return 10090;
});
const windowHeight = computed<number>(() => {
const height = resolutionState.windowHeight;
return height > 0 ? height : uni.getWindowInfo().windowHeight;
});
const employeeList = ref<Array<any>>([]);
watch(updateView, () => {
console.log("updateView triggered, reading from storage");
const list = storage.get("employeeList") as UTSArray<Any>;
console.log("storage employeeList:", list, "length:", list != null ? (list as Array<any>).length : 0);
employeeList.value = list != null ? (list as Array<any>) : [];
console.log("employeeList.value updated, length:", employeeList.value.length);
}, { immediate: true, deep: true });
function close(): void {
if (employeeBoxVisible.value != null) {
(employeeBoxVisible.value as ComponentPublicInstance).$callMethod("close");
}
visible.value = false;
}
watch(watchStatus, () => {
......@@ -89,21 +109,33 @@ function handleClose(): void {
emit("close");
}
function handlePopupClose(): void {
visible.value = false;
emit("close");
}
function handleHide(): void {
visible.value = false;
}
function open(): void {
if (employeeBoxVisible.value != null) {
(employeeBoxVisible.value as ComponentPublicInstance).$callMethod("open");
}
visible.value = true;
const userInfo: null | UserInfo = storage.get("userInfo") as null | UTSJSONObject;
if (userInfo == null) return;
const shopMerchantId = userInfo.shopMerchantId;
// 获取销售人员列表
getEmployeeListApi({ merchantId: shopMerchantId }).then((res: any) => {
console.log("getEmployeeListApi response:", res);
const list = res as Array<any>;
console.log("list length:", list != null ? list.length : 0);
dispatch("setEmployeeList", list);
const listToStore = list != null ? list : [];
console.log("Saving to storage, length:", listToStore.length);
storage.set("employeeList", listToStore, 0);
console.log("Triggering updateView");
updateView.value = Date.now();
console.log("updateView triggered with:", updateView.value);
});
}
......@@ -116,14 +148,48 @@ defineExpose({ open, close });
</script>
<style scoped lang="scss">
.popup-wrapper {
background: #ffffff;
border-radius: 20px 20px 0 0;
display: flex;
flex-direction: column;
overflow: hidden;
}
.popup-header {
position: relative;
display: flex;
align-items: center;
justify-content: center;
height: 56px;
flex-shrink: 0;
border-bottom: 1px solid #f0f0f0;
}
.popup-title {
font-size: 18px;
font-weight: 600;
color: #292d33;
}
.icon-close-box {
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
}
.select-box {
margin: 16px 0;
flex: 1;
min-height: 0;
position: relative;
display: flex;
flex-direction: column;
min-height: 0;
flex: 1;
padding-bottom: 30px;
}
.view-content {
......@@ -132,6 +198,9 @@ defineExpose({ open, close });
flex-wrap: wrap;
justify-content: space-between;
width: 100%;
padding: 16px 24px 24px;
box-sizing: border-box;
min-height: 100%;
}
.select-item {
......
......@@ -128,12 +128,12 @@ function getIconUrl(icon: string): string {
.entrance-item {
width: calc(100% / 3);
min-height: 120px;
min-height: 90px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: var(--l-spacing-lg);
padding: 2px;
border-radius: var(--l-radius-md);
background: rgba(255, 255, 255, 0.6);
transition-property: transform, background, box-shadow;
......
......@@ -358,6 +358,7 @@ function showError(key: string): boolean {
}
function showSelectPopup(item: FormObjectItem): void {
console.log("showSelectPopup", item);
if (props.customerType == 0 || (item.disabled == true)) return;
const popKey = item.popKey !== null ? item.popKey : "";
const refValue = getRefValue(popKey);
......@@ -467,6 +468,7 @@ const open = (): void => {
recordService.getBusinessData().then((data: any) => {
const customerInfo = (data != null ? data as UTSJSONObject : null);
console.log("customerInfo", customerInfo);
if (customerInfo != null) {
// 填充表单数据
formData.value = {
......@@ -478,6 +480,7 @@ const open = (): void => {
salesUuid: customerInfo.salesUuid != null && customerInfo.salesUuid != "null" ? customerInfo.salesUuid : "",
};
console.log("formData", formData.value);
const _sceneType = props.sceneType;
const _customerType = props.customerType;
let stepValue = 1;
......@@ -555,14 +558,13 @@ defineExpose({ open, close });
.portrait-wrapper {
width: 100%;
height: 85%;
max-height: 85%;
border-radius: 20px 20px 0 0;
}
.landscape-wrapper {
width: 400px;
height: 100%; /* 保证占满抽屉高度 */
flex: 1; /* 让 wrapper 在容器内能完全伸展 */
height: 100%;
}
.popup-header {
......@@ -595,7 +597,7 @@ defineExpose({ open, close });
.popup-body {
flex: 1;
height: 0; /* 必须要有高度限制以便内部 scroll-view 滚动 */
min-height: 0;
padding: 0 20px;
box-sizing: border-box;
}
......
......@@ -112,7 +112,7 @@ export default {
// iPhone 14 Pro 竖屏 (393x816) - 产品介绍占 60%
// 可用高度 = 816 - 44(状态栏) - 42(标题) - 60(TabBar) ≈ 670px
'portrait-393x816': {
'--module-box-height': '400px',
'--module-box-height': '300px',
'--tool-box-min-height': '200px',
'--common-title-height': '42px',
},
......
......@@ -551,15 +551,17 @@ defineExpose({
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4);
background: rgba(0, 0, 0, 0.35);
backdrop-filter: blur(8px);
z-index: 1000;
pointer-events: auto;
transition: opacity 0.3s ease;
}
.tool-panel {
position: fixed;
z-index: 1001;
transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms ease;
transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 280ms ease;
}
.tool-panel-open {
......@@ -570,7 +572,7 @@ defineExpose({
.tool-panel-landscape.tool-panel-close {
opacity: 0;
transform: translateX(calc(var(--panel-width) + 60px));
transform: translateX(calc(var(--panel-width) + 40px));
pointer-events: none;
}
......@@ -626,22 +628,26 @@ defineExpose({
padding: var(--fab-panel-padding-v) var(--fab-panel-padding-h);
margin-bottom: 0;
align-items: stretch;
background: linear-gradient(145deg, rgba(30, 36, 48, 0.95), rgba(42, 50, 66, 0.92));
box-shadow: -8px 24px 48px rgba(0, 0, 0, 0.4), inset 1px 1px 2px rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.08);
background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
backdrop-filter: blur(20px);
box-shadow:
-12px 32px 64px rgba(0, 0, 0, 0.12),
0 8px 24px rgba(0, 0, 0, 0.08),
inset 0 1px 0 rgba(255, 255, 255, 0.8);
border: 1px solid rgba(255, 255, 255, 0.6);
}
.tool-panel-landscape .list-wrapper {
width: var(--panel-width);
height: var(--fab-panel-height);
border-radius: 20px 0 0 20px;
border-radius: 24px 0 0 24px;
border-right-width: 0;
}
.tool-panel-portrait .list-wrapper {
width: 100%;
height: auto;
border-radius: 20px 20px 0 0;
border-radius: 24px 24px 0 0;
border-bottom-width: 0;
}
......@@ -649,16 +655,16 @@ defineExpose({
display: flex;
flex-direction: row;
align-items: center;
// justify-content: space-between;
height: 32px;
padding: 0 4px 0 8px;
justify-content: flex-end;
height: 28px;
padding: 0 2px 0 8px;
margin-bottom: 4px;
}
.panel-title {
font-size: 13px;
font-size: 14px;
font-weight: 600;
color: #e2e8f0;
color: #1e293b;
letter-spacing: 0.5px;
}
......@@ -669,14 +675,20 @@ defineExpose({
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.05);
background: rgba(102, 126, 234, 0.08);
border: 1px solid rgba(102, 126, 234, 0.15);
transition: all 0.2s ease;
&:active {
background: rgba(102, 126, 234, 0.15);
transform: scale(0.95);
}
}
.panel-close-text {
font-size: 16px;
font-weight: 300;
color: #94a3b8;
color: #667eea;
line-height: 16px;
}
......@@ -691,25 +703,26 @@ defineExpose({
display: flex;
flex-direction: row;
width: 100%;
font-size: 11px;
font-weight: 600;
font-size: 9px;
font-weight: 400;
letter-spacing: 0.5px;
color: rgba(255, 255, 255, 0.45);
padding: 0 4px;
color: #cbd5e1;
padding: 0 6px;
margin-bottom: 2px;
text-transform: uppercase;
}
.dynamic-group {
display: flex;
flex-direction: column;
padding-bottom: 6px;
padding-bottom: 8px;
width: 100%;
}
.fixed-group {
display: flex;
flex-direction: column;
padding: 8px 0 4px;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
padding: 6px 0 4px;
width: 100%;
}
......@@ -718,7 +731,8 @@ defineExpose({
flex-direction: row;
flex-wrap: wrap;
width: 100%;
margin-top: 8px;
margin-top: 10px;
gap: 4px;
}
.action-item {
......@@ -742,28 +756,39 @@ defineExpose({
align-items: center;
justify-content: center;
cursor: pointer;
transition: transform 0.2s ease, opacity 0.2s ease;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
width: 100%;
padding: 6px 4px;
border-radius: 12px;
&:active {
transform: scale(0.95);
}
}
.fab-item-active {
transform: scale(0.92);
opacity: 0.8;
transform: scale(0.95);
background: rgba(102, 126, 234, 0.08);
}
.icon-box {
position: relative;
width: 38px;
height: 38px;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
background: linear-gradient(180deg, rgba(240, 244, 255, 0.96), rgba(220, 230, 248, 0.92));
width: 42px;
height: 42px;
border-radius: 10px;
box-shadow:
0 4px 12px rgba(0, 0, 0, 0.08),
0 2px 6px rgba(0, 0, 0, 0.06),
inset 0 1px 0 rgba(255, 255, 255, 0.9);
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
overflow: hidden;
flex-shrink: 0;
border: 1px solid rgba(255, 255, 255, 0.8);
transition: all 0.25s ease;
.btn-icon,
.sprite-icon {
......@@ -772,7 +797,7 @@ defineExpose({
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
......@@ -784,16 +809,34 @@ defineExpose({
}
}
.fixed-item .icon-box {
background: linear-gradient(135deg, rgba(102, 126, 234, 0.18) 0%, rgba(118, 75, 162, 0.18) 100%);
border: 1px solid rgba(102, 126, 234, 0.25);
box-shadow:
0 4px 12px rgba(102, 126, 234, 0.18),
0 2px 6px rgba(102, 126, 234, 0.12),
inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.fab-item:active .icon-box {
transform: scale(0.95);
box-shadow:
0 2px 8px rgba(0, 0, 0, 0.1),
0 1px 4px rgba(0, 0, 0, 0.08);
}
.item-text {
margin-left: 0;
margin-top: 6px;
font-size: 10px;
color: rgba(255, 255, 255, 0.85);
margin-top: 8px;
font-size: 11px;
color: #475569;
font-weight: 500;
line-height: 12px;
line-height: 13px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: center;
max-width: 100%;
}
.fixed-item {
......@@ -805,11 +848,13 @@ defineExpose({
}
.fixed-pay {
background: linear-gradient(180deg, #f3f7ff, #cedcf1);
background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
border: 1px solid rgba(59, 130, 246, 0.2);
}
.fixed-finish {
background: linear-gradient(180deg, #fff7ee, #e7d7c6);
background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
border: 1px solid rgba(245, 158, 11, 0.2);
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!