You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							68 lines
						
					
					
						
							1.3 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							68 lines
						
					
					
						
							1.3 KiB
						
					
					
				
								<template>
							 | 
						|
									<view class="content">
							 | 
						|
										<view class="left" @click="$url(cubeData[0].link)">
							 | 
						|
											<image class="left-img" :src="cubeData[0].image"></image>
							 | 
						|
										</view>
							 | 
						|
										<view class="right">
							 | 
						|
											<view class="right-img" @click="$url(cubeData[1].link)">
							 | 
						|
												<image :src="cubeData[1].image"></image>
							 | 
						|
											</view>
							 | 
						|
											<view class="right-img" @click="$url(cubeData[2].link)">
							 | 
						|
												<image :src="cubeData[2].image"></image>
							 | 
						|
											</view>
							 | 
						|
										</view>
							 | 
						|
									</view>
							 | 
						|
								</template>
							 | 
						|
								
							 | 
						|
								<script>
							 | 
						|
									export default {
							 | 
						|
										props: {
							 | 
						|
											cubeData: {
							 | 
						|
												type: Array,
							 | 
						|
												default: []
							 | 
						|
											}
							 | 
						|
										}
							 | 
						|
									}
							 | 
						|
								</script>
							 | 
						|
								
							 | 
						|
								<style lang="scss" scoped="scoped">
							 | 
						|
									.content{
							 | 
						|
										width: 750rpx;
							 | 
						|
										height: max-content;
							 | 
						|
										box-sizing: border-box;
							 | 
						|
										padding: 60rpx 32rpx 0rpx;
							 | 
						|
										display: flex;
							 | 
						|
										justify-content: space-between;
							 | 
						|
										.left{
							 | 
						|
											width: 436rpx;
							 | 
						|
											height: 436rpx;
							 | 
						|
											.left-img{
							 | 
						|
												width: 100%;
							 | 
						|
												height: 100%;
							 | 
						|
												background: #D8D8D8;
							 | 
						|
												border-radius: 20rpx 0rpx 0rpx 20rpx;
							 | 
						|
											}
							 | 
						|
										}
							 | 
						|
										.right{
							 | 
						|
											width: 228rpx;
							 | 
						|
											height: 436rpx;
							 | 
						|
											.right-img{
							 | 
						|
												width: 228rpx;
							 | 
						|
												height: 208rpx;
							 | 
						|
												background: #D8D8D8;
							 | 
						|
												overflow: hidden;
							 | 
						|
												&:nth-child(1n){
							 | 
						|
													border-radius: 0rpx 20rpx 0rpx 0rpx;
							 | 
						|
												}
							 | 
						|
												&:nth-child(2n){
							 | 
						|
													margin-top: 20rpx;
							 | 
						|
													border-radius: 0rpx 0rpx 20rpx 0rpx;
							 | 
						|
												}
							 | 
						|
												&>image{
							 | 
						|
													width: 100%;
							 | 
						|
													height: 100%;
							 | 
						|
												}
							 | 
						|
											}
							 | 
						|
										}
							 | 
						|
									}
							 | 
						|
								</style>
							 |