feat:订单详情页面组件封装

This commit is contained in:
duanshuwen
2025-07-13 12:17:41 +08:00
parent 34a62d2f3e
commit 8766bb3720
88 changed files with 1021 additions and 47 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,19 @@
<template>
<view class="order-status">
<view class="status-header">
<image class="status-icon" src="/static/icons/clock.png"></image>
<text class="status-text">已取消</text>
</view>
<view class="status-description">
您已取消待支付的订单
</view>
</view>
</template>
<script setup>
// No dynamic data required for this static example
</script>
<style scoped>
@import './styles/index.scss';
</style>

View File

@@ -0,0 +1,14 @@
## 订单状态组件
组件名称:订单状态组件
## 提示词:
使用 uniapp + vue3 组合式 api 开发微信小程序,要求如下:
1、按照提供的图片高度还原交互设计
2、要求布局样式结构简洁明了class 命名请按照模块名称来命名,例如:.order-status
3、可以使用 uniapp 内置的组件
## 备注
仅供学习、交流使用,请勿用于商业用途。

View File

@@ -0,0 +1,28 @@
.order-status {
color: #fff;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
.status-header {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.status-icon {
width: 18px;
height: 18px;
margin-right: 8px;
}
.status-text {
font-size: 18px;
font-weight: 600;
}
.status-description {
font-size: 12px;
}