feat:形状
This commit is contained in:
@@ -0,0 +1,101 @@
|
||||
.shape-picker-popup {
|
||||
border-radius: 20rpx;
|
||||
|
||||
.shape-picker-container {
|
||||
width: 642rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 20rpx;
|
||||
box-shadow: 0 3rpx 4rpx rgba(0, 0, 0, 0.15);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 36rpx 36rpx;
|
||||
box-sizing: border-box;
|
||||
align-items: center;
|
||||
|
||||
.shape-picker-title {
|
||||
font-size: 32rpx;
|
||||
color: #141414;
|
||||
font-weight: bold;
|
||||
margin-bottom: 30rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.shape-options-wrapper {
|
||||
padding: 28rpx 0;
|
||||
width: 100%;
|
||||
height: 500rpx;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.shape-options {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 186rpx);
|
||||
gap: 12rpx;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
|
||||
.shape-option {
|
||||
width: 140rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
transition: all 0.2s ease;
|
||||
padding: 10rpx;
|
||||
border-radius: 10rpx;
|
||||
border: 1rpx solid transparent;
|
||||
|
||||
.shape-svg-container {
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1rpx solid #141414;
|
||||
border-radius: 8rpx;
|
||||
background-color: #fafafa;
|
||||
margin-bottom: 8rpx;
|
||||
position: relative;
|
||||
|
||||
.shape-svg {
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.shape-name {
|
||||
font-size: 24rpx;
|
||||
color: #141414;
|
||||
text-align: center;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
// transform: scale(1.1);
|
||||
// border: 1px solid rgb(147, 211, 51);
|
||||
// background-color: rgba(64, 150, 255, 0.05);
|
||||
|
||||
.shape-svg-container {
|
||||
border: 1px solid #93d333;
|
||||
// border: 1px solid #4096ff;
|
||||
// background-color: #fff;
|
||||
// box-shadow: 0 0 6rpx 2rpx rgba(147, 211, 51, 0.2);
|
||||
}
|
||||
|
||||
.shape-name {
|
||||
color: rgb(147, 211, 51);
|
||||
// font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn-area {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 10rpx 24rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user