xiaokuaisong-shopapp/uniapp05/pages/index/list.vue
2024-10-18 16:05:19 +08:00

145 lines
2.4 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view class="container">
<view class="box">
<view class="numberState">
<view class="number">
#7
</view>
<view class="state">
商家已自动接单
</view>
</view>
<view class="time">
立即送达/12-31 1433前送达
</view>
<view class="message">
<view class="name">
柿子先生
</view>
<view class="phone">
手机尾号1234
</view>
</view>
<view class="button">
门店新客
</view>
<view class="button">
美团外卖会员
</view>
<view class="sure">
确认出餐
</view>
</view>
<view class="box2">
<view class="beizhu">
顾客需要餐具
</view>
<view class="goods">
1种商品共1件
</view>
<view class="money">
预计收入12.34
</view>
</view>
</view>
</template>
<script>
</script>
<style>
.container {
width: 80%;
height: 100vh;
margin: 0 auto;
background-color: #fff;
}
.numberState {
height: 80rpx;
}
.number {
font-weight: 700;
font-size: 60rpx;
float: left;
}
.state {
font-size: 30rpx;
font-weight: 700;
float: right;
margin-top: 15rpx;
}
.time {
font-size: 30rpx;
color: #999;
padding-bottom: 10px;
border-bottom: 1px dotted #787878;
}
.message {
padding-top: 15rpx;
height: 70rpx;
}
.name {
font-size: 45rpx;
font-weight: 700;
float: left;
}
.phone {
float: left;
font-size: 30rpx;
line-height: 70rpx;
padding-left: 10rpx;
color: #787878;
}
.km {
font-size: 30rpx;
padding-top: 5px;
color: #787878;
margin-bottom: 10px;
}
.button{
display: inline;
color: #787878;
padding: 5px 10px 5px 10px;
border: 1px solid gray;
margin-right: 10px;
font-size: 24rpx;
border-radius: 5px;
margin-top: 10px;
}
.sure {
display: block;
font-size: 30rpx;
background-color: #c1c1c1;
color: #000;
border-radius: 5px;
padding: 10px;
width: 65px;
margin-left: 220px;
}
.box {
padding-bottom: 30px;
border-bottom: 1px dotted #787878;
}
.beizhu{
font-size: 40rpx;
font-weight: 700;
padding-bottom: 15px;
padding-top: 10px;
background: linear-gradient(to bottom, #fde16d, #fff);
}
.goods {
float: left;
font-size: 40rpx;
font-weight: 700;
}
.money {
font-size: 30rpx;
float: right;
margin-top: 5px;
}
.box2 {
padding-bottom: 50px;
border-bottom: 1px dotted #787878;
}
</style>