
<template>
	<view class="content">
		<image class="logo" src="/static/bed3.png"></image>
		<view class="detail-title">
			<text style="margin-left: 5%;
			margin-right: 3%;">甜蜜瑞士系列床垫 卧室独立袋弹簧 护脊静音软硬适中双面使用床垫</text>
		    <text class="price-style">￥11999</text> 
		</view>
		
		<view class="share-box">
			<view>分销商分享给好友，好友购买产品成功后即可获</view>
			<view>得分享奖励</view>
			<view>单笔最高可赚￥200.00</view>
			<view>快去分享吧</view>
			<button type="default">分享</button>
		</view>
		
		<view class="share-box" style="height: 200upx;margin-top: 2%;">
			<view>长按复制框内整段文字，打开 [手淘] 即可购买</view>
			<view>￥kSfsDfrtrEjt￥</view>
			<button type="default">一键复制</button>
		</view>
		
		<view class="product-title">产品详情</view>
	   
		<image class="logo-footer" src="/static/detail-bg2.png"></image>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {
			goDetail(){
				uni.navigateTo({
					url: '/pages/index/detailPage/index',
					success: res => {},
					fail: () => {},
					complete: () => {}
				});
			}
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200px;
		width: 100%;
	}
    .logo-footer {
		height: 500px;
		width: 100%;
	}
	.detail-title {
		padding: 10px;
		margin-bottom: 2%;
		width: 100%;
		height: 150rpx;
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
		background: #fff;
		font-size: 30rpx;
	}
	
	.price-style {
		margin-right: 75%;
        color: red; 
	}
	.share-box {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 80%;
		height: 300upx;
		border: 1px dashed red;
		background: #fff;
		font-size: 28rpx;
		padding: 5px;
	}
	.share-box button {
		width: 300rpx;
		height: 70rpx;
		line-height: 70rpx;
		margin-top: 2%;
		background-color: #27BCEF;
		color: #fff;
	}

	.title {
		font-size: 36upx;
		color: #8f8f94;
	}
	.product-title {
		margin-top: 2%;
		margin-bottom: 2%;
		font-size: 32rpx;
	}
</style>
