send-order-detail.vue 6.9 KB
<template>
	<view class="content">
		<!-- <view class="topBj"> -->
		<view class="topTitle">
			<image src="../../static/ic_21_1@2x.png" mode="" class="pageIcon"></image>
			订单详情
		</view>
		<!-- </view> -->
		<view class="orderBox">
			<view class="addressBox">
				<view class="status">
					待支付
				</view>
				<view class="address">
					<view class="addressLeft">
						<image src="../../static/ic_38@2x.png" mode="" class="adsressIcon"></image>
						<view class="" style="margin-left: 32rpx;flex: 1;">
							<view class="" style="display: flex;align-items: center;">
								<view class="name">
									张筱雨
								</view>
								<view class="phone" style="margin-left: 20rpx;">
									12345678945
								</view>
							</view>
							<view class="detaiAdd">
								广东省广州市大华区明理路科 技园808号
							</view>
						</view>

					</view>
					<view class="addressRight">
						<view class="changTExt">
							修改
						</view>
					</view>
				</view>
			</view>
		</view>
		<!-- 订单详情 -->
		<view class="goodDetail">
			<view class="goodDeatilIner">
				<image src="../../static/ic_28@2x.png" mode="" class="godImg"></image>
				<view class="" style="margin-left: 16rpx;flex: 1;">
					<view class="goodName">
						科麦斯无油静音空吗压力小型气550W-8L便捷吹尘木工打钉枪气泵空气压缩机
					</view>
					<view class="goodDesc">
						55W-8L经典款标配:整机
					</view>
					<view class="price">
						<text style="font-size: 24rpx;">¥</text>
						50.00
					</view>
				</view>
			</view>
			<view class="detailItem">
				<view class="leftTitle">
					备注
				</view>
				<view class="rightContent">
					建议留言前先与商家沟通
				</view>
			</view>
			<view class="detailItem">
				<view class="leftTitle">
					商品总价:
				</view>
				<view class="rightContent">
					¥50.00
				</view>
			</view>
			<view class="detailItem">
				<view class="leftTitle">
					运费:
				</view>
				<view class="rightContent">
					0.00
				</view>
			</view>
			<view class="detailItem">
				<view class="leftTitle">
					优惠金额
				</view>
				<view class="rightContent" style="color: #f6902b;">
					<text style="font-size: 20rpx;">¥</text>
					5.00
				</view>
			</view>
			<view class="detailItem">
				<view class="leftTitle">
					需付款
				</view>
				<view class="rightContent" style="color:#ff2f2f;">
					<text style="font-size: 24rpx;">¥</text>
					45.00
				</view>
			</view>
		</view>
		<!-- 支付详情 -->
		<view class="payBox">
			<view class="payItem" style="border-bottom: 2rpx solid ebedf0;">
				配送方式
				<view class="payRight">
					快递
				</view>
			</view>
			<view class="payItem">
				支付方式
				<view class="payRight">
					微信支付
				</view>
			</view>
		</view>
		<!-- 订单详情 -->
		<view class="orderTime">
			<view class="payItem" style="border-bottom: 2rpx solid ebedf0;">
				订单编号
				<view class="copyText">
					复制
				</view>
				<view class="payRight">
					213447878
				</view>
			</view>
			<view class="payItem">
				创建时间
				<view class="payRight">
					2021-04-01 13:00:00
				</view>
			</view>
			<view class="payItem">
				付款时间(非待支付状态)
				<view class="payRight">
					2021-04-01 13:00:00
				</view>
			</view>
		</view>
		<!-- 底部按钮 -->
		<view class="bottomBox">
			<view class="linkBtn">
				<image src="../../static/ic_34@2x.png" mode="" style="width: 28rpx;height: 28rpx;margin-right: 6rpx;"></image>
				联系客户
			</view>
			<view class="concelBtn">
				取消订单
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		}
	}
</script>

