detail.vue 4.8 KB
<template>
	<view class="Detail">
		<view class="topbg">
			<image class="bgimage" src="../../static/logo.png" mode=""></image>
			<view class="topmain">
				<view class="toptitle">
					<view class="money">
						<text>¥</text>600
					</view>
					<view class="topgroup">
						<image src="../../static/heart.png" mode=""></image>
						<image src="../../static/share.png" mode=""></image>
						<image src="../../static/result.png" mode=""></image>
					</view>
				</view>
				<view class="topcommit">
					比特币32个
				</view>
				<view class="toptype">
					<view class="type">
						所属分类:数字货币
					</view>
					<view class="time">
						发布于:2022-01-01 16:00
					</view>
				</view>
			</view>
		</view>
		<view class="mainmiss">
			<view class="misstop">
				<view class="tip">

				</view>
				<text>卖家信息</text>
			</view>
			<view class="missbar flexA">
				<view class="name">
					姓名
				</view>
				<view class="namelast">
					张小萌
				</view>
			</view>
			<view class="missbar flexA">
				<view class="name">
					联系电话:
				</view>
				<view class="namelast">
					张小萌
				</view>
			</view>
			<view class="missbar flexA">
				<view class="name">
					钱包地址:
				</view>
				<view class="namelast">
					张小萌
				</view>
			</view>
			<view class="missbar flexA">
				<view class="name">
					钱包地址:
				</view>
				<view class="namelast">
					张小萌
				</view>
			</view>
		</view>
		<view class="contail">
			<view class="misstop">
				<view class="tip">

				</view>
				<text>卖家信息</text>
			</view>
			<rich-text :nodes="String"></rich-text>
		</view>
		<view class="btn">
			<view class="paybtn">
				立即购买
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				String: "",
			}
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #f0f0f0;
	}

	.Detail {
		.topbg {
			.bgimage {
				width: 750rpx;
				height: 750rpx;
			}

			.topmain {
				padding: 32rpx;
				background-color: #ffffff;

				.toptitle {
					display: flex;
					align-items: center;
					justify-content: space-between;

					.money {
						font-size: 52rpx;
						font-weight: 500;
						font-family: "PingFang SC";
						color: rgba(248, 83, 23, 1);

						text {
							color: rgba(248, 83, 23, 1);
							font-size: 32rpx;
							font-weight: 500;
							font-family: "PingFang SC";
						}
					}

					.topgroup {
						display: flex;
						align-items: center;

						image {
							margin-right: 32rpx;
							width: 40rpx;
							height: 40rpx;
						}
					}
				}

				.topcommit {
					margin-top: 16rpx;
					color: rgba(0, 0, 0, 1);
					font-size: 36rpx;
					font-weight: 600;
					font-family: "PingFang SC";
					text-align: left;
				}

				.toptype {
					margin-top: 24rpx;
					display: flex;
					align-items: center;
					color: rgba(0, 0, 0, 0.4);
					font-size: 26rpx;
					font-weight: 400;
					font-family: "PingFang SC";
					justify-content: space-between;
				}
			}
		}

		.mainmiss {
			margin-top: 24rpx;
			background-color: #ffffff;
			border-radius: 24rpx;
			padding: 32rpx;
			box-sizing: border-box;

			.misstop {
				display: flex;
				align-items: center;
				color: rgba(0, 0, 0, 0.9);
				font-size: 32rpx;
				font-weight: 600;
				font-family: "PingFang SC";

				.tip {
					margin-right: 8rpx;
					width: 4rpx;
					height: 24rpx;
					border-radius: 18rpx;
					opacity: 1;
					background: rgba(254, 208, 0, 1);
				}
			}

			.missbar {
				margin-top: 24rpx;

				.name {
					color: rgba(0, 0, 0, 0.6);
					font-size: 28rpx;
					font-weight: 400;
					font-family: "PingFang SC";
					width: 168rpx;
				}

				.namelast {
					color: rgba(0, 0, 0, 1);
					font-size: 28rpx;
					font-weight: 400;
					font-family: "PingFang SC";
				}
			}
		}

		.contail {
			margin-top: 24rpx;
			background-color: #ffffff;
			border-radius: 24rpx;
			padding: 32rpx;
			box-sizing: border-box;

			.misstop {
				display: flex;
				align-items: center;
				color: rgba(0, 0, 0, 0.9);
				font-size: 32rpx;
				font-weight: 600;
				font-family: "PingFang SC";

				.tip {
					margin-right: 8rpx;
					width: 4rpx;
					height: 24rpx;
					border-radius: 18rpx;
					opacity: 1;
					background: rgba(254, 208, 0, 1);
				}
			}

		}

		.btn {
			position: fixed;
			bottom: 0;
			left: 0;
			width: 100%;
			height: 128rpx;
			padding: 16rpx 32rpx;
			box-sizing: border-box;
			opacity: 1;
			background: rgba(255, 255, 255, 1);

			.paybtn {
				width: 100%;
				height: 96rpx;
				line-height: 96rpx;
				text-align: center;
				border-radius: 28rpx;
				opacity: 1;
				color: rgba(0, 0, 0, 0.9);
				font-size: 32rpx;
				font-weight: 600;
				font-family: "PingFang SC";
				background: linear-gradient(134.8deg, rgba(255, 232, 100, 1) 0%, rgba(255, 216, 0, 1) 100%);
			}
		}
	}
</style>