Files
shoot-miniprograms/src/pages/order-detail.vue

53 lines
1.0 KiB
Vue
Raw Normal View History

2025-05-28 15:00:31 +08:00
<script setup>
import { ref } from "vue";
import { onLoad } from "@dcloudio/uni-app";
import Container from "@/components/Container.vue";
const id = ref("");
onLoad((options) => {
id.value = options.id;
});
</script>
<template>
<Container title="订单详情">
<view class="container">
<view class="order">
<text>商品名会员一个月</text>
<text>订单号20250131HY1M0000</text>
<text>下单时间2025-01-31 09:27:34</text>
<text>支付时间2025-01-31 09:27:34</text>
<text>金额10 </text>
<text>支付方式支付宝</text>
</view>
</view>
</Container>
</template>
<style scoped>
.container {
width: 100%;
height: 100%;
background-color: #e4e4e4;
padding-top: 10px;
}
.order {
width: 100%;
height: 100%;
background-color: #fff;
display: flex;
flex-direction: column;
padding: 15px;
}
.order > text:first-child {
color: #000;
font-size: 16px;
}
.order > text {
color: #666666;
font-size: 13px;
margin-top: 5px;
}
</style>