NurseStationApp/pages/CommodityOrder/CommodityOrder.vue

323 lines
6.2 KiB
Vue
Raw Normal View History

2022-10-28 15:37:07 +08:00
<template>
<view class="app">
<view class="inputs">
<i class="icon"></i>
<input v-model="iptVal" type="text" name="" id="" class="input" placeholder="请输入机构名">
</view>
<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 @tap="goorderdetails" src="../../static/shangpindingdan.png" mode=""></image>
<view class="model" >
<view class="top" @tap="goorderdetails">
<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 class="anniu">
<view class="logistics">查看物流</view>
<view class="logistics harvest" @tap='show=true'>确认收货</view>
</view>
</view>
</view>
</view>
</view>
<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 class="anniu">
<view class="logistics">查看物流</view>
<view class="logistics harvest" @tap='show=true'>确认收货</view>
</view>
</view>
</view>
</view>
</view>
<!-- 弹框 -->
<view class="frame">
<u-popup v-model="show" mode="bottom" length="45%" border-radius="30">
<view class="payment">
<span>确认收到货了吗</span>
<view class="cencel" @tap="show = false">
<image src="../../static/gb.png" mode=""></image>
</view>
</view>
<view class="chat">
<image src="/static/shangpindingdan.png" mode=""></image>
<view class="blackground">共1件</view>
<view class="word">为了保证你的售后权益请收到商品确认</view>
<view class="word words">无误后再确认收货</view>
</view>
<view class="submits">确定
</view>
</u-popup>
</view>
</view>
</template>
<script>
export default {
data() {
return {
show: false
}
},
methods: {
goorderdetails() {
uni.navigateTo({
url: '/pages/orderDetails/orderDetails'
})
},
}
}
</script>
<style lang="scss">
.app {
background-color: #F4F5F7;
width: 100%;
height: 100vh;
padding: 3%;
.submits {
width: 501rpx;
height: 71rpx;
background: #4C7BC9;
border-radius: 26rpx;
text-align: center;
line-height: 71rpx;
color: #ffffff;
font-size: 34rpx;
margin-top: 5%;
margin-left: 15%;
}
// 弹框确认收货
.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: 494rpx;
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;
margin-top: 3%;
.details {
height: 250rpx;
.detailslist {
position: relative;
image {
position: absolute;
width: 182rpx;
height: 182rpx;
margin-left: 3%;
margin-top: 3%;
}
.model {
// position: absolute;
.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;
}
}
.anniu {
display: flex;
margin-left: 35%;
margin-top: 3%;
.logistics {
margin-left: 3%;
width: 216rpx;
height: 68rpx;
text-align: center;
color: #ffffff;
background: #E1AE3C;
border-radius: 26rpx;
}
.harvest {
background: #4C7BC9;
}
}
.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;
}
}
}
.inputs {
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border: 1px solid #f0f0f0;
width: 99%;
height: 65rpx;
margin: 10rpx 0 10rpx 50%;
transform: translateX(-50%);
border-radius: 20rpx;
background-color: #Ffffff;
z-index: 999;
.input {
margin: 0 auto;
position: absolute;
height: 50rpx;
top: 5%;
left: 12%;
font-size: 26rpx;
color: #BEBEC0;
}
.icon {
background: url(@/static/sousuo.png) no-repeat;
width: 30rpx;
height: 28rpx;
background-size: cover;
position: absolute;
top: 25%;
left: 5%;
}
}
}
</style>