feat(fittingRoom): 添加 Clothespic 组件并集成到试衣间页面

- 创建 Clothespic.vue 组件,包含试穿按钮和样式
- 在 fittingRoom/index.vue 中引入并使用 Clothespic 组件- 调整组件导入顺序以优化代码结构- 添加 uv-button 和 uv-loading-icon 组件模块及相关配置
- 更新组件 changelog、package.json、props.js 和 readme.md 文件
- 实现按钮和加载图标的基础样式与功能配置
This commit is contained in:
liguigong
2025-09-26 19:32:03 +08:00
parent d3f8ec3576
commit b42a66aa49
14 changed files with 1544 additions and 2 deletions
@@ -0,0 +1,41 @@
<!--
* @Author: liguigong liguigong@shopline.com
* @Date: 2025-09-26 19:17:18
* @LastEditors: liguigong liguigong@shopline.com
* @LastEditTime: 2025-09-26 19:31:15
* @FilePath: pages/fittingRoom/components/Clothespic.vue
* @Description: 这是默认设置,可以在设置工具File Description中进行配置
-->
<template>
<view class="clothes-box">
<view></view>
<view class="btn" @click="tryItOn">试穿</view>
</view>
</template>
<script setup>
function tryItOn() {}
</script>
<style lang="scss" scoped>
.clothes-box {
position: absolute;
top: 50rpx;
height: 600rpx;
right: 30rpx;
overflow: hidden;
width: 120rpx;
z-index: 200;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.btn {
height: 48rpx;
background: #000;
color: #fff;
font-size: 24rpx;
line-height: 48rpx;
text-align: center;
width: 100%;
}
</style>