53 lines
1.0 KiB
Vue
53 lines
1.0 KiB
Vue
|
|
<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>
|