Commit 7cfe7941 by liimin

style(components): 更新完成步骤和工具箱组件样式

- 在 FinishStep 组件中添加 un-line 分隔符并注释掉原有的边框样式
- 为 ToolBox 组件的触发器添加自定义样式和图标
- 调整 fab-item 的底部边距从 16px 改为 10px
- 移除多余的位置属性空行以优化代码格式
1 parent 03ad4e65
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</template> </template>
</view> </view>
</scroll-view> </scroll-view>
<un-line color="#f0f0f0" length="90%" margin="10px 10px 10px 12px"></un-line>
<!-- 底部按钮 --> <!-- 底部按钮 -->
<view class="popup-footer"> <view class="popup-footer">
<view class="flex-1" style="margin-right: 12px;"> <view class="flex-1" style="margin-right: 12px;">
...@@ -559,7 +559,7 @@ defineExpose({ open, close }); ...@@ -559,7 +559,7 @@ defineExpose({ open, close });
.popup-footer { .popup-footer {
display: flex; display: flex;
padding: 12px 20px; padding: 12px 20px;
border-top: 1px solid #f0f0f0; // border-top: 1px solid #f0f0f0;
gap: 12px; gap: 12px;
flex-shrink: 0; flex-shrink: 0;
align-items: center; align-items: center;
......
...@@ -12,11 +12,12 @@ ...@@ -12,11 +12,12 @@
:size="56" :size="56"
type="primary" type="primary"
@click="handleFabClick"> @click="handleFabClick">
<!-- <template #trigger> <template #trigger>
<view class="custom-trigger"> <view class="custom-trigger">
文件夹 <un-icon name="folder" size="24" color="#fff"></un-icon>
<text class="trigger-text">文件夹</text>
</view> </view>
</template> --> </template>
<template #default> <template #default>
<view class="list-wrapper"> <view class="list-wrapper">
<!-- 动态数据项 --> <!-- 动态数据项 -->
...@@ -154,7 +155,26 @@ defineExpose({ hide }); ...@@ -154,7 +155,26 @@ defineExpose({ hide });
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%; height: 100%;
.custom-trigger {
width: 56px;
height: 56px;
background: linear-gradient(45deg, #ff6b6b, #4673ff);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
flex-direction: column;
.trigger-text{
position: relative;
font-size: 11px;
color: #fff;
text-align: center;
white-space: nowrap;
z-index: 2;
font-weight: 500;
}
}
.list-wrapper { .list-wrapper {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -162,12 +182,11 @@ defineExpose({ hide }); ...@@ -162,12 +182,11 @@ defineExpose({ hide });
padding: 16px 12px; padding: 16px 12px;
margin-bottom: 8px; margin-bottom: 8px;
align-items: center; align-items: center;
.fab-item { .fab-item {
display: flex; display: flex;
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
margin-bottom:16px; margin-bottom:10px;
.icon-box { .icon-box {
position: relative; position: relative;
width: 56px; width: 56px;
...@@ -179,7 +198,6 @@ defineExpose({ hide }); ...@@ -179,7 +198,6 @@ defineExpose({ hide });
align-items: center; align-items: center;
justify-content: center; justify-content: center;
overflow: hidden; overflow: hidden;
.btn-icon, .btn-icon,
.sprite-icon { .sprite-icon {
position: absolute; position: absolute;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!