feat: 准备各个形状的 svg 图
This commit is contained in:
@@ -38,12 +38,8 @@ page {
|
||||
.shape-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 24rpx; // 卡片间距,可调整
|
||||
|
||||
shape-card {
|
||||
width: calc(50% - 12rpx); // 两个一行,减去一半的gap
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 24rpx;
|
||||
}
|
||||
column-gap: 50rpx;
|
||||
row-gap: 24rpx;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
@@ -25,8 +25,7 @@
|
||||
wx:for-index="index"
|
||||
wx:key="{{index}}"
|
||||
key="{{index}}"
|
||||
img="{{ item.img }}"
|
||||
name="{{ item.name }}"
|
||||
svg="{{ item.svg }}"
|
||||
color="{{ item.color }}"
|
||||
bind:onDelete="onDelete"
|
||||
bind:onColorTap="onColorTap" />
|
||||
|
||||
Reference in New Issue
Block a user