NurseStationApp/pages/Completed/Completed.vue

183 lines
3.0 KiB
Vue
Raw Normal View History

2022-10-28 15:37:07 +08:00
<template>
<view class="app">
<view class="Apayment">
<view class="names">店铺名称
<image class="picture" src="/static/pic.png" mode=""></image>
<span>交易成功</span>
</view>
<view class="details">
<view class="detailslist">
<image src="../../static/shangpindingdan.png" mode=""></image>
<view class="model">
<view class="top">
<span>酒精棉片 200</span>
<span>36.0</span>
</view>
<view class="bottom">
<span class="box">型号酒精棉片 8</span>
<span class="box">×1</span>
</view>
<view class="refund">
实付款
<text class="price">36.0</text>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="scss">
.app {
background-color: #F4F5F7;
width: 100%;
height: 100vh;
padding: 3%;
.chat {
margin-left: 35%;
.word {
margin-top: 3%;
margin-left: -25%;
font-size: 26rpx;
color: #010000;
line-height: 36rpx;
}
.words {
margin-left: -10%;
}
.blackground {
width: 183rpx;
height: 69rpx;
background: #030303;
opacity: 0.5;
margin-top: -15%;
color: #ffffff;
font-size: 36rpx;
text-align: center;
line-height: 69rpx;
}
image {
width: 182rpx;
height: 182rpx;
}
}
.payment {
width: 390px;
font-size: 42rpx;
color: #000000;
line-height: 120rpx;
text-align: center;
display: flex;
span {
margin-left: 30%;
}
.cencel {
margin-left: 20%;
image {
width: 31rpx;
height: 31rpx;
}
}
}
.Apayment {
width: 99%;
height: 382rpx;
background: #FFFFFF;
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border-radius: 20rpx;
line-height: 70rpx;
padding: 3%;
font-size: 30rpx;
color: #969394;
.details {
height: 250rpx;
.detailslist {
position: relative;
image {
position: absolute;
width: 182rpx;
height: 182rpx;
margin-left: 3%;
margin-top: 3%;
}
.model {
.top {
margin-top: 3%;
span {
margin-left: 32%;
font-size: 38rpx;
color: #000000;
}
span:nth-child(2) {
color: #969394;
margin-top: -11%;
float: right;
}
}
.bottom {
margin-left: 32%;
.box {
font-size: 32rpx;
color: #969394;
}
}
.refund {
.price {
font-size: 41rpx;
color: #000000;
}
color: #969394;
margin-top: 8%;
margin-left: 64%;
}
}
}
}
.names {
width: 95%;
margin-left: 3%;
border-bottom: 1rpx solid #D8D4D4;
.picture {
width: 15rpx;
height: 23rpx;
margin-left: 3%;
}
span {
margin-left: 55%;
color: #4C7BC9;
// line-height: 67px;
display: inline-block;
}
}
}
}
</style>