<style>
	.content {
		min-height: 100vh;
		background-color: #F7F8FA;
	}

	.topBj {
		width: 100%;
		height: 500rpx;
		position: fixed;
		top: 0;
		left: 0;
		background-color: #FF2F2F;
	}

	.pageIcon {
		width: 30rpx;
		height: 38rpx;
		position: fixed;
		left: 32rpx;
		top: 120rpx;

	}

	.topTitle {
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		height: 176rpx;
		color: #ffffff;
		font-size: 34rpx;
		text-align: center;
		padding-top: 110rpx;
		box-sizing: border-box;
		background-color: #FF2F2F;
	}

	.addressBox {
		background-color: #FF2F2F;
		width: 100%;
		padding: 32rpx;
		box-sizing: border-box;
	}

	.orderBox {
		box-sizing: border-box;
		padding-top: 176rpx !important;
	}

	.status {
		color: #ffffff;
		font-size: 36rpx;
		padding: 32rpx 0;
		box-sizing: border-box;
	}

	.address {
		width: 100%;
		padding: 32rpx;
		box-sizing: border-box;
		background: #ffffff;
		border-radius: 16rpx;
	}

	.address {
		display: flex;
		justify-content: space-between;
	}

	.addressLeft {
		display: flex;
	}

	.adsressIcon {
		width: 80rpx;
		height: 80rpx;
	}

	.name {
		color: #323233;
		font-size: 32rpx;
	}

	.addressRight {
		width: 198rpx;
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	.changTExt {
		border: 2rpx solid #c8c9cc;
		border-radius: 48rpx;
		color: #969799;
		font-size: 26rpx;
		width: 100rpx;
		text-align: center;
	}

	.detaiAdd,
	.phone {
		color: #646566;
		font-size: 26rpx;
	}

	.goodDetail {
		padding: 32rpx;
		background-color: #fff;
		margin-top: 32rpx;
	}

	.goodDeatilIner {
		display: flex;
		margin-bottom: 32rpx;
	}

	.godImg {
		width: 136rpx;
		height: 162rpx;
		border-radius: 8rpx;
	}

	.goodName {
		color: #323233;
		font-size: 26rpx;
	}

	.goodDesc {
		color: #c8c9cc;
		font-size: 24rpx;
		margin-top: 8rpx;
	}

	.price {
		color: #f85317;
		font-size: 36rpx;
		margin-top: 8rpx;
	}

	.detailItem {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16rpx 0;
		box-sizing: border-box;
		width: 100%;
	}

	.leftTitle {
		width: 140rpx;
		color: #323233;
		font-size: 26rpx;
	}

	.rightContent {
		flex: 1;
		color: #c8c9cc;
		font-size: 26rpx;
		text-align: right;
	}

	.payBox,
	.orderTime {
		background-color: #fff;
		margin-top: 32rpx;
		padding: 0 32rpx;
		box-sizing: border-box;
	}

	.payItem {
		padding: 32rpx 0;
		color: #323233;
		font-size: 28rpx;
		display: flex;
		align-items: center;
		position: relative;
	}

	.payRight {
		color: #646566;
		font-size: 26rpx;
		margin-left: 64rpx;
	}

	.copyText {
		position: absolute;
		right: 32rpx;
		top: 32rpx;
		color: #ff2f2f;
		font-size: 26rpx;
	}

	.bottomBox {
		width: 100%;
		height: 116rpx;
		position: fixed;
		bottom: 0;
		left: 0;
		background-color: #fff;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	.linkBtn {
		width: 188rpx;
		height: 60rpx;
		line-height: 60rpx;
		color: #323233;
		font-size: 26rpx;
		text-align: center;
		margin-right: 32rpx;
		border-radius: 8rpx;
		border: 2rpx solid #c8c9cc;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.concelBtn {
		width: 158rpx;
		height: 60rpx;
		line-height: 60rpx;
		text-align: center;
		border: 2rpx solid #ff2f2f;
		border-radius: 8rpx;
		margin-right: 32rpx;
		color: #ff2f2f;
		font-size: 26rpx;
	}
</style>