DIYPurchase.vue 2.01 KB
Newer Older
qipeng's avatar
qipeng committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
<template>
	<view class="purchaseBox">
		<view class="purchase-list">
			<image class="list-photo" src="../static/album/pillow.png"></image>
			<view class="list-name">定制明信片</view>
			<view class="list-text">双面可选</view>
			<view class="list-other">
				<view class="other-oldMoney">¥19.9</view>
				<view class="other-newUnit"></view>
				<view class="other-newMoney">0</view>
				<view class="other-lable">首单</view>
			</view>
		</view>
	</view>
</template>

<script>
export default {
  data() {
    return {
				
    }
  },
  onLoad(option) {
		  
  },
  methods: {
			
  }
}
</script>

<style scoped lang="scss">
	page {
		background-color: #F7F7F7;
	}
	.purchaseBox{
		display: flex;
		justify-content: space-between;
		padding: 24rpx;
	}
	.purchase-list{
		width: 344rpx;
		height: 522rpx;
		border-radius: 16rpx;
		background-color: #fff;
		box-shadow: 0rpx 4rpx 8rpx 2rpx rgba(0,0,0,0.08);
		overflow: hidden;
		.list-photo{
			display: block;
			width: 344rpx;
			height: 344rpx;
		}
		.list-name{
			padding: 0 0 0 24rpx;
			margin: 16rpx 0 4rpx 0;
			font-size: 32rpx;
			color: #333333;
			line-height: 44rpx;
		}
		.list-text{
			padding: 0 0 0 24rpx;
			margin: 0rpx 0 16rpx 0;
			font-size: 24rpx;
			color: #999999;
			line-height: 34rpx;
		}
		.list-other{
			display: flex;
			flex-wrap: wrap;
			padding: 0 24rpx 0 24rpx;
			height: 48rpx;
			overflow: hidden;
			.other-oldMoney{
				text-decoration: line-through;
				font-size: 20rpx;
				color: #999999;
				line-height: 60rpx;
				margin-right: 8rpx;
			}
			.other-newUnit{
				font-size: 20rpx;
				color: #EE520E;
				line-height: 60rpx;
				margin-right: 8rpx;
			}
			.other-newMoney{
				font-size: 40rpx;
				color: #EE520E;
				line-height: 48rpx;
				margin-right: 24rpx;
			}
			.other-lable{
				width: 48rpx;
				height: 32rpx;
				font-size: 20rpx;
				line-height: 32rpx;
				color: #EE520E;
				background: #FFF4EF;
				border-radius: 4rpx 4rpx 4rpx 4rpx;
				margin-top: 8rpx;
				text-align: center;
				margin-right: 24rpx;
			}
		}
	}
</style>