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: 7.4 KiB

View File

@@ -0,0 +1,22 @@
<template>
<view class="user-info mb12">
<view class="user-info-title">游客信息</view>
<view class="user-info-item">
<text class="label">联系游客</text>
<text class="value">{{ contactName }}</text>
</view>
<view class="user-info-item">
<text class="label">联系电话</text>
<text class="value">{{ contactPhone }}</text>
</view>
</view>
</template>
<script setup>
const contactName = '李元一';
const contactPhone = '13172891829';
</script>
<style scoped>
@import './styles/index.scss';
</style>

View File

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

View File

@@ -0,0 +1,28 @@
.user-info {
background-color: #fff;
border-radius: 10px;
padding: 16px 18px;
}
.user-info-title {
font-size: 16px;
font-weight: 600;
margin-bottom: 14px;
}
.user-info-item {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.label {
font-size: 14px;
color: #666;
margin-right: 8px;
}
.value {
font-size: 14px;
color: #333;
}