jiangchengfeiyi-xiaochengxu/pages/mine/bookings/booking.vue

261 lines
4.9 KiB
Vue
Raw Normal View History

2024-12-04 05:33:43 +00:00
<template>
<view class="flex-col page">
<view class="flex-col section">
<view class="flex-row justify-between self-stretch group">
<text class="font text">待消费</text>
<text class="font text_2" @click="goto()">已消费</text>
</view>
<view class="self-start section_2"></view>
</view>
<view class="flex-col section_3 mt-13" v-for="i in item">
<text class="self-end font_2 text_3">待消费</text>
<view class="flex-row items-baseline self-stretch group_2">
<text class="font_3 text_4">订单编号</text>
<text class="font_3 text_5 ml-5">E20241005095840091406189</text>
</view>
<view class="flex-row self-stretch group_3">
<image class="shrink-0 image"
src="https://ide.code.fun/api/image?token=6736eddfc471750012df05d6&name=bc0e955304da0a2ccafe3a66ac1f3aca.png" />
<view class="flex-col flex-1 group_4">
<view class="flex-row justify-center self-stretch relative">
<text class="font_2 text_6 pos">整套约拍</text>
<text class="font_2 text_7">时尚精选</text>
</view>
<text class="self-start font_5 text_10">到店日期2024-10-15</text>
<text class="self-start font_5 text_1">具体场次上午场09:30-12:00</text>
<text class="self-stretch text_11">已选服务妆发服务摄影服务;室内</text>
</view>
<view class="flex-row items-center shrink-0 self-start group_5">
<text class="text_8">138.</text>
<image class="shrink-0 image_2 image_3"
src="https://ide.code.fun/api/image?token=6736eddfc471750012df05d6&name=6c5700b3ac5fd83a23d838cb456bdd10.png" />
<text class="font_4 text_9">00</text>
</view>
</view>
<view class="flex-row justify-end items-center self-stretch group_6">
<text class="font_2 text_12">去支付</text>
<image class="image_2"
src="https://ide.code.fun/api/image?token=6736eddfc471750012df05d6&name=ea05ec17023763edb8cfe919508e0459.png" />
<view class="group_7">
<text class="text_13">88</text>
<text class="font_4 text_14">.00</text>
</view>
</view>
</view>
</view>
</template>
<script setup>
import { ref } from 'vue'
const item = ref([null,null,null])
const goto=()=>{
uni.navigateTo({
url:'/pages/mine/bookings/bookings'
})
}
</script>
<style lang="scss" scoped>
.mt-13 {
margin-top: 24.38rpx;
}
.ml-5 {
margin-left: 9.38rpx;
}
.page {
padding-bottom: 1185rpx;
background-color: #f8e8c1;
width: 100%;
overflow-y: auto;
overflow-x: hidden;
height: 100%;
}
.section {
padding: 0 121.88rpx;
background-color: #fffef8;
}
.group {
padding: 21.68rpx 4.71rpx 18.23rpx 10.22rpx;
}
.font {
font-size: 30rpx;
font-family: Open Sans;
line-height: 26.25rpx;
color: #323232;
}
.text {
line-height: 27.6rpx;
}
.text_2 {
line-height: 27.6rpx;
}
.section_2 {
background-color: #fb8b05;
width: 112.5rpx;
height: 5.63rpx;
}
.section_3 {
margin-left: 16.88rpx;
margin-right: 15rpx;
padding: 35.4rpx 19.89rpx 35.4rpx 24.38rpx;
background-color: #fffef8;
border-radius: 18.75rpx;
}
.font_2 {
font-size: 26.25rpx;
font-family: Open Sans;
line-height: 26.25rpx;
color: #323232;
}
.text_3 {
color: #fb8b05;
line-height: 24.15rpx;
}
.group_2 {
margin-top: 18.49rpx;
}
.font_3 {
font-size: 22.5rpx;
font-family: Open Sans;
color: #818181;
}
.text_4 {
line-height: 20.85rpx;
}
.text_5 {
line-height: 16.54rpx;
}
.group_3 {
margin-top: 29.81rpx;
}
.image {
border-radius: 9.38rpx;
width: 118.13rpx;
height: 151.88rpx;
}
.group_4 {
margin-left: 23.38rpx;
margin-top: 2.19rpx;
}
.text_6 {
line-height: 24.49rpx;
}
.pos {
position: absolute;
left: 0.15rpx;
top: 50%;
transform: translateY(-50%);
}
.text_7 {
line-height: 24.43rpx;
}
.font_5 {
font-size: 22.5rpx;
font-family: Open Sans;
line-height: 26.25rpx;
color: #323232;
}
.text_10 {
margin-top: 22.91rpx;
}
.text_1 {
margin-top: 3.39rpx;
}
.text_11 {
margin-top: 20.89rpx;
color: #939393;
font-size: 22.5rpx;
font-family: Inter;
line-height: 22.97rpx;
}
.group_5 {
margin-left: 3.52rpx;
margin-right: 14.59rpx;
}
.text_8 {
margin-left: 25.03rpx;
color: #323232;
font-size: 33.75rpx;
font-family: Open Sans;
font-weight: 600;
line-height: 24.88rpx;
}
.image_2 {
width: 30rpx;
height: 26.25rpx;
}
.image_3 {
margin-left: -90.66rpx;
}
.font_4 {
font-size: 26.25rpx;
font-family: Open Sans;
line-height: 19.29rpx;
font-weight: 600;
}
.text_9 {
margin-left: 61.14rpx;
color: #323232;
}
.group_6 {
margin-top: 26.68rpx;
padding: 0 9.54rpx;
}
.text_12 {
margin-right: -8.06rpx;
line-height: 24.23rpx;
}
.group_7 {
line-height: 21.99rpx;
height: 22.05rpx;
}
.text_13 {
color: #fb8b05;
font-size: 30rpx;
font-family: Open Sans;
font-weight: 600;
line-height: 21.99rpx;
}
.text_14 {
color: #fb8b05;
line-height: 19.39rpx;
}
@import url("../../../common/css/global.css");
</style>