172 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			172 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <template>
 | ||
| 	<view class="page">
 | ||
| 		<u-navbar title="商品下单" :border-bottom="false" :background="bgc" back-icon-color="#262B37" title-color='#262B37'
 | ||
| 			title-size='36' height='40' id="navbar">
 | ||
| 		</u-navbar>
 | ||
|         <image src="https://api.ccttiot.com/smartmeter/img/static/u3lZnmhqSqkMd7gHKtMD" mode="" class="imgbj"></image>
 | ||
|          <view class="shopxx">
 | ||
|          	<view class="top">
 | ||
|          		【福鼎-西湖店】
 | ||
|          	</view>
 | ||
| 			<view class="bd">
 | ||
| 				<image src="https://api.ccttiot.com/smartmeter/img/static/uTULMJ4sf8bCUCI5CaF8" mode=""></image>
 | ||
| 				<view class="xinxi">
 | ||
| 					<view class="name">
 | ||
| 						大红袍
 | ||
| 					</view>
 | ||
| 					<view class="shuliang">
 | ||
| 						数量:1
 | ||
| 					</view>
 | ||
| 					<view class="name">
 | ||
| 						¥50.00
 | ||
| 					</view>
 | ||
| 				</view>
 | ||
| 			</view>
 | ||
| 		</view>
 | ||
| 		<view class="dingdan">
 | ||
| 			<view class="one">
 | ||
| 				<text>订单编号:</text> <text class="ones">1526485146984894</text>
 | ||
| 			</view>
 | ||
| 			<view class="one">
 | ||
| 				<text>创建时间:</text> <text class="ones">2024-12-12 13:45:09</text>
 | ||
| 			</view>
 | ||
| 			<view class="one">
 | ||
| 				<text>商品总额:</text> <text class="ones">¥50.00</text>
 | ||
| 			</view>
 | ||
| 			<view class="one">
 | ||
| 				<text>支付方式:</text> <text class="ones">微信支付</text>
 | ||
| 			</view>
 | ||
| 		</view>
 | ||
| 		<view class="anniu" @click="btnxd">
 | ||
| 			<text>去支付</text>
 | ||
| 		</view>
 | ||
| 
 | ||
| 	</view>
 | ||
| </template>
 | ||
| 
 | ||
| <script>
 | ||
| 	export default {
 | ||
| 		data() {
 | ||
| 			return {
 | ||
|                 bgc: {
 | ||
|                 	backgroundColor: "",
 | ||
|                 },
 | ||
| 			}
 | ||
| 		},
 | ||
| 		onLoad() {
 | ||
| 
 | ||
| 		},
 | ||
| 		methods: {
 | ||
| 			 // 点击下单
 | ||
| 			 btnxd(){
 | ||
| 				 uni.navigateTo({
 | ||
| 				 	url:'/page_user/chuhuo'
 | ||
| 				 })
 | ||
| 			 }
 | ||
| 		}
 | ||
| 	}
 | ||
| </script>
 | ||
| 
 | ||
| <style lang="scss">
 | ||
| 	page {
 | ||
| 		background: #fff;
 | ||
| 	}
 | ||
| 	.dingdan{
 | ||
| 		width: 690rpx;
 | ||
| 		height: 296rpx;
 | ||
| 		background: #FFFFFF;
 | ||
| 		box-shadow: 0rpx 2rpx 12rpx 0rpx rgba(0,0,0,0.15);
 | ||
| 		border-radius: 16rpx 16rpx 16rpx 16rpx;
 | ||
| 		margin: auto;
 | ||
| 		margin-top: 22rpx;
 | ||
| 		padding:0 36rpx;
 | ||
| 		padding-top: 12rpx;
 | ||
| 		box-sizing: border-box;
 | ||
| 		.one{
 | ||
| 			display: flex;
 | ||
| 			justify-content: space-between;
 | ||
| 			align-items: center;
 | ||
| 			margin-top: 24rpx;
 | ||
| 			.ones{
 | ||
| 				color: #3D3D3D;
 | ||
| 			}
 | ||
| 			text{
 | ||
| 				font-size: 28rpx;
 | ||
| 				color: #808080;
 | ||
| 			}
 | ||
| 		}
 | ||
| 	}
 | ||
| 	.shopxx{
 | ||
| 		margin: auto;
 | ||
| 		margin-top: 32rpx;
 | ||
| 		width: 690rpx;
 | ||
| 		height: 316rpx;
 | ||
| 		background: #FFFFFF;
 | ||
| 		box-shadow: 0rpx 2rpx 12rpx 0rpx rgba(0,0,0,0.15);
 | ||
| 		border-radius: 16rpx 16rpx 16rpx 16rpx;
 | ||
| 		padding: 24rpx 36rpx;
 | ||
| 		box-sizing: border-box;
 | ||
| 		.top{
 | ||
| 			font-weight: 600;
 | ||
| 			font-size: 32rpx;
 | ||
| 			color: #3D3D3D;
 | ||
| 		}
 | ||
| 		.bd{
 | ||
| 			display: flex;
 | ||
| 			margin-top: 20rpx;
 | ||
| 			.xinxi{
 | ||
| 				.name{
 | ||
| 					font-weight: 600;
 | ||
| 					font-size: 32rpx;
 | ||
| 					color: #3D3D3D;
 | ||
| 					margin-top: 8rpx;
 | ||
| 				}
 | ||
| 				.shuliang{
 | ||
| 					font-size: 28rpx;
 | ||
| 					color: #7C7C7C;
 | ||
| 					margin-top: 24rpx;
 | ||
| 					margin-bottom: 22rpx;
 | ||
| 				}
 | ||
| 			}
 | ||
| 			image{
 | ||
| 				width: 204rpx;
 | ||
| 				height: 204rpx;
 | ||
| 				margin-right: 40rpx;
 | ||
| 				border-radius: 10rpx;
 | ||
| 			}
 | ||
| 		}
 | ||
| 	}
 | ||
| 	.anniu{
 | ||
| 		width: 750rpx;
 | ||
| 		height: 152rpx;
 | ||
| 		background: #FFFFFF;
 | ||
| 		box-shadow: 0rpx 8rpx 20rpx 0rpx rgba(0,0,0,0.3);
 | ||
| 		border-radius: 0rpx 0rpx 0rpx 0rpx;
 | ||
| 		position: fixed;
 | ||
| 		left: 0;
 | ||
| 		bottom: 0;
 | ||
| 		text{
 | ||
| 			margin: auto;
 | ||
| 			margin-top: 24rpx;
 | ||
| 			width: 680rpx;
 | ||
| 			height: 104rpx;
 | ||
| 			background: #48893B;
 | ||
| 			display: block;
 | ||
| 			font-weight: 600;
 | ||
| 			font-size: 36rpx;
 | ||
| 			color: #FFFFFF;
 | ||
| 			text-align: center;
 | ||
| 			line-height: 104rpx;
 | ||
| 			border-radius: 50rpx;
 | ||
| 		}
 | ||
| 	}
 | ||
| 	.imgbj {
 | ||
| 		width: 750rpx;
 | ||
| 		height: 424rpx;
 | ||
| 		position: fixed;
 | ||
| 		top: 0;
 | ||
| 		left: 0;
 | ||
| 		z-index: -1;
 | ||
| 	}
 | ||
| 
 | ||
| </style> |